Skip to content
代码片段 群组 项目
未验证 提交 6131e889 编辑于 作者: David Dieulivol's avatar David Dieulivol 提交者: GitLab
浏览文件

Merge branch...

Merge branch '441437-e-version-0-7-1-1-deb11u1-for-shellcheck-was-not-found-in-templates-shellcheck-job' into 'master' 

ci: Fix shellcheck version installed on bookworm

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/144466



Merged-by: default avatarDavid Dieulivol <ddieulivol@gitlab.com>
Approved-by: default avatarPeter Leitzen <pleitzen@gitlab.com>
Approved-by: default avatarDavid Dieulivol <ddieulivol@gitlab.com>
Co-authored-by: default avatarRémy Coutable <remy@rymai.me>
No related branches found
No related tags found
无相关合并请求
templates-shellcheck:
extends:
- .ci-templates:rules:shellcheck
- .default-before_script
- .default-retry
- .ruby-cache
- .use-pg15
stage: test
needs:
- setup-test-env
script:
# Try bullseye (0.7) first and then bookworm (0.9)
- apt update && apt install -y shellcheck=0.7.1-1+deb11u1 || apt install -y shellcheck=0.9.0-1
- bundle exec scripts/lint_templates_bash.rb
...@@ -191,6 +191,7 @@ ...@@ -191,6 +191,7 @@
- "{,ee/,jh/}{bin,config}/**/*.rb" - "{,ee/,jh/}{bin,config}/**/*.rb"
.ci-templates-patterns: &ci-templates-patterns .ci-templates-patterns: &ci-templates-patterns
- ".gitlab/ci/static-analysis.gitlab-ci.yml"
- "lib/gitlab/ci/templates/**/*.gitlab-ci.yml" - "lib/gitlab/ci/templates/**/*.gitlab-ci.yml"
.ci-qa-patterns: &ci-qa-patterns .ci-qa-patterns: &ci-qa-patterns
......
...@@ -200,6 +200,20 @@ audit-event-types-verify: ...@@ -200,6 +200,20 @@ audit-event-types-verify:
script: script:
- bundle exec rake gitlab:audit_event_types:check_docs - bundle exec rake gitlab:audit_event_types:check_docs
templates-shellcheck:
extends:
- .ci-templates:rules:shellcheck
- .default-before_script
- .default-retry
- .ruby-cache
- .use-pg15
stage: lint
needs:
- setup-test-env
script:
- apt update && apt install -y shellcheck=0.9.0-1
- bundle exec scripts/lint_templates_bash.rb
ping-appsec-for-sast-findings: ping-appsec-for-sast-findings:
stage: lint stage: lint
image: alpine:latest image: alpine:latest
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册