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:
script:
- echo run tests
#test2:
# stage: test
# before_script: []
# script:
# - echo run tests
test2:
stage: test
before_script: []
script:
- echo run tests
.deploy: &deploy
before_script:
......@@ -102,3 +102,19 @@ production:
url: https://$CI_PROJECT_NAME.$OPENSHIFT_DOMAIN
only:
- 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