mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +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:
parent
f12aa54ba0
commit
339e78f207
@ -256,6 +256,7 @@ samba-def-build:
|
|||||||
needs:
|
needs:
|
||||||
- job: samba-def-build
|
- job: samba-def-build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: samba-shellcheck
|
||||||
|
|
||||||
samba-mit-build:
|
samba-mit-build:
|
||||||
extends: .shared_template_build_only
|
extends: .shared_template_build_only
|
||||||
@ -277,6 +278,7 @@ samba-mit120-build:
|
|||||||
needs:
|
needs:
|
||||||
- job: samba-mit-build
|
- job: samba-mit-build
|
||||||
artifacts: true
|
artifacts: true
|
||||||
|
- job: samba-shellcheck
|
||||||
|
|
||||||
.needs_samba-mit120-build:
|
.needs_samba-mit120-build:
|
||||||
extends: .shared_template_test_only
|
extends: .shared_template_test_only
|
||||||
@ -399,6 +401,13 @@ samba-fips:
|
|||||||
variables:
|
variables:
|
||||||
SAMBA_CI_JOB_IMAGE: ${SAMBA_CI_CONTAINER_IMAGE_fedora36}
|
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:
|
.private_test_only:
|
||||||
extends: .private_runner_test
|
extends: .private_runner_test
|
||||||
stage: test_private
|
stage: test_private
|
||||||
|
@ -1020,6 +1020,12 @@ tasks = {
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"samba-shellcheck": {
|
||||||
|
"sequence": [
|
||||||
|
("run", "script/check-shell-scripts.sh ."),
|
||||||
|
],
|
||||||
|
},
|
||||||
|
|
||||||
"ldb": {
|
"ldb": {
|
||||||
"sequence": [
|
"sequence": [
|
||||||
("random-sleep", random_sleep(60, 600)),
|
("random-sleep", random_sleep(60, 600)),
|
||||||
|
Loading…
Reference in New Issue
Block a user