1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
5 # we run autobuild.py inside a samba CI docker image located on gitlab's registry
6 SAMBA_CI_CONTAINER_REGISTRY: registry.gitlab.com
7 SAMBA_CI_CONTAINER_NAME: samba-team/samba
8 SAMBA_CI_CONTAINER_TAG: latest
9 SAMBA_CI_CONTAINER_IMAGE: $SAMBA_CI_CONTAINER_REGISTRY/$SAMBA_CI_CONTAINER_NAME:$SAMBA_CI_CONTAINER_TAG
14 image: $SAMBA_CI_CONTAINER_IMAGE
32 - /tmp/samba-testbase/*/*/bin/config.log
36 - runner_system_failure
37 - stuck_or_timeout_failure
39 # gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
40 # autobuild name, which means we can define a default template that runs most autobuild jobs
41 - echo "Running cmd script/autobuild.py $CI_JOB_NAME --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
42 - script/autobuild.py $CI_JOB_NAME --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
45 extends: .shared_template
47 - script/autobuild.py ldb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
48 - script/autobuild.py pidl --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
49 - script/autobuild.py replace --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
50 - script/autobuild.py talloc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
51 - script/autobuild.py tdb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
52 - script/autobuild.py tevent --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
55 extends: .shared_template
58 extends: .shared_template
59 # this one takes about 1 hours to finish
62 extends: .shared_template
65 extends: .shared_template
68 extends: .shared_template
71 extends: .shared_template
74 extends: .shared_template
77 extends: .shared_template
80 extends: .shared_template
83 extends: .shared_template
86 extends: .shared_template
89 extends: .shared_template
92 extends: .shared_template
95 extends: .shared_template
98 extends: .shared_template
101 extends: .shared_template
104 extends: .shared_template
107 extends: .shared_template
110 extends: .shared_template
111 # this one takes about 100 mins to finish
115 extends: .shared_template
127 # These jobs are only run if the gitlab repo has private runners available.
128 # To enable private jobs, you must add the following var and value to
129 # your gitlab repo by navigating to:
130 # settings -> CI/CD -> Environment variables
131 - $SUPPORT_PRIVATE_TEST == "yes"
134 extends: .private_template
135 # this one takes about 1 hours to finish
138 extends: .private_template
141 extends: .private_template