Skip to content

Commit 7853899

Browse files
Add ops_manager_version var to prerelease_kind_code_snippets (#457)
# Summary <!-- Enter your issue summary here.--> ## Proof of Work <!-- Enter your proof that it works here.--> ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details --------- Co-authored-by: Łukasz Sierant <lukasz.sierant@mongodb.com>
1 parent 3510ed2 commit 7853899

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
export K8S_CTX="${CLUSTER_NAME}"
22

3-
export PRERELEASE_VERSION="1.4.0-prerelease-68b5c0bb136a0d0007a4c8a2"
4-
5-
export PRERELEASE_IMAGE_PULLSECRET="${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON}"
6-
export OPERATOR_ADDITIONAL_HELM_VALUES="registry.imagePullSecrets=prerelease-image-pullsecret"
7-
export OPERATOR_HELM_CHART="oci://quay.io/mongodb/staging/helm-chart/mongodb-kubernetes:${PRERELEASE_VERSION}"
3+
export PRERELEASE_IMAGE_PULLSECRET=""
4+
export OPERATOR_ADDITIONAL_HELM_VALUES=""
5+
export OPERATOR_HELM_CHART=${PROJECT_DIR}/helm_chart

docs/search/02-search-enterprise-deploy/env_variables_e2e_prerelease.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
export K8S_CTX="${CLUSTER_NAME}"
22

3-
export PRERELEASE_VERSION="1.4.0-prerelease-68b9584ac0a75a00070384a0"
4-
5-
export PRERELEASE_IMAGE_PULLSECRET="${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON}"
6-
export OPERATOR_ADDITIONAL_HELM_VALUES="registry.imagePullSecrets=prerelease-image-pullsecret"
7-
export OPERATOR_HELM_CHART="oci://quay.io/mongodb/staging/helm-chart/mongodb-kubernetes:${PRERELEASE_VERSION}"
3+
export PRERELEASE_IMAGE_PULLSECRET=""
4+
export OPERATOR_ADDITIONAL_HELM_VALUES=""
5+
export OPERATOR_HELM_CHART=${PROJECT_DIR}/helm_chart
86

97
# we need project name with a timestamp (NAMESPACE in evg is randomized) to allow for cloud-qa cleanups
108
export OPS_MANAGER_PROJECT_NAME="${NAMESPACE}-${MDB_RESOURCE_NAME}"
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export K8S_CTX="${CLUSTER_NAME}"
22

3-
export OPERATOR_ADDITIONAL_HELM_VALUES=""
4-
export OPERATOR_HELM_CHART="${PROJECT_DIR}/helm_chart"
3+
export OPERATOR_HELM_CHART=${PROJECT_DIR}/helm_chart
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# this context file is for code snippets running on GKE clusters
3+
# this context file is for code snippets running on kind clusters
44
set -Eeou pipefail
55

66
# overrides of public env_variables.sh
@@ -9,8 +9,8 @@ script_dir=$(dirname "${script_name}")
99

1010
source "${script_dir}/root-context"
1111

12-
export NAMESPACE=mongodb
1312
export CODE_SNIPPETS_FLAVOR=e2e_prerelease
1413
export CODE_SNIPPETS_COMMIT_OUTPUT=true
14+
export ops_manager_version="cloud_qa"
1515

1616
export PRERELEASE_IMAGE_PULLSECRET="${PRERELEASE_PULLSECRET_DOCKERCONFIGJSON}"

0 commit comments

Comments
 (0)