mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
97dc15b1d1
Previously the timeout was not set in the client's constructor, thus the zero value was used. The client did not wait for invalidation. To prevent this in the future a warning is logged if wait is disabled. Co-authored-by: Daniel Weiße <dw@edgeless.systems>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: e2e test attestationconfig API
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
- "release/**"
|
|
paths:
|
|
- "internal/api/**"
|
|
- ".github/workflows/e2e-attestationconfigapi.yml"
|
|
pull_request:
|
|
paths:
|
|
- "internal/api/**"
|
|
- ".github/workflows/e2e-attestationconfigapi.yml"
|
|
|
|
jobs:
|
|
e2e-api:
|
|
runs-on: ubuntu-22.04
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
packages: write
|
|
steps:
|
|
- name: Checkout
|
|
id: checkout
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
|
with:
|
|
# Don't trigger in forks, use head on pull requests, use default otherwise.
|
|
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || github.event.pull_request.head.sha || '' }}
|
|
|
|
- name: Run Attestationconfig API E2E
|
|
uses: ./.github/actions/e2e_attestationconfigapi
|
|
with:
|
|
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }}
|
|
cosignPrivateKey: ${{ secrets.COSIGN_DEV_PRIVATE_KEY }}
|
|
cosignPassword: ${{ secrets.COSIGN_DEV_PASSWORD }}
|