Commit ff129b6e authored by Arman Khalatyan's avatar Arman Khalatyan
Browse files

Update .gitlab-ci.yml

parent b72d1a0b
Pipeline #1157 passed with stages
in 8 minutes and 10 seconds
...@@ -30,11 +30,11 @@ test1: ...@@ -30,11 +30,11 @@ test1:
script: script:
- echo run tests - echo run tests
#test2: test2:
# stage: test stage: test
# before_script: [] before_script: []
# script: script:
# - echo run tests - echo run tests
.deploy: &deploy .deploy: &deploy
before_script: before_script:
...@@ -102,3 +102,19 @@ production: ...@@ -102,3 +102,19 @@ production:
url: https://$CI_PROJECT_NAME.$OPENSHIFT_DOMAIN url: https://$CI_PROJECT_NAME.$OPENSHIFT_DOMAIN
only: only:
- master - master
stop-project:
<<: *deploy
stage: cleanup
script:
- oc delete all -l "app=$APP"
when: manual
variables:
APP: production
# GIT_STRATEGY: none
environment:
name: production
action: stop
only:
- master
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment