Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Arman Khalatyan
okd-panel
Commits
94442ad0
Commit
94442ad0
authored
Jul 16, 2020
by
Arman Khalatyan
Browse files
Update .gitlab-ci.yml
parent
167c3426
Pipeline
#1169
canceled with stages
in 2 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
94442ad0
...
...
@@ -42,37 +42,6 @@ test2:
-
"
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"
review
:
<<
:
*deploy
stage
:
review
variables
:
APP
:
review-$CI_COMMIT_REF_NAME
APP_HOST
:
$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
environment
:
name
:
review/$CI_COMMIT_REF_NAME
url
:
https://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
on_stop
:
stop-review
only
:
-
branches
except
:
-
master
stop-review
:
<<
:
*deploy
stage
:
cleanup
script
:
-
oc delete all -l "app=$APP"
when
:
manual
variables
:
APP
:
review-$CI_COMMIT_REF_NAME
GIT_STRATEGY
:
none
environment
:
name
:
review/$CI_COMMIT_REF_NAME
action
:
stop
only
:
-
branches
except
:
-
master
staging
:
<<
:
*deploy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment