Skip to content

Commit

Permalink
autobuild: Split up the build further with samba-ad-dc-2
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Bartlett <[email protected]>
Reviewed-by: Gary Lockyer <[email protected]>
  • Loading branch information
abartlet committed Mar 27, 2018
1 parent 474b39c commit 56191dc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ build_samba_ad_dc:
# 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:
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
- TASK=samba-nt4
- TASK=samba-fileserver
- TASK=samba-ad-dc
- TASK=samba-ad-dc-2
- TASK=ldb
- TASK=tdb
- TASK=talloc
Expand Down
12 changes: 12 additions & 0 deletions script/autobuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"samba-test-only" : ".",
"samba-none-env" : ".",
"samba-ad-dc" : ".",
"samba-ad-dc-2" : ".",
"samba-systemkrb5" : ".",
"samba-nopython" : ".",
"ldb" : "lib/ldb",
Expand All @@ -60,6 +61,7 @@
"samba-static",
"samba-none-env",
"samba-ad-dc",
"samba-ad-dc-2",
"samba-systemkrb5",
"samba-nopython",
"ldb",
Expand Down Expand Up @@ -104,6 +106,9 @@
"--exclude-env=nt4_dc "
"--exclude-env=nt4_member "
"--exclude-env=ad_dc "
"--exclude-env=chgdcpass "
"--exclude-env=vampire_2000_dc "
"--exclude-env=fl2000dc "
"--exclude-env=fileserver'",
"text/plain"),
("install", "make install", "text/plain"),
Expand Down Expand Up @@ -132,6 +137,13 @@
("test", "make test FAIL_IMMEDIATELY=1 TESTS='--include-env=ad_dc'", "text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],

# We split out this so the isolated ad_dc tests do not wait for ad_dc_ntvfs tests (which are long)
"samba-ad-dc-2" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"),
("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
("make", "make -j", "text/plain"),
("test", "make test FAIL_IMMEDIATELY=1 TESTS='--include-env=chgdcpass --include-env=vampire_2000_dc --include-env=fl2000dc'", "text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],

"samba-test-only" : [ ("configure", "./configure.developer --with-selftest-prefix=./bin/ab --abi-check-disable" + samba_configure_params, "text/plain"),
("make", "make -j", "text/plain"),
("test", 'make test FAIL_IMMEDIATELY=1 TESTS="${TESTS}"',"text/plain") ],
Expand Down

0 comments on commit 56191dc

Please sign in to comment.