diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index c9dd5823..4627069b 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -50,6 +50,18 @@ jobs: secrets: |- EC_API_KEY:elastic-observability/elastic-cloud-observability-team-pro-api-key - run: make smoketest/run + + # Secrets are rotated daily, if the benchmarks run between the rotation window, then + # there is a high chance things will stop working + # This is trying to reduce the chances of that happening. + # See https://github.com/elastic/observability-test-environments/actions/workflows/cluster-rotate-api-keys.yml + - uses: google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 # v2.1.4 + if: always() + with: + export_to_environment: true + secrets: |- + EC_API_KEY:elastic-observability/elastic-cloud-observability-team-pro-api-key + - if: always() name: Tear down run: make smoketest/cleanup