s3: smbd: Plumb in and use smbd_smb2_server_connection_read_handler() when server...
[samba.git] / .gitlab-ci-main.yml
1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
2
3 # Stages explained
4 #
5 # images: Build the images with the bootstrap script
6 # build_first: Build a few things first to find silly errors (fast job)
7 #              (don't pay for 35 machines until something compiles)
8 # build: The main parallel job
9 #              (keep these to 1hour as we are billed per hour)
10 # test_only: Tests using the build from prior stages, these typically
11 #            have an explicit dependency defined to a specific build job,
12 #            which means that start as soon as the build job finished.
13 # test_private: Like test_only, but running on private runners
14 # report: Code coverage reporting
15
16 stages:
17   - images
18   - build_first
19   - build
20   - test_only
21   - test_private
22   - report
23
24 variables:
25   # We want to be resilient to runner failures
26   ARTIFACT_DOWNLOAD_ATTEMPTS: "3"
27   EXECUTOR_JOB_SECTION_ATTEMPTS: "3"
28   GET_SOURCES_ATTEMPTS: "3"
29   RESTORE_CACHE_ATTEMPTS: "3"
30   #
31   GIT_STRATEGY: fetch
32   GIT_DEPTH: "3"
33   #
34   # we run autobuild.py inside a samba CI docker image located on gitlab's registry
35   # overwrite this variable if you want use your own image registry.
36   #
37   # Or better ask for access to the shared development repository, see
38   # https://wiki.samba.org/index.php/Samba_CI_on_gitlab#Getting_Access
39   #
40   SAMBA_CI_CONTAINER_REGISTRY: registry.gitlab.com/samba-team/devel/samba
41   #
42   # Set this to the contents of bootstrap/sha1sum.txt
43   # which is generated by bootstrap/template.py --render
44   #
45   SAMBA_CI_CONTAINER_TAG: 24c7cabf5c7c515ffac905cddc533a26d70abd09
46   #
47   # We use the ubuntu1804 image as default as
48   # it matches what we have on sn-devel-184.
49   #
50   SAMBA_CI_CONTAINER_IMAGE: ubuntu1804
51   #
52   # The following images are available
53   # Please see the samba-o3 sections at the end of this file!
54   # We should run that for each available image
55   #
56   SAMBA_CI_CONTAINER_IMAGE_ubuntu1604: ubuntu1604
57   SAMBA_CI_CONTAINER_IMAGE_ubuntu1804: ubuntu1804
58   SAMBA_CI_CONTAINER_IMAGE_ubuntu2004: ubuntu2004
59   SAMBA_CI_CONTAINER_IMAGE_debian9: debian9
60   SAMBA_CI_CONTAINER_IMAGE_debian10: debian10
61   SAMBA_CI_CONTAINER_IMAGE_debian11: debian11
62   SAMBA_CI_CONTAINER_IMAGE_opensuse151: opensuse151
63   SAMBA_CI_CONTAINER_IMAGE_opensuse152: opensuse152
64   SAMBA_CI_CONTAINER_IMAGE_fedora34: fedora34
65   SAMBA_CI_CONTAINER_IMAGE_fedora35: fedora35
66   SAMBA_CI_CONTAINER_IMAGE_f35mit120: f35mit120
67   SAMBA_CI_CONTAINER_IMAGE_centos7: centos7
68   SAMBA_CI_CONTAINER_IMAGE_centos8s: centos8s
69
70 include:
71   # The image creation details are specified in a separate file
72   # See bootstrap/README.md for details
73   - 'bootstrap/.gitlab-ci.yml'
74
75 .shared_runner_build_image:
76   extends: .shared_runner_build
77   variables:
78     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE}
79   image: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-${SAMBA_CI_JOB_IMAGE}:${SAMBA_CI_CONTAINER_TAG}
80
81 .shared_template:
82   extends: .shared_runner_build_image
83   # All Samba jobs are interruptible, this avoids burning CPU when a
84   # newer branch is pushed.
85   interruptible: true
86   timeout: 2h
87
88   # Otherwise we run twice, once on push and once on MR
89   # https://forum.gitlab.com/t/new-rules-syntax-and-detached-pipelines/37292
90   rules:
91     - if: $CI_MERGE_REQUEST_ID
92       when: never
93     - when: on_success
94
95   variables:
96     AUTOBUILD_JOB_NAME: $CI_JOB_NAME
97   stage: build
98   cache:
99     key: ccache.${CI_JOB_NAME}.${SAMBA_CI_JOB_IMAGE}.${SAMBA_CI_FLAVOR}
100     paths:
101       - ccache
102
103   # This is overridden in many cases, but ensures none of the other
104   # main jobs start until and unless this build finishes.  However
105   # this also ensures we do not download artifacts from any build
106   # unless we specifically depend on it, saving bandwidth
107
108   needs:
109     - job: samba-def-build
110       artifacts: false
111
112   before_script:
113     - uname -a
114     - lsb_release -a
115     - cat /etc/os-release
116     - lscpu
117     - cat /proc/cpuinfo
118     - mount
119     - df -h
120     - cat /proc/swaps
121     - free -h
122       # ld will fail if coverage enabled, force link ld to ld.bfd
123     - if [ -n "$SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE" ]; then sudo ln -sf $(which ld.bfd) $(which ld); fi
124       # See bootstrap/.gitlab-ci.yml how to generate a new image
125     - echo "SAMBA_CI_CONTAINER_REGISTRY[${SAMBA_CI_CONTAINER_REGISTRY}]"
126     - echo "SAMBA_CI_CONTAINER_TAG[${SAMBA_CI_CONTAINER_TAG}]"
127     - echo "SAMBA_CI_JOB_IMAGE[${SAMBA_CI_JOB_IMAGE}]"
128     - echo "CI_JOB_IMAGE[${CI_JOB_IMAGE}]"
129     - bootstrap/template.py --sha1sum > /tmp/sha1sum-template.txt
130     - diff -u bootstrap/sha1sum.txt /tmp/sha1sum-template.txt
131     - echo "${SAMBA_CI_CONTAINER_TAG}" > /tmp/sha1sum-tag.txt
132     - diff -u bootstrap/sha1sum.txt /tmp/sha1sum-tag.txt
133     - diff -u bootstrap/sha1sum.txt /sha1sum.txt
134     - echo "${CI_COMMIT_SHA} ${CI_COMMIT_TITLE}" > /tmp/commit.txt
135     - export CCACHE_BASEDIR="${PWD}"
136     - export CCACHE_DIR="${PWD}/ccache" && mkdir -pv "$CCACHE_DIR"
137     - export CC="ccache cc"
138     - export CXX="ccache c++"
139     - ccache -z -M 500M
140     - ccache -s
141   after_script:
142     - mount
143     - df -h
144     - cat /proc/swaps
145     - free -h
146     - CCACHE_BASEDIR="${PWD}" CCACHE_DIR="${PWD}/ccache" ccache -s -c
147   artifacts:
148     expire_in: 1 week
149     paths:
150       - "*.stdout"
151       - "*.stderr"
152       - "*.info"
153       - public
154       - system-info.txt
155   retry:
156     max: 2
157     when:
158       - runner_system_failure
159       - stuck_or_timeout_failure
160       - api_failure
161       - runner_unsupported
162       - stale_schedule
163       - archived_failure
164       - scheduler_failure
165       - data_integrity_failure
166
167   script:
168     # gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
169     # autobuild name, which means we can define a default template that runs most autobuild jobs
170     - script/autobuild.py $AUTOBUILD_JOB_NAME $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE  --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase
171
172 # Ensure when adding a new job below that you also add it to
173 # the dependencies for 'pages' below for the code coverage page
174 # generation.
175
176 others:
177   extends: .shared_template
178   script:
179     - script/autobuild.py ldb      $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/ldb
180     - script/autobuild.py pidl     $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/pidl
181     - script/autobuild.py replace  $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/replace
182     - script/autobuild.py talloc   $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/talloc
183     - script/autobuild.py tdb      $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/tdb
184     - script/autobuild.py tevent   $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/tevent
185     - script/autobuild.py samba-xc $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/samba-xc
186     - script/autobuild.py docs-xml $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase/docs-xml
187
188 .shared_template_build_only:
189   extends: .shared_template
190   timeout: 2h
191   needs:
192   artifacts:
193     expire_in: 1 week
194     paths:
195       - "*.stdout"
196       - "*.stderr"
197       - "*.info"
198       - system-info.txt
199       - samba-testbase.tar.gz
200   script:
201     # gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
202     # autobuild name, which means we can define a default template that runs most autobuild jobs
203     - script/autobuild.py $AUTOBUILD_JOB_NAME $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE  --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase
204     # On success we need to pack everything into an artifacts file
205     # which needs to be in the git checkout.
206     # As tar doesn't handle hardlink of read-only files,
207     # we remember the acls and add write permissions
208     # before creating the archive. The consumer will apply
209     # the acls again.
210     - cp -a /sha1sum.txt /tmp/samba-testbase/image-sha1sum.txt
211     - cp -a /tmp/commit.txt /tmp/samba-testbase/commit.txt
212     - ln -s /tmp/samba-testbase/${AUTOBUILD_JOB_NAME}/ /tmp/samba-testbase/build_subdir_link
213     - pushd /tmp && getfacl -R samba-testbase > samba-testbase.acl.dump && popd
214     - chmod -R +w /tmp/samba-testbase
215     - mv /tmp/samba-testbase.acl.dump /tmp/samba-testbase/
216     - tar cfz samba-testbase.tar.gz /tmp/samba-testbase
217     - ls -la samba-testbase.tar.gz
218     - sha1sum samba-testbase.tar.gz
219
220 .shared_template_test_only:
221   extends:
222     - .shared_template
223     - .shared_runner_test
224   stage: test_only
225   script:
226     # Print the Kerberos version to check we ended up with the right one
227     # in the runner. We do not have configure output to recognize it
228     # otherwise.
229     - if [ -x "$(command -v krb5-config)" ]; then krb5-config --version; fi
230     # We unpack the artifacts file created by the .shared_template_build_only
231     # run we depend on
232     - ls -la samba-testbase.tar.gz
233     - sha1sum samba-testbase.tar.gz
234     - tar xfz samba-testbase.tar.gz -C /
235     - diff -u /tmp/samba-testbase/image-sha1sum.txt /sha1sum.txt
236     - diff -u /tmp/samba-testbase/commit.txt /tmp/commit.txt
237     - mv /tmp/samba-testbase/samba-testbase.acl.dump /tmp/samba-testbase.acl.dump
238     - pushd /tmp && setfacl --restore=/tmp/samba-testbase.acl.dump && popd
239     - ls -la /tmp/samba-testbase/
240     - ls -la /tmp/samba-testbase/build_subdir_link
241     - ls -la /tmp/samba-testbase/build_subdir_link/
242     - if [ -n "$SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE" ]; then find /tmp/samba-testbase/build_subdir_link/ -type d -printf "'%p'\n" | xargs chmod u+w; fi
243     - ls -la /tmp/samba-testbase/build_subdir_link/
244     # gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
245     # autobuild name, which means we can define a default template that runs most autobuild jobs
246     - script/autobuild.py $AUTOBUILD_JOB_NAME $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE --skip-dependencies --verbose --nocleanup --keeplogs --tail --full-testbase /tmp/samba-testbase
247
248 samba-def-build:
249   extends: .shared_template_build_only
250   stage: build_first
251
252 .needs_samba-def-build:
253   extends: .shared_template_test_only
254   needs:
255     - job: samba-def-build
256       artifacts: true
257
258 samba-mit-build:
259   extends: .shared_template_build_only
260   variables:
261     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora35}
262   stage: build_first
263
264 samba-mit120-build:
265   extends: .shared_template_build_only
266   variables:
267     AUTOBUILD_JOB_NAME: samba-mit-build
268     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_f35mit120}
269   stage: build_first
270
271 .needs_samba-mit-build:
272   extends: .shared_template_test_only
273   variables:
274     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora35}
275   needs:
276     - job: samba-mit-build
277       artifacts: true
278
279 .needs_samba-mit120-build:
280   extends: .shared_template_test_only
281   variables:
282     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_f35mit120}
283   needs:
284     - job: samba-mit120-build
285       artifacts: true
286
287 samba-h5l-build:
288   extends: .shared_template_build_only
289
290 .needs_samba-h5l-build:
291   extends: .shared_template_test_only
292   needs:
293     - job: samba-h5l-build
294       artifacts: true
295
296 samba-nt4-build:
297   extends: .shared_template_build_only
298
299 .needs_samba-nt4-build:
300   extends: .shared_template_test_only
301   needs:
302     - job: samba-nt4-build
303       artifacts: true
304
305 samba-no-opath-build:
306   extends: .shared_template_build_only
307
308 .needs_samba-no-opath-build:
309   extends: .shared_template_test_only
310   needs:
311     - job: samba-no-opath-build
312       artifacts: true
313
314 samba:
315   extends: .shared_template
316
317 samba-mitkrb5:
318   extends: .shared_template
319   variables:
320     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora35}
321
322 samba-minimal-smbd:
323   extends: .shared_template
324
325 samba-nopython:
326   extends: .shared_template
327
328 samba-admem:
329   extends: .needs_samba-def-build
330
331 samba-ad-dc-2:
332   extends: .needs_samba-def-build
333
334 samba-ad-dc-3:
335   extends: .needs_samba-def-build
336
337 samba-ad-dc-4a:
338   extends: .needs_samba-def-build
339
340 samba-ad-dc-4b:
341   extends: .needs_samba-def-build
342
343 samba-ad-dc-5:
344   extends: .needs_samba-def-build
345
346 samba-ad-dc-6:
347   extends: .needs_samba-def-build
348
349 samba-ad-back1:
350   extends: .needs_samba-def-build
351
352 samba-ad-back2:
353   extends: .needs_samba-def-build
354
355 samba-schemaupgrade:
356   extends: .needs_samba-def-build
357
358 samba-libs:
359   extends: .shared_template
360
361 samba-fuzz:
362   extends: .shared_template
363   variables:
364     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_ubuntu2004}
365
366 ctdb:
367   extends: .shared_template
368
369 samba-ctdb:
370   extends: .shared_template
371
372 samba-ad-dc-ntvfs:
373   extends: .needs_samba-def-build
374
375 samba-admem-mit:
376   extends: .needs_samba-mit-build
377
378 samba-addc-mit-4a:
379   extends: .needs_samba-mit-build
380
381 samba-addc-mit-4b:
382   extends: .needs_samba-mit-build
383
384 # This task is run first to ensure we compile before we start the
385 # main run as it is the fastest full compile of Samba.
386 samba-fips:
387   extends: .shared_template
388   variables:
389     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora35}
390
391 .private_test_only:
392   extends: .private_runner_test
393   stage: test_private
394   rules:
395       # See above, to avoid a duplicate CI on the MR (these rules override the others)
396     - if: $CI_MERGE_REQUEST_ID
397       when: never
398
399       # These jobs are only run if the gitlab repo has private runners available.
400       # To enable private jobs, you must add the following var and value to
401       # your gitlab repo by navigating to:
402       # settings -> CI/CD -> Environment variables
403     - if: $SUPPORT_PRIVATE_TEST == "yes"
404
405 .needs_samba-def-build-private:
406   extends:
407     - .needs_samba-def-build
408     - .private_test_only
409
410 .needs_samba-mit-build-private:
411   extends:
412     - .needs_samba-mit-build
413     - .private_test_only
414
415 .needs_samba-mit120-build-private:
416   extends:
417     - .needs_samba-mit120-build
418     - .private_test_only
419
420 .needs_samba-h5l-build-private:
421   extends:
422     - .needs_samba-h5l-build
423     - .private_test_only
424
425 .needs_samba-nt4-build-private:
426   extends:
427     - .needs_samba-nt4-build
428     - .private_test_only
429
430 .needs_samba-no-opath-build-private:
431   extends:
432     - .needs_samba-no-opath-build
433     - .private_test_only
434
435 samba-fileserver:
436   extends: .needs_samba-h5l-build-private
437
438 # This is a full build without the AD DC so we test the build with MIT
439 # Kerberos from the default system (Ubuntu 18.04 at this stage).
440 # Runtime behaviour checked via the ktest (static ccache and keytab)
441 # environment
442 samba-ktest-mit:
443  extends: .shared_template
444
445 samba-ad-dc-1:
446   extends: .needs_samba-def-build-private
447
448 samba-nt4:
449   extends: .needs_samba-nt4-build-private
450
451 samba-addc-mit-1:
452   extends: .needs_samba-mit-build-private
453
454 samba-addc-mit120:
455   extends: .needs_samba-mit120-build-private
456   variables:
457     AUTOBUILD_JOB_NAME: samba-addc-mit-1
458
459 samba-no-opath1:
460   extends: .needs_samba-no-opath-build-private
461
462 samba-no-opath2:
463   extends: .needs_samba-no-opath-build-private
464
465 # 'pages' is a special job which can publish artifacts in `public` dir to gitlab pages
466 pages:
467   extends: .shared_runner_build_image
468   stage: report
469   dependencies:  # tell gitlab to download artifacts for these jobs
470     - others
471     - samba
472     - samba-mitkrb5
473     - samba-admem
474     - samba-ad-dc-2
475     - samba-ad-dc-3
476     - samba-ad-dc-4a
477     - samba-ad-dc-4b
478     - samba-ad-dc-5
479     - samba-ad-dc-6
480     - samba-libs
481     - samba-minimal-smbd
482     - samba-nopython
483     - samba-fuzz
484     # - ctdb  # TODO
485     - samba-ctdb
486     - samba-ad-dc-ntvfs
487     - samba-admem-mit
488     - samba-addc-mit-4a
489     - samba-addc-mit-4b
490     - samba-ad-back1
491     - samba-ad-back2
492     - samba-fileserver
493     - samba-ad-dc-1
494     - samba-nt4
495     - samba-schemaupgrade
496     - samba-addc-mit-1
497     - samba-fips
498     - samba-no-opath1
499     - samba-no-opath2
500     - ubuntu1804-samba-o3
501   script:
502     - ls -la *.info
503     - ./configure.developer
504     - make -j
505     - ls -la *.info
506     - lcov $(ls *.info | xargs -I{} echo -n "-a {} ") -o all.info
507     - ls -la *.info
508     - genhtml all.info --ignore-errors source --output-directory public --prefix=$(pwd) --title "coverage report for $CI_COMMIT_REF_NAME $CI_COMMIT_SHORT_SHA"
509   artifacts:
510     expire_in: 30 days
511     paths:
512       - public
513   only:
514     variables:
515       - $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == "--enable-coverage"
516
517 # Coverity Scan
518 coverity:
519   extends: .shared_runner_build_image
520   variables:
521     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora34}
522   stage: build
523   script:
524     - wget https://scan.coverity.com/download/linux64 --post-data "token=$COVERITY_SCAN_TOKEN&project=$COVERITY_SCAN_PROJECT_NAME" -O /tmp/coverity_tool.tgz
525     - tar xf /tmp/coverity_tool.tgz
526     - ./configure.developer --with-cluster-support --with-system-mitkrb5 --with-experimental-mit-ad-dc
527     - cov-analysis-linux64-*/bin/cov-build --dir cov-int make -j$(nproc)
528     - tar czf cov-int.tar.gz cov-int
529     - curl
530       --form token=$COVERITY_SCAN_TOKEN
531       --form email=$COVERITY_SCAN_EMAIL
532       --form file=@cov-int.tar.gz
533       --form version="`git describe --tags`"
534       --form description="CI build"
535       https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
536   only:
537     refs:
538       - master
539       - schedules
540     variables:
541       - $COVERITY_SCAN_TOKEN != null
542       - $COVERITY_SCAN_PROJECT_NAME != null
543       - $COVERITY_SCAN_EMAIL != null
544   artifacts:
545     expire_in: 1 week
546     when: on_failure
547     paths:
548       - cov-int/*.txt
549
550 #
551 # We build samba-o3 on all supported distributions
552 #
553
554 # This job, which matches the main CI, needs to still do coverage so
555 # we show the coverage on the "none" environment tests
556 #
557 # We want --enable-coverage specified here otherwise we will have a
558 # different set of build options on the coverage build and can fail
559 # when -O3 gets combined with --enable-coverage in the scheduled
560 # builds.
561
562 ubuntu1804-samba-o3:
563   extends: .shared_template
564   variables:
565     AUTOBUILD_JOB_NAME: samba-o3
566     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_ubuntu1804}
567     SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE: "--enable-coverage"
568   rules:
569     # See above, to avoid a duplicate CI on the MR (these rules override the others)
570     - if: $CI_MERGE_REQUEST_ID
571       when: never
572     # do not run o3 builds (which run a lot of VMs) if told not to
573     # (this uses the same variable as autobuild.py)
574     - if: $AUTOBUILD_SKIP_SAMBA_O3 == "1"
575       when: never
576
577 # All other jobs do not want code coverage.
578 .samba-o3-template:
579   extends: .shared_template
580   variables:
581     AUTOBUILD_JOB_NAME: samba-o3
582   rules:
583     # See above, to avoid a duplicate CI on the MR (these rules override the others)
584     - if: $CI_MERGE_REQUEST_ID
585       when: never
586     # do not run o3 builds (which run a lot of VMs) if told not to
587     # (this uses the same variable as autobuild.py)
588     - if: $AUTOBUILD_SKIP_SAMBA_O3 == "1"
589       when: never
590     # do not run o3 for coverage since they are using different images
591     - if: $SAMBA_CI_AUTOBUILD_ENABLE_COVERAGE == ""
592
593 ubuntu2004-samba-o3:
594   extends: .samba-o3-template
595   variables:
596     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_ubuntu2004}
597
598 debian10-samba-o3:
599   extends: .samba-o3-template
600   variables:
601     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_debian10}
602
603 debian11-samba-o3:
604   extends: .samba-o3-template
605   variables:
606     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_debian11}
607
608 opensuse151-samba-o3:
609   extends: .samba-o3-template
610   variables:
611     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_opensuse151}
612
613 opensuse152-samba-o3:
614   extends: .samba-o3-template
615   variables:
616     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_opensuse152}
617
618 centos7-samba-o3:
619   extends: .samba-o3-template
620   variables:
621     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_centos7}
622     # Git on CentOS doesn't support shallow git cloning
623     GIT_DEPTH: ""
624     # We need a newer GnuTLS version on CentOS7
625     PKG_CONFIG_PATH: "/usr/lib64/compat-gnutls37/pkgconfig:/usr/lib64/compat-nettle32/pkgconfig"
626
627 centos8s-samba-o3:
628   extends: .samba-o3-template
629   variables:
630     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_centos8s}
631
632 fedora34-samba-o3:
633   extends: .samba-o3-template
634   variables:
635     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora34}
636
637 fedora35-samba-o3:
638   extends: .samba-o3-template
639   variables:
640     SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora35}
641
642 #
643 # Keep the samba-o3 sections at the end ...
644 #