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
39 - /tmp/samba-testbase/*/*/bin/config.log
43 - runner_system_failure
44 - stuck_or_timeout_failure
46 # gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
47 # autobuild name, which means we can define a default template that runs most autobuild jobs
48 - echo "Running cmd script/autobuild.py $CI_JOB_NAME --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
49 - script/autobuild.py $CI_JOB_NAME --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
52 extends: .shared_template
54 - script/autobuild.py ldb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
55 - script/autobuild.py pidl --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
56 - script/autobuild.py replace --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
57 - script/autobuild.py talloc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
58 - script/autobuild.py tdb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
59 - script/autobuild.py tevent --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
62 extends: .shared_template
65 extends: .shared_template
66 # this one takes about 1 hours to finish
69 extends: .shared_template
72 extends: .shared_template
75 extends: .shared_template
78 extends: .shared_template
81 extends: .shared_template
84 extends: .shared_template
87 extends: .shared_template
90 extends: .shared_template
93 extends: .shared_template
96 extends: .shared_template
99 extends: .shared_template
102 extends: .shared_template
105 extends: .shared_template
108 extends: .shared_template
111 extends: .shared_template
114 extends: .shared_template
117 extends: .shared_template
120 extends: .shared_template
121 # this one takes about 100 mins to finish
125 extends: .shared_template
131 # These jobs are only run if the gitlab repo has private runners available.
132 # To enable private jobs, you must add the following var and value to
133 # your gitlab repo by navigating to:
134 # settings -> CI/CD -> Environment variables
135 - $SUPPORT_PRIVATE_TEST == "yes"
138 extends: .private_template
139 # this one takes about 1 hours to finish
142 extends: .private_template
145 extends: .private_template