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 s390x to GHA
This PR is to migrate the following e2e tests for s390x to GHA: - confidential-containers-operator-main-ubuntu-20.04-s390x-containerd_kata-qemu-PR - confidential-containers-operator-main-ubuntu-20.04-s390x-containerd_kata-qemu-baseline Fixes: confidential-containers#294 Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: e2e tests for s390x | ||
on: | ||
push: | ||
branches: | ||
- migrate-to-gha-s390x | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
e2e: | ||
name: operator e2e tests for s390x | ||
runs-on: s390x | ||
|
||
strategy: | ||
matrix: | ||
runtimeclass: ["kata-qemu"] | ||
|
||
steps: | ||
- name: Adjust a permission for repo | ||
run: | | ||
sudo chown -R $USER:$USER $GITHUB_WORKSPACE | ||
- name: Take a pre-action for self-hosted runner | ||
run: ${HOME}/script/pre_action.sh cc-operator-pr | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- name: Install deps | ||
run: | | ||
sudo apt-get update -y | ||
sudo apt-get install -y ansible python-is-python3 | ||
- name: Run e2e tests | ||
run: | | ||
cd tests/e2e | ||
export PATH="$PATH:/usr/local/bin" | ||
./run-local.sh -r "{{ matrix.runtimeclass }} -u" | ||
- name: Take a post-action | ||
if: always() | ||
run: ${HOME}/script/post_action.sh cc-operator-pr |
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