-
Notifications
You must be signed in to change notification settings - Fork 15
79 lines (68 loc) · 2.06 KB
/
main.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
name: main
on:
push:
branches:
- main
workflow_dispatch:
jobs:
shared-storage:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- DOCKERI: rockylinux:9
DBTYPE: PG
DBVERSION: 16
CLNAME: ro9pg
EXTRA_VARS: "pgbackrest_excpected_release=2.53.1 check_pgbackrest_build=true"
steps:
- uses: actions/checkout@v4
with:
path: check_pgbackrest
- uses: shogo82148/actions-setup-perl@v1
- name: Initial step
run: cd ${HOME?} && sh ${GITHUB_WORKSPACE?}/check_pgbackrest/tests/run.sh -i
- name: Run CI script
env:
ARCH: shared-storage
CLPATH: /home/runner/clusters
CLNAME: ${{ matrix.CLNAME }}
DBTYPE: ${{ matrix.DBTYPE }}
DBVERSION: ${{ matrix.DBVERSION }}
DOCKERI: ${{ matrix.DOCKERI }}
EXTRA_VARS: ${{ matrix.EXTRA_VARS }}
RUN_ARGS:
ACTIVITY: true
run: cd ${HOME?} && sh ${GITHUB_WORKSPACE?}/check_pgbackrest/tests/ci.sh
with-repo-host:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- DOCKERI: ubuntu:22.04
DBTYPE: PG
DBVERSION: 16
CLNAME: u22pg
EXTRA_VARS: "pgbackrest_excpected_release=2.53.1 check_pgbackrest_build=true"
steps:
- uses: actions/checkout@v4
with:
path: check_pgbackrest
- uses: shogo82148/actions-setup-perl@v1
- name: Initial step
run: cd ${HOME?} && sh ${GITHUB_WORKSPACE?}/check_pgbackrest/tests/run.sh -i
- name: Run CI script
env:
ARCH: with-repo-host
CLPATH: /home/runner/clusters
CLNAME: ${{ matrix.CLNAME }}
DBTYPE: ${{ matrix.DBTYPE }}
DBVERSION: ${{ matrix.DBVERSION }}
DOCKERI: ${{ matrix.DOCKERI }}
EXTRA_VARS: ${{ matrix.EXTRA_VARS }}
RUN_ARGS:
ACTIVITY: true
run: cd ${HOME?} && sh ${GITHUB_WORKSPACE?}/check_pgbackrest/tests/ci.sh