File tree Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Expand file tree Collapse file tree 4 files changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ export REPO_BUILD_TAG
31
31
32
32
BUILDKITE_API_TOKEN_PATH=kv/ci-shared/platform-ingest/buildkite_token
33
33
34
- EC_TOKEN_PATH=kv/ci-shared/platform-ingest/platform-ingest-ec-qa
35
34
EC_DATA_PATH=secret/ci/elastic-integrations/ec_data
36
35
37
36
# variables required for terraform
@@ -115,10 +114,6 @@ if [[ "${BUILDKITE_PIPELINE_SLUG}" == "integrations-serverless" ]]; then
115
114
BUILDKITE_API_TOKEN=$( retry 5 vault kv get -field buildkite_token " ${BUILDKITE_API_TOKEN_PATH} " )
116
115
export BUILDKITE_API_TOKEN
117
116
118
- EC_API_KEY_SECRET=$( retry 5 vault kv get -field apiKey " ${EC_TOKEN_PATH} " )
119
- export EC_API_KEY_SECRET
120
- EC_HOST_SECRET=$( retry 5 vault kv get -field url " ${EC_TOKEN_PATH} " )
121
- export EC_HOST_SECRET
122
117
EC_REGION_SECRET=$( retry 5 vault read -field region_qa " ${EC_DATA_PATH} " )
123
118
export EC_REGION_SECRET
124
119
fi
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ if [[ "$BUILDKITE_PIPELINE_SLUG" == "integrations-serverless" ]]; then
28
28
# Ensure elastic stack is stopped
29
29
if [ -f " ${ELASTIC_PACKAGE_BIN} " ]; then
30
30
echo " --- Take down the Elastic stack"
31
- EC_API_KEY= ${EC_API_KEY_SECRET} EC_HOST= ${EC_HOST_SECRET} ${ELASTIC_PACKAGE_BIN} stack down -v
31
+ ${ELASTIC_PACKAGE_BIN} stack down -v
32
32
fi
33
33
fi
34
34
fi
Original file line number Diff line number Diff line change @@ -73,11 +73,16 @@ steps:
73
73
- elastic/oblt-aws-auth#v0.1.0:
74
74
duration : 10800 # seconds
75
75
# See https://github.com/elastic/oblt-infra/blob/main/conf/resources/repos/integrations/01-gcp-buildkite-oidc.tf
76
- # This plugin authenticates to Google Cloud using the OIDC token.
76
+ # This plugin authenticates to CI Google Cloud using the OIDC token.
77
77
- elastic/oblt-google-auth#v1.3.0:
78
78
lifetime : 10800 # seconds
79
79
project-id : " elastic-observability-ci"
80
80
project-number : " 911195782929"
81
+ lifetime : 10800 # seconds
82
+ - avaly/gcp-secret-manager#v1.2.0:
83
+ env :
84
+ EC_API_KEY : elastic-cloud-observability-team-qa-api-key
85
+ EC_HOST : elastic-cloud-observability-team-qa-endpoint
81
86
artifact_paths :
82
87
- " build/test-results/*.xml"
83
88
- " build/elastic-stack-dump/*/logs/*.log"
Original file line number Diff line number Diff line change @@ -529,9 +529,6 @@ prepare_serverless_stack() {
529
529
fi
530
530
create_elastic_package_profile " ${profile_name} "
531
531
532
- export EC_API_KEY=${EC_API_KEY_SECRET}
533
- export EC_HOST=${EC_HOST_SECRET}
534
-
535
532
echo " Boot up the Elastic stack"
536
533
# grep command required to remove password from the output
537
534
if ! ${ELASTIC_PACKAGE_BIN} stack up \
You can’t perform that action at this time.
0 commit comments