Skip to content

Commit

Permalink
Use new oblt-cli actions (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Jun 5, 2024
1 parent 2e80550 commit 72ec6a1
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:

permissions:
contents: read
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -41,19 +42,12 @@ jobs:
id: bootstrap
uses: ./.github/workflows/bootstrap

- uses: elastic/apm-pipeline-library/.github/actions/github-token@current
with:
url: ${{ secrets.VAULT_ADDR }}
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
- uses: elastic/oblt-actions/google/[email protected]

- uses: elastic/apm-pipeline-library/.github/actions/oblt-cli-cluster-credentials@current
- uses: elastic/oblt-actions/oblt-cli/cluster-credentials@v1.6.0
with:
github-token: ${{ env.GITHUB_TOKEN }}
cluster-name: ${{ env.SERVERLESS_PROJECT }}
vault-url: ${{ secrets.VAULT_ADDR }}
vault-role-id: ${{ secrets.VAULT_ROLE_ID }}
vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}
github-token: ${{ secrets.OBLT_CLI_GITHUB_TOKEN }}
cluster-name: ${{ env.SERVERLESS_PROJECT }}

- name: Get the browser email and password from Vault
uses: hashicorp/[email protected]
Expand All @@ -78,4 +72,4 @@ jobs:
with:
name: playwright-traces
path: .artifacts/playwright-traces/*-screenshot.jpeg
retention-days: 1
retention-days: 1

0 comments on commit 72ec6a1

Please sign in to comment.