diff options
author | James Lopez <james@jameslopez.es> | 2017-01-09 15:24:25 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-09 15:24:25 +0100 |
commit | 719294cbfe522f1706292dccb5f269503502b37d (patch) | |
tree | 42cefeae624c315e3c525042502b40a1e040debc /vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml | |
parent | 583deef209af5a2700701fb0933582a7b5680620 (diff) | |
download | gitlab-ce-719294cbfe522f1706292dccb5f269503502b37d.tar.gz |
update templates
Diffstat (limited to 'vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml')
-rw-r--r-- | vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml b/vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml deleted file mode 100644 index e384b585ae0..00000000000 --- a/vendor/gitlab-ci-yml/autodeploy/OpenShift.gitlab-ci.yml +++ /dev/null @@ -1,74 +0,0 @@ -image: registry.gitlab.com/gitlab-examples/openshift-deploy - -variables: - # Application deployment domain - KUBE_DOMAIN: domain.example.com - -stages: - - build - - test - - review - - staging - - production - -build: - stage: build - script: - - command build - only: - - branches - -production: - stage: production - variables: - CI_ENVIRONMENT_URL: http://production.$KUBE_DOMAIN - script: - - command deploy - environment: - name: production - url: http://production.$KUBE_DOMAIN - when: manual - only: - - master - -staging: - stage: staging - variables: - CI_ENVIRONMENT_URL: http://staging.$KUBE_DOMAIN - script: - - command deploy - environment: - name: staging - url: http://staging.$KUBE_DOMAIN - only: - - master - -review: - stage: review - variables: - CI_ENVIRONMENT_URL: http://$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN - script: - - command deploy - environment: - name: review/$CI_BUILD_REF_NAME - url: http://$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN - on_stop: stop_review - only: - - branches - except: - - master - -stop_review: - stage: review - variables: - GIT_STRATEGY: none - script: - - command destroy - environment: - name: review/$CI_BUILD_REF_NAME - action: stop - when: manual - only: - - branches - except: - - master |