Skip to content

Commit c43a4b7

Browse files
committed
chore(ci): move e2e secrets to their own anchor
1 parent ea4869a commit c43a4b7

File tree

1 file changed

+23
-16
lines changed

1 file changed

+23
-16
lines changed

.evergreen/functions.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,23 @@ variables:
4545
# secrets
4646
HADRON_METRICS_INTERCOM_APP_ID: ${metrics_intercom_app_id}
4747
HADRON_METRICS_SEGMENT_API_KEY: ${metrics_segment_api_key}
48+
MACOS_NOTARY_KEY: ${macos_notary_key}
49+
MACOS_NOTARY_SECRET: ${macos_notary_secret}
50+
MACOS_NOTARY_CLIENT_URL: 'https://macos-notary-1628249594.s3.amazonaws.com/releases/client/latest/darwin_amd64.zip'
51+
MACOS_NOTARY_API_URL: 'https://dev.macos-notary.build.10gen.cc/api'
52+
GITHUB_TOKEN: ${devtoolsbot_github_token}
53+
DOWNLOAD_CENTER_AWS_ACCESS_KEY_ID: ${aws_key_evergreen_integrations}
54+
DOWNLOAD_CENTER_AWS_SECRET_ACCESS_KEY: ${aws_secret_evergreen_integrations}
55+
EVERGREEN_BUCKET_NAME: mciuploads
56+
EVERGREEN_BUCKET_KEY_PREFIX: ${project}/${revision}_${revision_order_id}
57+
MONGODB_RUNNER_LOG_DIR: ${workdir}/src/.testserver/
58+
GARASIGN_USERNAME: ${garasign_username}
59+
GARASIGN_PASSWORD: ${garasign_password}
60+
ARTIFACTORY_USERNAME: ${artifactory_username}
61+
ARTIFACTORY_PASSWORD: ${artifactory_password}
62+
DOCKERHUB_USERNAME: ${dockerhub_username}
63+
DOCKERHUB_PASSWORD: ${dockerhub_password}
64+
- &compass-e2e-secrets
4865
E2E_TESTS_METRICS_URI: ${e2e_tests_metrics_string}
4966
E2E_TESTS_ATLAS_HOST: ${e2e_tests_atlas_host}
5067
E2E_TESTS_DATA_LAKE_HOST: ${e2e_tests_data_lake_host}
@@ -62,24 +79,8 @@ variables:
6279
E2E_TESTS_ATLAS_READANYDATABASE_STRING: ${e2e_tests_atlas_readanydatabase_string}
6380
E2E_TESTS_ATLAS_CUSTOMROLE_STRING: ${e2e_tests_atlas_customrole_string}
6481
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/
7582
E2E_TESTS_ATLAS_CS_WITHOUT_SEARCH: ${e2e_tests_atlas_cs_without_search}
7683
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}
8384

8485
# This is here with the variables because anchors aren't supported across includes
8586
post:
@@ -596,6 +597,7 @@ functions:
596597
shell: bash
597598
env:
598599
<<: *compass-env
600+
<<: *compass-e2e-secrets
599601
DEBUG: ${debug|}
600602
MONGODB_VERSION: ${mongodb_version|}
601603
MONGODB_RUNNER_VERSION: ${mongodb_version|}
@@ -625,6 +627,7 @@ functions:
625627
shell: bash
626628
env:
627629
<<: *compass-env
630+
<<: *compass-e2e-secrets
628631
COMPASS_APP_PATH_ORIGINAL: ${appPath}
629632
COMPASS_APP_NAME: ${packagerOptions.name}
630633
DEBUG: ${debug|}
@@ -660,6 +663,7 @@ functions:
660663
shell: bash
661664
env:
662665
<<: *compass-env
666+
<<: *compass-e2e-secrets
663667
DEBUG: ${debug|}
664668
MONGODB_VERSION: ${mongodb_version|}
665669
MONGODB_RUNNER_VERSION: ${mongodb_version|}
@@ -702,6 +706,7 @@ functions:
702706
shell: bash
703707
env:
704708
<<: *compass-env
709+
<<: *compass-e2e-secrets
705710
COMPASS_APP_PATH_ORIGINAL: ${appPath}
706711
COMPASS_APP_NAME: ${packagerOptions.name}
707712
DEBUG: ${debug|}
@@ -726,6 +731,7 @@ functions:
726731
shell: bash
727732
env:
728733
<<: *compass-env
734+
<<: *compass-e2e-secrets
729735
DEBUG: ${debug|}
730736
COMPASS_E2E_ATLAS_CLOUD_SANDBOX_USERNAME: ${e2e_tests_compass_web_atlas_username}
731737
COMPASS_E2E_ATLAS_CLOUD_SANDBOX_PASSWORD: ${e2e_tests_compass_web_atlas_password}
@@ -758,6 +764,7 @@ functions:
758764
shell: bash
759765
env:
760766
<<: *compass-env
767+
<<: *compass-e2e-secrets
761768
COMPASS_SKIP_KERBEROS_TESTS: 'true'
762769
COMPASS_RUN_DOCKER_TESTS: 'true'
763770
DEBUG: ${debug}

0 commit comments

Comments
 (0)