Commit 09031404 authored by Arman Khalatyan's avatar Arman Khalatyan

Update .gitlab-ci.yml

parent f595a67a
Pipeline #1159 passed with stages
in 5 minutes and 50 seconds
......@@ -44,7 +44,6 @@ test2:
- "oc get services $APP 2> /dev/null || oc new-app . --name=$APP --strategy=docker"
- "oc start-build $APP --from-dir=. --follow || sleep 3s && oc start-build $APP --from-dir=. --follow"
- "oc get routes $APP 2> /dev/null || oc create route edge $APP --service $APP --insecure-policy Redirect"
#oc expose service $APP --hostname=$APP_HOST"
review:
<<: *deploy
......@@ -81,7 +80,6 @@ stop-review:
staging:
<<: *deploy
stage: staging
when: manual
variables:
APP: staging
APP_HOST: $CI_PROJECT_NAME-staging.$OPENSHIFT_DOMAIN
......@@ -97,7 +95,6 @@ production:
variables:
APP: production
APP_HOST: $CI_PROJECT_NAME.$OPENSHIFT_DOMAIN
when: manual
environment:
name: production
url: https://$CI_PROJECT_NAME.$OPENSHIFT_DOMAIN
......
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