Skip to content
Snippets Groups Projects
Commit b4cbdfdf authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch 'feat/enforce-boolean-vars' into 'master'

Enforce AUTODEPLOY_TO_PROD and PUBLISH_ON_PROD as boolean variables

See merge request to-be-continuous/openshift!24
parents bd834c04 2769f231
No related branches found
No related tags found
No related merge requests found
...@@ -777,9 +777,9 @@ os-production: ...@@ -777,9 +777,9 @@ os-production:
- if: '$OS_PROD_PROJECT == null || $OS_PROD_PROJECT == ""' - if: '$OS_PROD_PROJECT == null || $OS_PROD_PROJECT == ""'
when: never when: never
# if $AUTODEPLOY_TO_PROD: auto # if $AUTODEPLOY_TO_PROD: auto
- if: $AUTODEPLOY_TO_PROD - if: '$AUTODEPLOY_TO_PROD == "true"'
# else if PUBLISH_ON_PROD enabled: auto (because the publish job was blocking) # else if PUBLISH_ON_PROD enabled: auto (because the publish job was blocking)
- if: '$PUBLISH_ON_PROD == "true" || $PUBLISH_ON_PROD == "yes"' - if: '$PUBLISH_ON_PROD == "true"'
# else: manual, blocking # else: manual, blocking
- if: $OS_PROD_PROJECT # useless test, just to prevent GitLab warning - if: $OS_PROD_PROJECT # useless test, just to prevent GitLab warning
when: manual when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment