Merge remote-tracking branch 'origin/test' into test
This commit is contained in:
@@ -1,18 +1,9 @@
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- 'test'
|
- 'test'
|
||||||
- 'code_quality'
|
|
||||||
- 'build'
|
- 'build'
|
||||||
- 'deploy'
|
|
||||||
- 'push'
|
- 'push'
|
||||||
|
|
||||||
sast:
|
|
||||||
stage: 'test'
|
|
||||||
include:
|
|
||||||
- template: Security/SAST.gitlab-ci.yml
|
|
||||||
- template: Security/Dependency-Scanning.gitlab-ci.yml
|
|
||||||
- template: Security/SAST-IaC.gitlab-ci.yml
|
|
||||||
|
|
||||||
pytest:
|
pytest:
|
||||||
stage: 'test'
|
stage: 'test'
|
||||||
image: python
|
image: python
|
||||||
@@ -41,9 +32,6 @@ variables:
|
|||||||
DOCKER_TLS_CERTDIR: ""
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
|
||||||
|
|
||||||
services:
|
|
||||||
- name: docker:26.1.3-dind
|
|
||||||
entrypoint: [ "env", "-u", "DOCKER_HOST" ]
|
|
||||||
|
|
||||||
make_image:
|
make_image:
|
||||||
stage: build
|
stage: build
|
||||||
@@ -80,9 +68,6 @@ Push latest:
|
|||||||
# We do not need GitLab to clone the source code.
|
# We do not need GitLab to clone the source code.
|
||||||
GIT_STRATEGY: none
|
GIT_STRATEGY: none
|
||||||
stage: push
|
stage: push
|
||||||
only:
|
|
||||||
# Only "master" should be tagged "latest"
|
|
||||||
- master
|
|
||||||
script:
|
script:
|
||||||
# Because we have no guarantee that this job will be picked up by the same runner
|
# Because we have no guarantee that this job will be picked up by the same runner
|
||||||
# that built the image in the previous step, we pull it again locally
|
# that built the image in the previous step, we pull it again locally
|
||||||
|
|||||||
Reference in New Issue
Block a user