forked from confidential-containers/operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/e2e: Migrate e2e test for sev andsnp to GHA
This PR is to migrate the AMD SEV and SNP e2e tests from Jenkins to GHA. Builds on top of PR confidential-containers#295 Signed-off-by: Adithya Krishnan Kannan<adkannan@amd.com>
- Loading branch information
1 parent
c25b30b
commit 77babe1
Showing
2 changed files
with
22 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
name: ccruntime e2e test for PR | ||
on: | ||
push | ||
# pull_request_target: | ||
# branches: | ||
# - 'main' | ||
# types: | ||
# - opened | ||
# - synchronize | ||
# - reopened | ||
# - labeled | ||
# paths-ignore: | ||
# - 'docs/**' | ||
pull_request_target: | ||
branches: | ||
- 'main' | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
paths-ignore: | ||
- 'docs/**' | ||
jobs: | ||
e2e-pr-amd: | ||
# if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }} | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }} | ||
uses: ./.github/workflows/ccruntime_e2e_amd.yaml | ||
# with: | ||
# target-branch: ${{ github.event.pull_request.base.ref }} | ||
# commit-hash: ${{ github.event.pull_request.head.sha }} | ||
|
||
# e2e-pr: | ||
# if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }} | ||
# uses: ./.github/workflows/ccruntime_e2e.yaml | ||
# with: | ||
# target-branch: ${{ github.event.pull_request.base.ref }} | ||
# commit-hash: ${{ github.event.pull_request.head.sha }} | ||
|
||
|
||
e2e-pr: | ||
if: ${{ contains(github.event.pull_request.labels.*.name, 'ok-to-test') }} | ||
uses: ./.github/workflows/ccruntime_e2e.yaml | ||
with: | ||
target-branch: ${{ github.event.pull_request.base.ref }} | ||
commit-hash: ${{ github.event.pull_request.head.sha }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters