@@ -45,6 +45,15 @@ variables:
4545 # secrets
4646 HADRON_METRICS_INTERCOM_APP_ID : ${metrics_intercom_app_id}
4747 HADRON_METRICS_SEGMENT_API_KEY : ${metrics_segment_api_key}
48+ GITHUB_TOKEN : ${devtoolsbot_github_token}
49+ DOWNLOAD_CENTER_AWS_ACCESS_KEY_ID : ${aws_key_evergreen_integrations}
50+ DOWNLOAD_CENTER_AWS_SECRET_ACCESS_KEY : ${aws_secret_evergreen_integrations}
51+ EVERGREEN_BUCKET_NAME : mciuploads
52+ EVERGREEN_BUCKET_KEY_PREFIX : ${project}/${revision}_${revision_order_id}
53+ MONGODB_RUNNER_LOG_DIR : ${workdir}/src/.testserver/
54+ DOCKERHUB_USERNAME : ${dockerhub_username}
55+ DOCKERHUB_PASSWORD : ${dockerhub_password}
56+ - &compass-e2e-secrets
4857 E2E_TESTS_METRICS_URI : ${e2e_tests_metrics_string}
4958 E2E_TESTS_ATLAS_HOST : ${e2e_tests_atlas_host}
5059 E2E_TESTS_DATA_LAKE_HOST : ${e2e_tests_data_lake_host}
@@ -53,7 +62,7 @@ variables:
5362 E2E_TESTS_FREE_TIER_HOST : ${e2e_tests_free_tier_host}
5463 E2E_TESTS_ATLAS_USERNAME : ${e2e_tests_atlas_username}
5564 E2E_TESTS_ATLAS_PASSWORD : ${e2e_tests_atlas_password}
56- E2E_TESTS_ATLAS_X509_PEM : ${e2e_tests_atlas_x509_pem }
65+ E2E_TESTS_ATLAS_X509_PEM_BASE64 : ${e2e_tests_atlas_x509_pem_base64 }
5766 E2E_TESTS_ATLAS_IAM_ACCESS_KEY_ID : ${e2e_tests_atlas_iam_aws_access_key_id}
5867 E2E_TESTS_ATLAS_IAM_SECRET_ACCESS_KEY : ${e2e_tests_atlas_iam_aws_secret_access_key}
5968 E2E_TESTS_ATLAS_IAM_TEMP_ROLE_ARN : ${e2e_tests_atlas_iam_temp_role_arn}
@@ -62,24 +71,8 @@ variables:
6271 E2E_TESTS_ATLAS_READANYDATABASE_STRING : ${e2e_tests_atlas_readanydatabase_string}
6372 E2E_TESTS_ATLAS_CUSTOMROLE_STRING : ${e2e_tests_atlas_customrole_string}
6473 E2E_TESTS_ATLAS_SPECIFICPERMISSION_STRING : ${e2e_tests_atlas_specificpermission_string}
65- MACOS_NOTARY_KEY : ${macos_notary_key}
66- MACOS_NOTARY_SECRET : ${macos_notary_secret}
67- MACOS_NOTARY_CLIENT_URL : ' https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_amd64.zip'
68- MACOS_NOTARY_API_URL : ' https://dev.macos-notary.build.10gen.cc/api'
69- GITHUB_TOKEN : ${devtoolsbot_github_token}
70- DOWNLOAD_CENTER_AWS_ACCESS_KEY_ID : ${aws_key_evergreen_integrations}
71- DOWNLOAD_CENTER_AWS_SECRET_ACCESS_KEY : ${aws_secret_evergreen_integrations}
72- EVERGREEN_BUCKET_NAME : mciuploads
73- EVERGREEN_BUCKET_KEY_PREFIX : ${project}/${revision}_${revision_order_id}
74- MONGODB_RUNNER_LOG_DIR : ${workdir}/src/.testserver/
7574 E2E_TESTS_ATLAS_CS_WITHOUT_SEARCH : ${e2e_tests_atlas_cs_without_search}
7675 E2E_TESTS_ATLAS_CS_WITH_SEARCH : ${e2e_tests_atlas_cs_with_search}
77- GARASIGN_USERNAME : ${garasign_username}
78- GARASIGN_PASSWORD : ${garasign_password}
79- ARTIFACTORY_USERNAME : ${artifactory_username}
80- ARTIFACTORY_PASSWORD : ${artifactory_password}
81- DOCKERHUB_USERNAME : ${dockerhub_username}
82- DOCKERHUB_PASSWORD : ${dockerhub_password}
8376
8477# This is here with the variables because anchors aren't supported across includes
8578post :
@@ -450,7 +443,7 @@ functions:
450443 script : |
451444 set -e
452445
453- .evergreen/create-sbom.sh
446+ bash ".evergreen/retry-with-backoff.sh" .evergreen/create-sbom.sh
454447 - command : shell.exec
455448 params :
456449 working_dir : src
@@ -459,12 +452,25 @@ functions:
459452 << : *compass-env
460453 DEBUG : ${debug}
461454 npm_config_loglevel : ${npm_loglevel}
462- HADRON_DISTRIBUTION : ${compass_distribution}
455+
456+ # macOS signing secrets
457+ MACOS_NOTARY_KEY : ${macos_notary_key}
458+ MACOS_NOTARY_SECRET : ${macos_notary_secret}
459+ MACOS_NOTARY_CLIENT_URL : ' https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_amd64.zip'
460+ MACOS_NOTARY_API_URL : ' https://dev.macos-notary.build.10gen.cc/api'
461+
462+ # linux / windows signing secrets
463+ GARASIGN_USERNAME : ${garasign_username}
464+ GARASIGN_PASSWORD : ${garasign_password}
465+ ARTIFACTORY_USERNAME : ${artifactory_username}
466+ ARTIFACTORY_PASSWORD : ${artifactory_password}
463467 SIGNING_SERVER_HOSTNAME : ${SIGNING_SERVER_HOSTNAME}
464468 SIGNING_SERVER_PRIVATE_KEY : ${SIGNING_SERVER_PRIVATE_KEY}
465469 SIGNING_SERVER_PRIVATE_KEY_CYGPATH : ${SIGNING_SERVER_PRIVATE_KEY_CYGPATH}
466470 SIGNING_SERVER_USERNAME : ${SIGNING_SERVER_USERNAME}
467471 SIGNING_SERVER_PORT : ${SIGNING_SERVER_PORT}
472+
473+ HADRON_DISTRIBUTION : ${compass_distribution}
468474 GITHUB_PR_NUMBER : ${github_pr_number}
469475 PAPERTRAIL_KEY_ID : ${papertrail_key_id}
470476 PAPERTRAIL_SECRET_KEY : ${papertrail_secret_key}
@@ -596,6 +602,7 @@ functions:
596602 shell : bash
597603 env :
598604 << : *compass-env
605+ << : *compass-e2e-secrets
599606 DEBUG : ${debug|}
600607 MONGODB_VERSION : ${mongodb_version|}
601608 MONGODB_RUNNER_VERSION : ${mongodb_version|}
@@ -625,6 +632,7 @@ functions:
625632 shell : bash
626633 env :
627634 << : *compass-env
635+ << : *compass-e2e-secrets
628636 COMPASS_APP_PATH_ORIGINAL : ${appPath}
629637 COMPASS_APP_NAME : ${packagerOptions.name}
630638 DEBUG : ${debug|}
@@ -660,6 +668,7 @@ functions:
660668 shell : bash
661669 env :
662670 << : *compass-env
671+ << : *compass-e2e-secrets
663672 DEBUG : ${debug|}
664673 MONGODB_VERSION : ${mongodb_version|}
665674 MONGODB_RUNNER_VERSION : ${mongodb_version|}
@@ -678,7 +687,7 @@ functions:
678687 if [[ "$IS_OSX" == "true" ]]; then
679688 echo "Disabling clipboard usage in e2e tests (TODO: https://jira.mongodb.org/browse/BUILD-14780)"
680689 export COMPASS_E2E_DISABLE_CLIPBOARD_USAGE="true"
681- npm run --unsafe-perm --workspace compass-e2e -tests smoketest -- --package=osx_dmg
690+ npm run --unsafe-perm --workspace @mongodb-js/ compass-smoke -tests start -- --package=osx_dmg
682691 # TODO: osx_zip
683692 fi
684693
@@ -692,7 +701,6 @@ functions:
692701 # TODO: rhel_tar
693702 #fi
694703
695-
696704 test-web-sandbox :
697705 - command : shell.exec
698706 # Fail the task if it's idle for 10 mins
@@ -702,6 +710,7 @@ functions:
702710 shell : bash
703711 env :
704712 << : *compass-env
713+ << : *compass-e2e-secrets
705714 COMPASS_APP_PATH_ORIGINAL : ${appPath}
706715 COMPASS_APP_NAME : ${packagerOptions.name}
707716 DEBUG : ${debug|}
@@ -716,7 +725,6 @@ functions:
716725 eval $(.evergreen/print-compass-env.sh)
717726 npm run --unsafe-perm --workspace compass-e2e-tests test-ci web
718727
719-
720728 test-web-sandbox-atlas-cloud :
721729 - command : shell.exec
722730 # It can take a very long time for Atlas cluster to get deployed
@@ -726,6 +734,7 @@ functions:
726734 shell : bash
727735 env :
728736 << : *compass-env
737+ << : *compass-e2e-secrets
729738 DEBUG : ${debug|}
730739 COMPASS_E2E_ATLAS_CLOUD_SANDBOX_USERNAME : ${e2e_tests_compass_web_atlas_username}
731740 COMPASS_E2E_ATLAS_CLOUD_SANDBOX_PASSWORD : ${e2e_tests_compass_web_atlas_password}
@@ -758,6 +767,7 @@ functions:
758767 shell : bash
759768 env :
760769 << : *compass-env
770+ << : *compass-e2e-secrets
761771 COMPASS_SKIP_KERBEROS_TESTS : ' true'
762772 COMPASS_RUN_DOCKER_TESTS : ' true'
763773 DEBUG : ${debug}
0 commit comments