ci: rename build-and-check stage to test
The SAST CI template was recently updated and now includes a few additional jobs. Since GitLab UI's CI configuration does not override those new jobs, the YAML file is considered invalid: https://gitlab.com/gitlab-org/gitlab-ui/pipelines/83190158
Found errors in your .gitlab-ci.yml:
bandit-sast job: stage parameter should be pre-build
build-and-check
deploy
publish
To fix this, we either need to:
- override all the jobs that were added OR
- have a
test
stage in our CI setup
The present MR goes for option 2 by renaming the build-and-check
stage to test
.
Additionally the following jobs have been removed from the YAML since we don't need to override them anymore as they will be run in the test
stage by default:
sast
dependency_scanning
license_management
Edited by Paul Gascou-Vaillancourt