Skip to content

Commit

Permalink
Merge pull request kata-containers#7987 from BbolroC/nightly-ci-s390x
Browse files Browse the repository at this point in the history
tests|gha: add nightly tests for s390x
  • Loading branch information
fidencio authored Nov 16, 2023
2 parents f18794d + 84b5618 commit edb7913
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/ci-nightly-s390x.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
on:
schedule:
- cron: '0 2 * * *'

name: Nightly CI for s390x
jobs:
check-internal-test-result:
runs-on: s390x
strategy:
fail-fast: false
matrix:
test_title:
- kata-vfio-ap-e2e-tests
steps:
- name: Fetch a test result for {{ matrix.test_title }}
run: |
file_name="${TEST_TITLE}-$(date +%Y-%m-%d).log"
/home/${USER}/script/handle_test_log.sh download $file_name
env:
TEST_TITLE: ${{ matrix.test_title }}

k8s-cri-containerd-rhel9-e2e-tests:
runs-on: s390x-rhel9
steps:
- name: Delete the existing files
run: |
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
sudo rm -rf $GITHUB_WORKSPACE/*
- name: Take a pre-action for self-hosted runner
run: |
${HOME}/script/pre_action.sh rhel9-nightly
- name: Run k8s/cri-containerd e2e tests on RHEL9
run: |
export WORKSPACE=$GITHUB_WORKSPACE
export GITHUB_ACTION=""
bash ci_crio_entry_point.sh
env:
BAREMETAL: "true"
REPO_OWNER: "cri-o"
REPO_NAME: "cri-o"

- name: Take a post-action for self-hosted runner
if: always()
run: |
${HOME}/script/post_action.sh rhel9-nightly

0 comments on commit edb7913

Please sign in to comment.