Skip to content

Commit

Permalink
e2e: reference kbs-e2e.yaml worfklows locally
Browse files Browse the repository at this point in the history
https://github.com/confidential-containers/kbs/actions/runs/7523718849

The attempt to find the workflow failed because there is a typo (yml =>
yaml). But we should also reference a workflow in the same repository
locally as described here:

https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow

Signed-off-by: Magnus Kulke <[email protected]>
  • Loading branch information
mkulke committed Jan 15, 2024
1 parent cd9bef3 commit 7a9a19e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kbs-e2e-az-snp-vtpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
needs:
- authorize
- checkout-and-rebase
uses: confidential-containers/kbs/.github/workflows/kbs-e2e.yml@main
uses: ./.github/workflows/kbs-e2e.yaml
with:
runs-on: '["self-hosted","azure-cvm"]'
tarball: kbs.tar.gz
2 changes: 1 addition & 1 deletion .github/workflows/kbs-e2e-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

e2e-test:
needs: checkout
uses: confidential-containers/kbs/.github/workflows/kbs-e2e.yml@main
uses: ./.github/workflows/kbs-e2e.yaml
with:
sample: true
tarball: kbs.tar.gz
1 change: 1 addition & 0 deletions .github/workflows/kbs-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:

steps:
- uses: actions/download-artifact@v4
name: ${{ inputs.tarball }}

- name: Extract tarball
run: tar xzf ${{ inputs.tarball }}
Expand Down

0 comments on commit 7a9a19e

Please sign in to comment.