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

gitlab-ci: Create a single samba-fips runner

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2020-05-19 07:21:25 +02:00 committed by Andrew Bartlett
parent 1e55591bc5
commit 10b195fe12
2 changed files with 6 additions and 22 deletions

View File

@ -181,11 +181,7 @@ samba-admem-mit:
samba-ad-dc-4-mitkrb5:
extends: .shared_template
samba-ad-dc-fips:
extends: .shared_template
image: $SAMBA_CI_CONTAINER_IMAGE_fedora31
samba-admem-fips:
samba-fips:
extends: .shared_template
image: $SAMBA_CI_CONTAINER_IMAGE_fedora31
@ -253,7 +249,7 @@ pages:
- samba-nt4
- samba-schemaupgrade
- samba-ad-dc-1-mitkrb5
- samba-ad-dc-fips
- samba-fips
script:
- ./configure.developer
- make -j

View File

@ -458,11 +458,11 @@ tasks = {
],
# Test fips compliance
"samba-ad-dc-fips": [
("random-sleep", random_sleep(1, 1)),
"samba-fips": [
("random-sleep", random_sleep(100, 500)),
("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
("make", "make -j"),
("test", make_test(include_envs=["ad_dc_fips"])),
("test", make_test(include_envs=["ad_dc_fips", "ad_member_fips"])),
("lcov", LCOV_CMD),
("check-clean-tree", "script/clean-source-tree.sh"),
],
@ -499,17 +499,6 @@ tasks = {
("check-clean-tree", "script/clean-source-tree.sh"),
],
"samba-admem-fips": [
("random-sleep", random_sleep(1, 1)),
("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
("make", "make -j"),
("test", make_test(include_envs=[
"ad_member_fips",
])),
("lcov", LCOV_CMD),
("check-clean-tree", "script/clean-source-tree.sh"),
],
"samba-ad-dc-1-mitkrb5": [
("random-sleep", random_sleep(1, 1)),
("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
@ -838,8 +827,7 @@ defaulttasks.remove("pass")
defaulttasks.remove("fail")
defaulttasks.remove("samba-test-only")
defaulttasks.remove("samba-fuzz")
defaulttasks.remove("samba-ad-dc-fips")
defaulttasks.remove("samba-admem-fips")
defaulttasks.remove("samba-fips")
if os.environ.get("AUTOBUILD_SKIP_SAMBA_O3", "0") == "1":
defaulttasks.remove("samba-o3")