Skip to content

Commit 72ec6a1

Browse files
authored
Use new oblt-cli actions (#104)
1 parent 2e80550 commit 72ec6a1

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

.github/workflows/e2e.yml

+6-12
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616

1717
permissions:
1818
contents: read
19+
id-token: write
1920

2021
concurrency:
2122
group: ${{ github.workflow }}-${{ github.ref }}
@@ -41,19 +42,12 @@ jobs:
4142
id: bootstrap
4243
uses: ./.github/workflows/bootstrap
4344

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

50-
- uses: elastic/apm-pipeline-library/.github/actions/oblt-cli-cluster-credentials@current
47+
- uses: elastic/oblt-actions/oblt-cli/cluster-credentials@v1.6.0
5148
with:
52-
github-token: ${{ env.GITHUB_TOKEN }}
53-
cluster-name: ${{ env.SERVERLESS_PROJECT }}
54-
vault-url: ${{ secrets.VAULT_ADDR }}
55-
vault-role-id: ${{ secrets.VAULT_ROLE_ID }}
56-
vault-secret-id: ${{ secrets.VAULT_SECRET_ID }}
49+
github-token: ${{ secrets.OBLT_CLI_GITHUB_TOKEN }}
50+
cluster-name: ${{ env.SERVERLESS_PROJECT }}
5751

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

0 commit comments

Comments
 (0)