Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
okd-python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Arman Khalatyan
okd-python
Commits
f595a67a
Commit
f595a67a
authored
Jul 15, 2020
by
Arman Khalatyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
ff129b6e
Pipeline
#1158
passed with stages
in 1 minute and 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
.gitlab-ci.yml
.gitlab-ci.yml
+15
-2
No files found.
.gitlab-ci.yml
View file @
f595a67a
...
...
@@ -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
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