-
Notifications
You must be signed in to change notification settings - Fork 87
36 lines (36 loc) · 1.35 KB
/
percona-server-smoke-test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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()