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
6c65b63c
Commit
6c65b63c
authored
Apr 20, 2017
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj-update-ci-templates' into 'master'
Update CI templates to include 9.1 templates See merge request !10807
parents
b8b6ab6b
58b4cbbc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
8 deletions
+86
-8
OpenShift.gitlab-ci.yml
vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml
+2
-2
Kubernetes-with-canary.gitlab-ci.yml
...ab-ci-yml/autodeploy/Kubernetes-with-canary.gitlab-ci.yml
+84
-0
Kubernetes.gitlab-ci.yml
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
+0
-6
No files found.
vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml
View file @
6c65b63c
...
...
@@ -41,7 +41,7 @@ review:
APP
:
$CI_COMMIT_REF_NAME
APP_HOST
:
$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
environment
:
name
:
review/$CI_COMMIT_REF_
SLUG
name
:
review/$CI_COMMIT_REF_
NAME
url
:
http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
on_stop
:
stop-review
only
:
...
...
@@ -59,7 +59,7 @@ stop-review:
APP
:
$CI_COMMIT_REF_NAME
GIT_STRATEGY
:
none
environment
:
name
:
review/$CI_COMMIT_REF_
SLUG
name
:
review/$CI_COMMIT_REF_
NAME
action
:
stop
only
:
-
branches
...
...
vendor/gitlab-ci-yml/autodeploy/Kubernetes-with-canary.gitlab-ci.yml
0 → 100644
View file @
6c65b63c
# Explanation 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
-
canary
-
production
-
cleanup
build
:
stage
:
build
script
:
-
command build
only
:
-
branches
canary
:
stage
:
canary
script
:
-
command canary
environment
:
name
:
production
url
:
http://$CI_PROJECT_NAME.$KUBE_DOMAIN
when
:
manual
only
:
-
master
production
:
stage
:
production
script
:
-
command deploy
environment
:
name
:
production
url
:
http://$CI_PROJECT_NAME.$KUBE_DOMAIN
when
:
manual
only
:
-
master
staging
:
stage
:
staging
script
:
-
command deploy
environment
:
name
:
staging
url
:
http://$CI_PROJECT_NAME-staging.$KUBE_DOMAIN
only
:
-
master
review
:
stage
:
review
script
:
-
command deploy
environment
:
name
:
review/$CI_COMMIT_REF_NAME
url
:
http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN
on_stop
:
stop_review
only
:
-
branches
except
:
-
master
stop_review
:
stage
:
cleanup
variables
:
GIT_STRATEGY
:
none
script
:
-
command destroy
environment
:
name
:
review/$CI_COMMIT_REF_NAME
action
:
stop
when
:
manual
allow_failure
:
true
only
:
-
branches
except
:
-
master
vendor/gitlab-ci-yml/autodeploy/Kubernetes.gitlab-ci.yml
View file @
6c65b63c
...
...
@@ -23,8 +23,6 @@ build:
production
:
stage
:
production
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_PROJECT_NAME.$KUBE_DOMAIN
script
:
-
command deploy
environment
:
...
...
@@ -36,8 +34,6 @@ production:
staging
:
stage
:
staging
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_PROJECT_NAME-staging.$KUBE_DOMAIN
script
:
-
command deploy
environment
:
...
...
@@ -48,8 +44,6 @@ staging:
review
:
stage
:
review
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN
script
:
-
command deploy
environment
:
...
...
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