xref: /openbmc/qemu/.gitlab-ci.d/containers.yml (revision 1d8b96126e76178d6a44f435ddd55727e23fd00d)
1*1d8b9612SPhilippe Mathieu-Daudé.container_job_template:
2fa821f23SDaniel P. Berrangé  image: docker:stable
3fa821f23SDaniel P. Berrangé  stage: containers
4fa821f23SDaniel P. Berrangé  services:
5fa821f23SDaniel P. Berrangé    - docker:dind
6fa821f23SDaniel P. Berrangé  before_script:
7fa821f23SDaniel P. Berrangé    - export TAG="$CI_REGISTRY_IMAGE/qemu/$NAME:latest"
8fa821f23SDaniel P. Berrangé    - export COMMON_TAG="$CI_REGISTRY/qemu-project/qemu/$NAME:latest"
9c8e67939SAlex Bennée    - apk add python3
10fa821f23SDaniel P. Berrangé    - docker info
11ca905becSRebecca Cran    - docker login $CI_REGISTRY -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
12fa821f23SDaniel P. Berrangé  script:
13c8e67939SAlex Bennée    - echo "TAG:$TAG"
14c8e67939SAlex Bennée    - echo "COMMON_TAG:$COMMON_TAG"
15fa821f23SDaniel P. Berrangé    - docker pull "$TAG" || docker pull "$COMMON_TAG" || true
16c8e67939SAlex Bennée    - ./tests/docker/docker.py --engine docker build
17c8e67939SAlex Bennée          -t "qemu/$NAME" -f "tests/docker/dockerfiles/$NAME.docker"
18c8e67939SAlex Bennée          -r $CI_REGISTRY_IMAGE
19c8e67939SAlex Bennée    - docker tag "qemu/$NAME" "$TAG"
20fa821f23SDaniel P. Berrangé    - docker push "$TAG"
21fa821f23SDaniel P. Berrangé  after_script:
22fa821f23SDaniel P. Berrangé    - docker logout
23fa821f23SDaniel P. Berrangé
24b22786eaSJiaxun Yangamd64-alpine-container:
25*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
26b22786eaSJiaxun Yang  variables:
27b22786eaSJiaxun Yang    NAME: alpine
28b22786eaSJiaxun Yang
29fa821f23SDaniel P. Berrangéamd64-centos7-container:
30*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
31fa821f23SDaniel P. Berrangé  variables:
32fa821f23SDaniel P. Berrangé    NAME: centos7
33fa821f23SDaniel P. Berrangé
34fa821f23SDaniel P. Berrangéamd64-centos8-container:
35*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
36fa821f23SDaniel P. Berrangé  variables:
37fa821f23SDaniel P. Berrangé    NAME: centos8
38fa821f23SDaniel P. Berrangé
39fa821f23SDaniel P. Berrangéamd64-debian10-container:
40*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
41fa821f23SDaniel P. Berrangé  variables:
42fa821f23SDaniel P. Berrangé    NAME: debian10
43fa821f23SDaniel P. Berrangé
44fa821f23SDaniel P. Berrangéamd64-debian11-container:
45*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
46fa821f23SDaniel P. Berrangé  variables:
47fa821f23SDaniel P. Berrangé    NAME: debian11
48fa821f23SDaniel P. Berrangé
49fa821f23SDaniel P. Berrangéalpha-debian-cross-container:
50*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
51fa821f23SDaniel P. Berrangé  stage: containers-layer2
52fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
53fa821f23SDaniel P. Berrangé  variables:
54fa821f23SDaniel P. Berrangé    NAME: debian-alpha-cross
55fa821f23SDaniel P. Berrangé
56fa821f23SDaniel P. Berrangéamd64-debian-cross-container:
57*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
58fa821f23SDaniel P. Berrangé  stage: containers-layer2
59fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
60fa821f23SDaniel P. Berrangé  variables:
61fa821f23SDaniel P. Berrangé    NAME: debian-amd64-cross
62fa821f23SDaniel P. Berrangé
6327ebeda0SAlex Bennéeamd64-debian-user-cross-container:
64*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
6527ebeda0SAlex Bennée  stage: containers-layer2
6627ebeda0SAlex Bennée  needs: ['amd64-debian10-container']
6727ebeda0SAlex Bennée  variables:
6827ebeda0SAlex Bennée    NAME: debian-all-test-cross
6927ebeda0SAlex Bennée
70fa821f23SDaniel P. Berrangéamd64-debian-container:
71*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
72fa821f23SDaniel P. Berrangé  stage: containers-layer2
73fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
74fa821f23SDaniel P. Berrangé  variables:
75fa821f23SDaniel P. Berrangé    NAME: debian-amd64
76fa821f23SDaniel P. Berrangé
77fa821f23SDaniel P. Berrangéarm64-debian-cross-container:
78*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
79fa821f23SDaniel P. Berrangé  stage: containers-layer2
80fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
81fa821f23SDaniel P. Berrangé  variables:
82fa821f23SDaniel P. Berrangé    NAME: debian-arm64-cross
83fa821f23SDaniel P. Berrangé
84fa821f23SDaniel P. Berrangéarm64-test-debian-cross-container:
85*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
86fa821f23SDaniel P. Berrangé  stage: containers-layer2
87fa821f23SDaniel P. Berrangé  needs: ['amd64-debian11-container']
88fa821f23SDaniel P. Berrangé  variables:
89fa821f23SDaniel P. Berrangé    NAME: debian-arm64-test-cross
90fa821f23SDaniel P. Berrangé
91fa821f23SDaniel P. Berrangéarmel-debian-cross-container:
92*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
93fa821f23SDaniel P. Berrangé  stage: containers-layer2
94fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
95fa821f23SDaniel P. Berrangé  variables:
96fa821f23SDaniel P. Berrangé    NAME: debian-armel-cross
97fa821f23SDaniel P. Berrangé
98fa821f23SDaniel P. Berrangéarmhf-debian-cross-container:
99*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
100fa821f23SDaniel P. Berrangé  stage: containers-layer2
101fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
102fa821f23SDaniel P. Berrangé  variables:
103fa821f23SDaniel P. Berrangé    NAME: debian-armhf-cross
104fa821f23SDaniel P. Berrangé
105fa821f23SDaniel P. Berrangéhppa-debian-cross-container:
106*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
107fa821f23SDaniel P. Berrangé  stage: containers-layer2
108fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
109fa821f23SDaniel P. Berrangé  variables:
110fa821f23SDaniel P. Berrangé    NAME: debian-hppa-cross
111fa821f23SDaniel P. Berrangé
112fa821f23SDaniel P. Berrangém68k-debian-cross-container:
113*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
114fa821f23SDaniel P. Berrangé  stage: containers-layer2
115fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
116fa821f23SDaniel P. Berrangé  variables:
117fa821f23SDaniel P. Berrangé    NAME: debian-m68k-cross
118fa821f23SDaniel P. Berrangé
119fa821f23SDaniel P. Berrangémips64-debian-cross-container:
120*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
121fa821f23SDaniel P. Berrangé  stage: containers-layer2
122fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
123fa821f23SDaniel P. Berrangé  variables:
124fa821f23SDaniel P. Berrangé    NAME: debian-mips64-cross
125fa821f23SDaniel P. Berrangé
126fa821f23SDaniel P. Berrangémips64el-debian-cross-container:
127*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
128fa821f23SDaniel P. Berrangé  stage: containers-layer2
129fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
130fa821f23SDaniel P. Berrangé  variables:
131fa821f23SDaniel P. Berrangé    NAME: debian-mips64el-cross
132fa821f23SDaniel P. Berrangé
133fa821f23SDaniel P. Berrangémips-debian-cross-container:
134*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
135fa821f23SDaniel P. Berrangé  stage: containers-layer2
136fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
137fa821f23SDaniel P. Berrangé  variables:
138fa821f23SDaniel P. Berrangé    NAME: debian-mips-cross
139fa821f23SDaniel P. Berrangé
140fa821f23SDaniel P. Berrangémipsel-debian-cross-container:
141*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
142fa821f23SDaniel P. Berrangé  stage: containers-layer2
143fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
144fa821f23SDaniel P. Berrangé  variables:
145fa821f23SDaniel P. Berrangé    NAME: debian-mipsel-cross
146fa821f23SDaniel P. Berrangé
147fa821f23SDaniel P. Berrangépowerpc-debian-cross-container:
148*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
149fa821f23SDaniel P. Berrangé  stage: containers-layer2
150fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
151fa821f23SDaniel P. Berrangé  variables:
152fa821f23SDaniel P. Berrangé    NAME: debian-powerpc-cross
153fa821f23SDaniel P. Berrangé
154fa821f23SDaniel P. Berrangéppc64-debian-cross-container:
155*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
156fa821f23SDaniel P. Berrangé  stage: containers-layer2
157fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
158fa821f23SDaniel P. Berrangé  variables:
159fa821f23SDaniel P. Berrangé    NAME: debian-ppc64-cross
160fa821f23SDaniel P. Berrangé
161fa821f23SDaniel P. Berrangéppc64el-debian-cross-container:
162*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
163fa821f23SDaniel P. Berrangé  stage: containers-layer2
164fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
165fa821f23SDaniel P. Berrangé  variables:
166fa821f23SDaniel P. Berrangé    NAME: debian-ppc64el-cross
167fa821f23SDaniel P. Berrangé
168fa821f23SDaniel P. Berrangériscv64-debian-cross-container:
169*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
170fa821f23SDaniel P. Berrangé  stage: containers-layer2
171fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
172fa821f23SDaniel P. Berrangé  variables:
173fa821f23SDaniel P. Berrangé    NAME: debian-riscv64-cross
174fa821f23SDaniel P. Berrangé
175fa821f23SDaniel P. Berrangés390x-debian-cross-container:
176*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
177fa821f23SDaniel P. Berrangé  stage: containers-layer2
178fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
179fa821f23SDaniel P. Berrangé  variables:
180fa821f23SDaniel P. Berrangé    NAME: debian-s390x-cross
181fa821f23SDaniel P. Berrangé
182fa821f23SDaniel P. Berrangésh4-debian-cross-container:
183*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
184fa821f23SDaniel P. Berrangé  stage: containers-layer2
185fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
186fa821f23SDaniel P. Berrangé  variables:
187fa821f23SDaniel P. Berrangé    NAME: debian-sh4-cross
188fa821f23SDaniel P. Berrangé
189fa821f23SDaniel P. Berrangésparc64-debian-cross-container:
190*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
191fa821f23SDaniel P. Berrangé  stage: containers-layer2
192fa821f23SDaniel P. Berrangé  needs: ['amd64-debian10-container']
193fa821f23SDaniel P. Berrangé  variables:
194fa821f23SDaniel P. Berrangé    NAME: debian-sparc64-cross
195fa821f23SDaniel P. Berrangé
196fa821f23SDaniel P. Berrangétricore-debian-cross-container:
197*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
198fa821f23SDaniel P. Berrangé  stage: containers-layer2
199cf63177eSThomas Huth  needs: ['amd64-debian10-container']
200fa821f23SDaniel P. Berrangé  variables:
201fa821f23SDaniel P. Berrangé    NAME: debian-tricore-cross
202fa821f23SDaniel P. Berrangé
203fa821f23SDaniel P. Berrangéxtensa-debian-cross-container:
204*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
205fa821f23SDaniel P. Berrangé  variables:
206fa821f23SDaniel P. Berrangé    NAME: debian-xtensa-cross
207fa821f23SDaniel P. Berrangé
208fa821f23SDaniel P. Berrangécris-fedora-cross-container:
209*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
210fa821f23SDaniel P. Berrangé  variables:
211fa821f23SDaniel P. Berrangé    NAME: fedora-cris-cross
212fa821f23SDaniel P. Berrangé
213fa821f23SDaniel P. Berrangéamd64-fedora-container:
214*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
215fa821f23SDaniel P. Berrangé  variables:
216fa821f23SDaniel P. Berrangé    NAME: fedora
217fa821f23SDaniel P. Berrangé
218fa821f23SDaniel P. Berrangéi386-fedora-cross-container:
219*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
220fa821f23SDaniel P. Berrangé  variables:
221fa821f23SDaniel P. Berrangé    NAME: fedora-i386-cross
222fa821f23SDaniel P. Berrangé
22393cc0506SThomas Huthwin32-fedora-cross-container:
224*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
22593cc0506SThomas Huth  variables:
22693cc0506SThomas Huth    NAME: fedora-win32-cross
22793cc0506SThomas Huth
22893cc0506SThomas Huthwin64-fedora-cross-container:
229*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
23093cc0506SThomas Huth  variables:
23193cc0506SThomas Huth    NAME: fedora-win64-cross
23293cc0506SThomas Huth
233fa821f23SDaniel P. Berrangéamd64-ubuntu1804-container:
234*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
235fa821f23SDaniel P. Berrangé  variables:
236fa821f23SDaniel P. Berrangé    NAME: ubuntu1804
237fa821f23SDaniel P. Berrangé
238fa821f23SDaniel P. Berrangéamd64-ubuntu2004-container:
239*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
240fa821f23SDaniel P. Berrangé  variables:
241fa821f23SDaniel P. Berrangé    NAME: ubuntu2004
242fa821f23SDaniel P. Berrangé
243fa821f23SDaniel P. Berrangéamd64-ubuntu-container:
244*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
245fa821f23SDaniel P. Berrangé  variables:
246fa821f23SDaniel P. Berrangé    NAME: ubuntu
247b115ea3aSCho, Yu-Chen
248b115ea3aSCho, Yu-Chenamd64-opensuse-leap-container:
249*1d8b9612SPhilippe Mathieu-Daudé  extends: .container_job_template
250b115ea3aSCho, Yu-Chen  variables:
251b115ea3aSCho, Yu-Chen    NAME: opensuse-leap
252