diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-10 13:41:37 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-03-10 13:41:37 +0300 |
commit | 548b607461d36903fce5f7a23becfa16b1ac838f (patch) | |
tree | 8fd405cf7a4c8432549b15f68fc88b11c74db76a /vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml | |
parent | 81ad61113112c49704cfe24b8e47479976422e60 (diff) |
Update templates with new CI variables
Diffstat (limited to 'vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml')
-rw-r--r-- | vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml b/vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml index 6b6c405a507..d3bb388a1e7 100644 --- a/vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml +++ b/vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml @@ -38,11 +38,11 @@ review: <<: *deploy stage: review variables: - APP: $CI_BUILD_REF_NAME - APP_HOST: $CI_PROJECT_NAME-$CI_BUILD_REF_NAME.$OPENSHIFT_DOMAIN + APP: $CI_COMMIT_REF_NAME + APP_HOST: $CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN environment: - name: review/$CI_BUILD_REF_NAME - url: http://$CI_PROJECT_NAME-$CI_BUILD_REF_NAME.$OPENSHIFT_DOMAIN + name: review/$CI_COMMIT_REF_SLUG + url: http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN on_stop: stop-review only: - branches @@ -56,10 +56,10 @@ stop-review: - oc delete all -l "app=$APP" when: manual variables: - APP: $CI_BUILD_REF_NAME + APP: $CI_COMMIT_REF_NAME GIT_STRATEGY: none environment: - name: review/$CI_BUILD_REF_NAME + name: review/$CI_COMMIT_REF_SLUG action: stop only: - branches |