mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
gitlab-ci: Add runner for fips compliance testing
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Apr 8 14:45:18 UTC 2020 on sn-devel-184
This commit is contained in:
parent
5ae07ac3ea
commit
9918abd732
@ -181,6 +181,10 @@ samba-admem-mit:
|
||||
samba-ad-dc-4-mitkrb5:
|
||||
extends: .shared_template
|
||||
|
||||
samba-ad-dc-fips:
|
||||
extends: .shared_template
|
||||
image: $SAMBA_CI_CONTAINER_IMAGE_fedora31
|
||||
|
||||
.private_template:
|
||||
extends: .shared_template
|
||||
tags:
|
||||
@ -245,6 +249,7 @@ pages:
|
||||
- samba-nt4
|
||||
- samba-schemaupgrade
|
||||
- samba-ad-dc-1-mitkrb5
|
||||
- samba-ad-dc-fips
|
||||
script:
|
||||
- ./configure.developer
|
||||
- make -j
|
||||
|
@ -456,6 +456,16 @@ tasks = {
|
||||
("check-clean-tree", "script/clean-source-tree.sh"),
|
||||
],
|
||||
|
||||
# Test fips compliance
|
||||
"samba-ad-dc-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_dc_fips"])),
|
||||
("lcov", LCOV_CMD),
|
||||
("check-clean-tree", "script/clean-source-tree.sh"),
|
||||
],
|
||||
|
||||
# run the backup/restore testenvs separately as they're fairly standalone
|
||||
# (and CI seems to max out at ~8 different DCs running at once)
|
||||
"samba-ad-dc-backup": [
|
||||
@ -816,6 +826,7 @@ defaulttasks.remove("pass")
|
||||
defaulttasks.remove("fail")
|
||||
defaulttasks.remove("samba-test-only")
|
||||
defaulttasks.remove("samba-fuzz")
|
||||
defaulttasks.remove("samba-ad-dc-fips")
|
||||
if os.environ.get("AUTOBUILD_SKIP_SAMBA_O3", "0") == "1":
|
||||
defaulttasks.remove("samba-o3")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user