Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use secrets from the source of truth #112

Merged
merged 2 commits into from
Jun 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ concurrency:
env:
# (keep_serverless-staging-oblt, keep_serverless-qa-oblt or serverless-production-oblt)
SERVERLESS_PROJECT: serverless-production-oblt
# Secrets managed through IasC, if you need a different environment please reach the obs robots team
## TODO: Use Keyless
E2E__BROWSEREMAIL: ${{ secrets.OBSERVABILITY_EC_USERNAME }}
E2E__BROWSERPASSWORD: ${{ secrets.OBSERVABILITY_EC_PASSWORD }}

# NOTE: if you add a new job and it's a mandatory check then
# update e2e-docs.yml
Expand All @@ -51,6 +47,13 @@ jobs:
github-token: ${{ secrets.OBLT_CLI_GITHUB_TOKEN }}
cluster-name: ${{ env.SERVERLESS_PROJECT }}

- uses: google-github-actions/get-secretmanager-secrets@dc4a1392bad0fd60aee00bb2097e30ef07a1caae # v2.1.3
with:
export_to_environment: true
secrets: |-
E2E__BROWSEREMAIL:elastic-observability/elastic-cloud-observability-team-pro-username
E2E__BROWSERPASSWORD:elastic-observability/elastic-cloud-observability-team-pro-password

- name: End-to-end tests
run: ./build.sh test --test-suite=e2e
env:
Expand Down
Loading