File tree Expand file tree Collapse file tree 3 files changed +25
-14
lines changed Expand file tree Collapse file tree 3 files changed +25
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : Container Tests
2
+
3
+ on :
4
+
5
+ jobs :
6
+ integration_test :
7
+ name : 🚥 Container test
8
+ needs :
9
+ - Build
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+ - run : docker pull ghcr.io/${{ github.repository }}:${{ github.sha }}
14
+ - name : 🚥 Run Container Tests
15
+ uses : docker://gcr.io/gcp-runtimes/container-structure-test:v1.15.0
16
+ with :
17
+ args : test --config container-structure-test.yml --image ghcr.io/${{ github.repository }}:${{ github.sha }} --verbosity debug
Original file line number Diff line number Diff line change 1
1
name : Docker Image
2
2
3
3
on :
4
- push :
5
4
6
5
jobs :
7
6
build :
41
40
cache-to : type=registry,ref=ghcr.io/${{ github.repository }}:buildcache,mode=max
42
41
build-args : |
43
42
SOURCE_COMMIT=${{ github.sha }}
44
-
45
- integration_test :
46
- name : 🚥 Integration test
47
- needs :
48
- - Build
49
- runs-on : ubuntu-latest
50
- steps :
51
- - uses : actions/checkout@v4
52
- - run : docker pull ghcr.io/${{ github.repository }}:${{ github.sha }}
53
- - name : 🚥 Run Container Tests
54
- uses : docker://gcr.io/gcp-runtimes/container-structure-test:v1.15.0
55
- with :
56
- args : test --config container-structure-test.yml --image ghcr.io/${{ github.repository }}:${{ github.sha }} --verbosity debug
Original file line number Diff line number Diff line change 23
23
HOST : http://172.18.0.1:3000
24
24
ZAMMAD_TOKEN : ${{ secrets.ZAMMAD_TOKEN }}
25
25
jobs :
26
+ build :
27
+ uses : ./.github/workflows/docker.yml
28
+
29
+ container-tests :
30
+ needs : build
31
+ uses : ./.github/workflows/container.yml
32
+
26
33
test :
34
+ needs : build
27
35
strategy :
28
36
# don't fail the entire matrix on failure
29
37
fail-fast : false
You can’t perform that action at this time.
0 commit comments