summaryrefslogtreecommitdiff
path: root/.gitlab-ci-private.yml
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-02-13 16:43:51 +1300
committerAndrew Bartlett <abartlet@samba.org>2019-02-14 02:18:30 +0100
commit20017b57061e1dad6c483eed24d9e996da559f1b (patch)
treee5a074d45f533dd84c37e4e789cd8a00f5954f72 /.gitlab-ci-private.yml
parentda56644792379b1ead8221233f1b43f55e942202 (diff)
downloadsamba-20017b57061e1dad6c483eed24d9e996da559f1b.tar.gz
.gitlab-ci.yml: Use .extends to avoid duplication of autobuild command
This should make our .gitlab-ci.yml file much less overwealming. The downside is that $CI_JOB_NAME is printed rather than the job name in the log, but the upside is that the names must now strictly match. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Diffstat (limited to '.gitlab-ci-private.yml')
-rw-r--r--.gitlab-ci-private.yml23
1 files changed, 5 insertions, 18 deletions
diff --git a/.gitlab-ci-private.yml b/.gitlab-ci-private.yml
index f42ec08b311..62fe15499b9 100644
--- a/.gitlab-ci-private.yml
+++ b/.gitlab-ci-private.yml
@@ -16,36 +16,23 @@ include:
samba:
extends: .private_template
- script:
# this one takes about 4 hours to finish
- - script/autobuild.py samba --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-samba_py2:
+samba-py2:
extends: .private_template
- script:
# this one takes about 4 hours to finish
- - script/autobuild.py samba-py2 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-samba_fileserver:
+samba-fileserver:
extends: .private_template
- script:
# this one takes about 1 hours to finish
- - script/autobuild.py samba-fileserver --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-samba_ad_dc:
+samba-ad-dc:
extends: .private_template
- script:
# this one takes about 1 hours to finish
- - script/autobuild.py samba-ad-dc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-
-samba_ad_dc_py2:
+samba-ad-dc-py2:
extends: .private_template
- script:
# this one takes about 1 hours to finish
- - script/autobuild.py samba-ad-dc-py2 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
-nt4:
+samba-nt4:
extends: .private_template
- script:
- - script/autobuild.py samba-nt4 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase