-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (36 loc) · 1.28 KB
/
integration.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
name: Integration test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
shellcheck:
if: (!contains(github.event.head_commit.message, 'skip ci'))
name: Shell check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
env:
DEBIAN_FRONTEND: noninteractive
run: sudo apt install -y shellcheck
- name: shellcheck
run: |
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 --exclude=SC2086 scripts/start.sh
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 --exclude=SC2086 --exclude=SC2001 scripts/wrapper.sh
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 scripts/azdump.sh
shellcheck -s bash --exclude=SC2181 --exclude=SC2230 --exclude=SC2086 scripts/pgdump.sh
build:
if: (!contains(github.event.head_commit.message, 'skip ci'))
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
distro: [ fedora, opensuse, debian, ubuntu ]
steps:
- uses: actions/checkout@v4
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker Image
run: |
cp dockerfile-${{matrix.distro}}/Dockerfile .
docker build ${{github.workspace}}