1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

gitlab-ci: split up gitlab-ci file

The "private" build environments are not available to most users so
remove this from the default build.  Only developers with access
to private runners (rather than a shared runner) will have a runner
tagged as "private".

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2018-04-30 20:18:52 +12:00
parent 4365741fe5
commit c9764342c2
2 changed files with 48 additions and 45 deletions

48
.gitlab-ci-private.yml Normal file
View File

@ -0,0 +1,48 @@
include:
- '/.gitlab-ci.yml'
build_samba:
stage: build
tags:
- docker
- private
script:
# this one takes about 4 hours to finish
- python script/autobuild.py samba --verbose --tail --testbase /tmp/samba-testbase
build_samba_nt4:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-nt4 --verbose --tail --testbase /tmp/samba-testbase
build_samba_fileserver:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase
build_samba_ad_dc:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-ad-dc --verbose --tail --testbase /tmp/samba-testbase
build_samba_ad_dc_2:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-ad-dc-2 --verbose --tail --testbase /tmp/samba-testbase

View File

@ -14,51 +14,6 @@ before_script:
sudo swapon /samba-swap;
fi
build_samba:
stage: build
tags:
- docker
- private
script:
# this one takes about 4 hours to finish
- python script/autobuild.py samba --verbose --tail --testbase /tmp/samba-testbase
build_samba_nt4:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-nt4 --verbose --tail --testbase /tmp/samba-testbase
build_samba_fileserver:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase
build_samba_ad_dc:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-ad-dc --verbose --tail --testbase /tmp/samba-testbase
build_samba_ad_dc_2:
stage: build
tags:
- docker
- private
script:
# this one takes about 1 hours to finish
- python script/autobuild.py samba-ad-dc-2 --verbose --tail --testbase /tmp/samba-testbase
build_samba_none_env:
stage: build
tags: