Percona Server Smoke Test #816
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
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- '[0-9]+.[0-9]+' | |
pull_request: | |
branches: | |
- '[0-9]+.[0-9]+' | |
schedule: | |
- cron: '0 0 * * *' | |
name: Percona Server Smoke Test | |
jobs: | |
smoke-test: | |
runs-on: self-hosted | |
steps: | |
- name: Clean | |
run: rm -rf ${GITHUB_WORKSPACE}/* | |
- name: Checkout build scripts | |
run: git clone ~/harness.git | |
- name: Create context directory | |
run: cd harness && mkdir percona-context | |
- name: Build docker image | |
run: cd harness && st -o logs/make-smoke -- make NO_VAGRANT=1 V=1 percona-debian-run | |
- name: Run smoke test | |
run: cd harness && st --silent -o logs/make-smoke -- disk-select --disk 1TB -- make NO_VAGRANT=1 PERCONA_SERVER_BASE=Percona-Server-8.0.34-26 ZENFS_BRANCH=${GITHUB_SHA} ZENFS_REPO=https://github.com/${GITHUB_REPOSITORY}.git results/percona-server-smoke.xml | |
- name: Collect Results | |
run: cd harness && make NO_VAGRANT=1 upload | |
if: always() | |
- name: Archive unofficial experimental percona-server deb packages | |
uses: actions/upload-artifact@v3 | |
with: | |
name: unofficial-experimental-zenfs-percona-server-deb-packages | |
path: harness/artifacts/unofficial-experimental-zenfs-percona-server-deb-packages.tgz | |
- name: Remove images | |
run: podman rmi --force --all | |
if: always() |