BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
125abfd4
Commit
125abfd4
authored
Jan 22, 2017
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'update-auto-deploy-templates' into 'master'
Update autodeploy templates [ci skip] See merge request !8695
parents
0363734c
5c444aed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
0 deletions
+76
-0
Kubernetes.gitlab-ci.yml
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
+76
-0
No files found.
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
0 → 100644
View file @
125abfd4
# Explaination on the scripts:
# https://gitlab.com/gitlab-examples/kubernetes-deploy/blob/master/README.md
image
:
registry.gitlab.com/gitlab-examples/kubernetes-deploy
variables
:
# Application deployment domain
KUBE_DOMAIN
:
domain.example.com
stages
:
-
build
-
test
-
review
-
staging
-
production
build
:
stage
:
build
script
:
-
command build
only
:
-
branches
production
:
stage
:
production
variables
:
CI_ENVIRONMENT_URL
:
http://production.$KUBE_DOMAIN
script
:
-
command deploy
environment
:
name
:
production
url
:
http://production.$KUBE_DOMAIN
when
:
manual
only
:
-
master
staging
:
stage
:
staging
variables
:
CI_ENVIRONMENT_URL
:
http://staging.$KUBE_DOMAIN
script
:
-
command deploy
environment
:
name
:
staging
url
:
http://staging.$KUBE_DOMAIN
only
:
-
master
review
:
stage
:
review
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN
script
:
-
command deploy
environment
:
name
:
review/$CI_BUILD_REF_NAME
url
:
http://$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN
on_stop
:
stop_review
only
:
-
branches
except
:
-
master
stop_review
:
stage
:
review
variables
:
GIT_STRATEGY
:
none
script
:
-
command destroy
environment
:
name
:
review/$CI_BUILD_REF_NAME
action
:
stop
when
:
manual
only
:
-
branches
except
:
-
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