adjust ci rules
This commit is contained in:
@@ -77,7 +77,7 @@ generate-defectdojo-api:
|
|||||||
- docker
|
- docker
|
||||||
- bash
|
- bash
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_TAG'
|
- if: '$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH == "production_deployment"'
|
||||||
script:
|
script:
|
||||||
- docker build --build-arg ADDITIONAL_CA_URL="$KROHNE_CA_URL"
|
- docker build --build-arg ADDITIONAL_CA_URL="$KROHNE_CA_URL"
|
||||||
--build-arg ADDITIONAL_CA_CHECKSUM=$KROHNE_CA_CHECKSUM
|
--build-arg ADDITIONAL_CA_CHECKSUM=$KROHNE_CA_CHECKSUM
|
||||||
@@ -133,9 +133,8 @@ dockerize-server:
|
|||||||
|
|
||||||
deploy-test:
|
deploy-test:
|
||||||
extends: .deploy
|
extends: .deploy
|
||||||
only:
|
rules:
|
||||||
refs:
|
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||||
- main
|
|
||||||
tags:
|
tags:
|
||||||
- test-deployment-de01rdtst01
|
- test-deployment-de01rdtst01
|
||||||
variables:
|
variables:
|
||||||
@@ -145,9 +144,8 @@ deploy-test:
|
|||||||
|
|
||||||
deploy-dev:
|
deploy-dev:
|
||||||
extends: .deploy
|
extends: .deploy
|
||||||
only:
|
rules:
|
||||||
refs:
|
- if: '$CI_COMMIT_BRANCH == "production_deployment"'
|
||||||
- production_deployment
|
|
||||||
tags:
|
tags:
|
||||||
- for-common-services-prod-deployment-only
|
- for-common-services-prod-deployment-only
|
||||||
variables:
|
variables:
|
||||||
|
Reference in New Issue
Block a user