1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
5 SAMBA_BUILD_GITLAB_CI_REGISTRY: registry.gitlab.com
6 SAMBA_BUILD_IMAGES_PROJECT: samba-team/samba
12 image: $SAMBA_BUILD_GITLAB_CI_REGISTRY/$SAMBA_BUILD_IMAGES_PROJECT:$SAMBA_BUILD
20 - echo "Build starting (preparing swap)..."
21 - if [ $(df -m / --output=avail | tail -n1) -gt 10240 ]; then
22 sudo dd if=/dev/zero of=/samba-swap bs=1M count=6144;
23 sudo mkswap /samba-swap;
24 sudo swapon /samba-swap;
36 - /tmp/samba-testbase/*/*/bin/config.log
40 - runner_system_failure
41 - stuck_or_timeout_failure
43 # gitlab predefines CI_JOB_NAME for each job. The gitlab job usually matches the
44 # autobuild name, which means we can define a default template that runs most autobuild jobs
45 - echo "Running cmd script/autobuild.py $CI_JOB_NAME --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase"
46 - script/autobuild.py $CI_JOB_NAME --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
49 extends: .shared_template
51 - script/autobuild.py ldb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
52 - script/autobuild.py pidl --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
53 - script/autobuild.py replace --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
54 - script/autobuild.py talloc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
55 - script/autobuild.py tdb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
56 - script/autobuild.py tevent --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
59 extends: .shared_template
60 # this one takes about 1 hours to finish
63 extends: .shared_template
64 # this one takes about 1 hours to finish
67 extends: .shared_template
70 extends: .shared_template
73 extends: .shared_template
76 extends: .shared_template
79 extends: .shared_template
80 # this one takes about 1 hours to finish
83 extends: .shared_template
86 extends: .shared_template
87 # this one takes about 1 hours to finish
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
109 # this one takes about 100 mins to finish
111 samba-ad-dc-ntvfs-py2:
112 extends: .shared_template