Skip to content

Commit d705fcc

Browse files
committed
setup cloudqa for enterprise snippets
1 parent ad5ce6a commit d705fcc

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

.evergreen.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,12 @@ variables:
104104
- func: download_kube_tools
105105
- func: configure_docker_auth
106106
- func: setup_kubernetes_environment
107+
- func: setup_cloud_qa
107108
teardown_task:
108109
- func: upload_e2e_logs
109110
- func: upload_code_snippets_logs
111+
- func: teardown_kubernetes_environment
112+
- func: teardown_cloud_qa
110113

111114
- &setup_and_teardown_task_cloudqa
112115
setup_task_can_fail_task: true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
if [[ "${ops_manager_version}" == "cloud_qa" && -n "${PROJECT_DIR}" ]]; then
2+
pushd "${PROJECT_DIR}"
3+
scripts/dev/configure_operator.sh
4+
popd
5+
fi

docs/search/enterprise/quick-start/env_variables_e2e_private.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ OPERATOR_ADDITIONAL_HELM_VALUES="$(get_operator_helm_values | tr ' ' ',')"
66
export OPERATOR_ADDITIONAL_HELM_VALUES
77
export OPERATOR_HELM_CHART="${PROJECT_DIR}/helm_chart"
88

9+
export MDB_NAMESPACE="${NAMESPACE}"
910
export MDB_OPS_MANAGER_CONFIG_MAP_NAME="my-project"
1011
export MDB_OPS_MANAGER_CREDENTIALS_SECRET_NAME="my-credentials"

docs/search/enterprise/quick-start/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ prepare_snippets
1313

1414
run 0045_create_namespaces.sh
1515
run 0046_create_image_pull_secrets.sh
16+
run 0050_configure_ops_manager_project.sh
1617

1718
run_for_output 090_helm_add_mogodb_repo.sh
1819
run_for_output 0100_install_operator.sh

scripts/dev/contexts/private_kind_code_snippets

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ script_dir=$(dirname "${script_name}")
1010
source "${script_dir}/root-context"
1111
source "${script_dir}/e2e_mdb_community"
1212

13-
export NAMESPACE=mongodb
13+
export NAMESPACE=mongodb-test
1414
export CODE_SNIPPETS_FLAVOR=e2e_private
15+
16+
export ops_manager_version="cloud_qa"

0 commit comments

Comments
 (0)