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

Update .gitlab-ci.yml

parent ff129b6e
......@@ -81,6 +81,7 @@ stop-review:
staging:
<<: *deploy
stage: staging
when: manual
variables:
APP: staging
APP_HOST: $CI_PROJECT_NAME-staging.$OPENSHIFT_DOMAIN
......@@ -111,10 +112,22 @@ stop-project:
when: manual
variables:
APP: production
# GIT_STRATEGY: none
environment:
name: production
action: stop
only:
- master
\ No newline at end of file
stop-staging:
<<: *deploy
stage: cleanup
script:
- oc delete all -l "app=$APP"
when: manual
variables:
APP: staging
environment:
name: staging
action: stop
only:
- master
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