1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

gitlab-ci: Add a shellcheck runner

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>

Autobuild-User(master): Pavel Filipensky <pfilipensky@samba.org>
Autobuild-Date(master): Mon Aug 22 21:30:09 UTC 2022 on sn-devel-184
This commit is contained in:
Andreas Schneider 2022-02-21 11:36:39 +01:00 committed by Pavel Filipensky
parent f12aa54ba0
commit 339e78f207
2 changed files with 15 additions and 0 deletions

View File

@ -256,6 +256,7 @@ samba-def-build:
needs:
- job: samba-def-build
artifacts: true
- job: samba-shellcheck
samba-mit-build:
extends: .shared_template_build_only
@ -277,6 +278,7 @@ samba-mit120-build:
needs:
- job: samba-mit-build
artifacts: true
- job: samba-shellcheck
.needs_samba-mit120-build:
extends: .shared_template_test_only
@ -399,6 +401,13 @@ samba-fips:
variables:
SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora36}
samba-shellcheck:
extends: .shared_template
needs:
variables:
SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora36}
stage: build_first
.private_test_only:
extends: .private_runner_test
stage: test_private

View File

@ -1020,6 +1020,12 @@ tasks = {
],
},
"samba-shellcheck": {
"sequence": [
("run", "script/check-shell-scripts.sh ."),
],
},
"ldb": {
"sequence": [
("random-sleep", random_sleep(60, 600)),