Skip to content

sysbox-ee-pkg-ci

sysbox-ee-pkg-ci #894

#
# GitHub Actions nightly build and test of the sysbox EE package.
#
name: sysbox-ee-pkg-ci
# Runs daily at 2am PST (10am UTC)
on:
schedule:
- cron: "0 10 * * *"
defaults:
run:
shell: bash
jobs:
sysbox_ee_pkg_test:
runs-on: [self-hosted, Linux, X64, '${{ matrix.distro }}']
strategy:
fail-fast: false
max-parallel: 2
matrix:
distro: [ubuntu-bionic, ubuntu-focal, debian-buster, debian-bullseye]
steps:
- name: precheckout-cleanup
run: |
sudo rm -rf *
- name: checkout
uses: actions/checkout@v2
- name: prebuild-cleanup
run: |
docker stop -t0 $(docker ps -aq) || true
docker image rm $(docker image ls -aq) || true
- name: test-sysbox-ee-pkg
run: |
docker stop -t0 $(docker ps -aq) || true
make test-sysbox-ee-deb ${{ matrix.distro }}
- name: post-cleanup
working-directory: sources/sysbox-internal
run: |
docker stop -t0 $(docker ps -aq) || true
sudo make test-cleanup
docker image rm $(docker image ls -aq) || true