diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-11-01 16:38:34 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-11-01 16:41:00 +0300 |
commit | fb183d9c42097a697751076d368d19ad3bc73c6d (patch) | |
tree | 4dca2dc71f3316ad5ff43e5bbc5148243f5f3bc1 | |
parent | b2f7980338e88806d068fd390001d78817cfd01b (diff) |
ci: Introduce a new "analyze" stage
All jobs that either test or analyze are part of the same "test" stage.
Given that the number of jobs has grown quite large by now this makes it
hard to find the job one is searching for.
Introduce a new "analyze" stage to split up those two groups of jobs.
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f88bd9fb4..4f9f593f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ stages: - build - test + - analyze - qa default: @@ -331,13 +332,13 @@ test:macos: verify:docs: image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-markdown:alpine-3.16-vale-2.20.2-markdownlint-0.32.2-markdownlint2-0.5.1 needs: [] - stage: test + stage: analyze script: - make lint-docs verify: needs: [] - stage: test + stage: analyze cache: - *cache_deps_configuration - *cache_gems_configuration @@ -356,7 +357,7 @@ verify: dbschema: needs: [] - stage: test + stage: analyze cache: - *cache_deps_configuration - *cache_gems_configuration @@ -376,6 +377,7 @@ dbschema: semgrep-sast: needs: [] + stage: analyze cache: - *cache_go_configuration rules: @@ -387,6 +389,7 @@ semgrep-sast: license_scanning: needs: [] + stage: analyze rules: - if: $LICENSE_SCANNING_DISABLED when: never @@ -398,6 +401,7 @@ license_scanning: gemnasium-dependency_scanning: needs: [] + stage: analyze rules: - if: $DEPENDENCY_SCANNING_DISABLED when: never @@ -407,6 +411,7 @@ gemnasium-dependency_scanning: secret_detection: needs: [] + stage: analyze rules: - if: $SECRET_DETECTION_DISABLED when: never |