From 1d38bffcbb9dc3515d813dd9837e874e5b14a0ff Mon Sep 17 00:00:00 2001 From: "fr4nc1sc0.r4m0n" Date: Tue, 9 Sep 2025 14:00:44 +0200 Subject: [PATCH 1/3] Start using elastic-observability-ci google cloud project for ci secrets --- .github/workflows/smoke-tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 68b688d8..ce1efa76 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -44,6 +44,9 @@ jobs: terraform_version: 1.2.3 - uses: elastic/oblt-actions/aws/auth@v1 - uses: elastic/oblt-actions/google/auth@v1 + with: + project-id: 'elastic-observability-ci' + - uses: google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262 # v3.0.0 with: export_to_environment: true From fd5f04de4b114f2deb7a0f464c5661c334f8e87d Mon Sep 17 00:00:00 2001 From: Francisco Ramon Date: Tue, 9 Sep 2025 14:23:51 +0200 Subject: [PATCH 2/3] Update .github/workflows/smoke-tests.yml Co-authored-by: Victor Martinez --- .github/workflows/smoke-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index ce1efa76..84dcb880 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -45,7 +45,7 @@ jobs: - uses: elastic/oblt-actions/aws/auth@v1 - uses: elastic/oblt-actions/google/auth@v1 with: - project-id: 'elastic-observability-ci' + project-number: '911195782929' - uses: google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262 # v3.0.0 with: From 24ecbc1128a2681c398baf9b0241167d92458e45 Mon Sep 17 00:00:00 2001 From: "fr4nc1sc0.r4m0n" Date: Thu, 11 Sep 2025 10:36:18 +0200 Subject: [PATCH 3/3] Add project-id to avoid references to default elastic-observability project and fix secrets project --- .github/workflows/smoke-tests.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml index 84dcb880..52b49d2b 100644 --- a/.github/workflows/smoke-tests.yml +++ b/.github/workflows/smoke-tests.yml @@ -46,12 +46,13 @@ jobs: - uses: elastic/oblt-actions/google/auth@v1 with: project-number: '911195782929' + project-id: 'elastic-observability-ci' - uses: google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262 # v3.0.0 with: export_to_environment: true secrets: |- - EC_API_KEY:elastic-observability/elastic-cloud-observability-team-pro-api-key + EC_API_KEY:elastic-observability-ci/elastic-cloud-observability-team-pro-api-key - run: make smoketest/run # Secrets are rotated daily, if the benchmarks run between the rotation window, then @@ -63,7 +64,7 @@ jobs: with: export_to_environment: true secrets: |- - EC_API_KEY:elastic-observability/elastic-cloud-observability-team-pro-api-key + EC_API_KEY:elastic-observability-ci/elastic-cloud-observability-team-pro-api-key - if: always() name: Tear down