-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitlab-ci.yml
116 lines (102 loc) · 2.38 KB
/
.gitlab-ci.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
stages:
- build
- test
build:bionic:
stage: build
script:
- docker build -t umit/bionic:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.bionic .
tags:
- shell
build:focal:
stage: build
script:
- docker build -t umit/focal:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.focal .
tags:
- shell
build:jammy:
stage: build
script:
- docker build -t umit/jammy:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.jammy .
tags:
- shell
build:buster:
stage: build
script:
- docker build -t umit/buster:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.buster .
tags:
- shell
build:bullseye:
stage: build
script:
- docker build -t umit/bullseye:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.bullseye .
tags:
- shell
build:bookworm:
stage: build
script:
- docker build -t umit/bookworm:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.bookworm .
tags:
- shell
build:noble:
stage: build
script:
- docker build -t umit/noble:$(git rev-parse HEAD) -f Buildstuff/Dockerfile.noble .
tags:
- shell
test:bionic:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/bionic:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:bionic
tags:
- shell
test:focal:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/focal:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:focal
tags:
- shell
test:jammy:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/jammy:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:jammy
tags:
- shell
test:buster:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/buster:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:buster
tags:
- shell
test:bullseye:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/bullseye:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:bullseye
tags:
- shell
test:bookworm:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/bookworm:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:bookworm
tags:
- shell
test:noble:
stage: test
script:
- docker run --workdir /home/gitlab-ci/umit umit/noble:$(git rev-parse HEAD) bash run_tests.sh
dependencies:
- build:noble
tags:
- shell