Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
58b4cbbc
Commit
58b4cbbc
authored
Apr 20, 2017
by
Zeger-Jan van de Weg
Committed by
Kamil Trzciński
Apr 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update CI templates to include 9.1 templates
parent
b8b6ab6b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
8 deletions
+86
-8
vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml
vendor/gitlab-ci-yml/OpenShift.gitlab-ci.yml
+2
-2
vendor/gitlab-ci-yml/autodeploy/Kubernetes-with-canary.gitlab-ci.yml
...ab-ci-yml/autodeploy/Kubernetes-with-canary.gitlab-ci.yml
+84
-0
vendor/gitlab-ci-yml/autodeploy/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 @
58b4cbbc
...
@@ -41,7 +41,7 @@ review:
...
@@ -41,7 +41,7 @@ review:
APP
:
$CI_COMMIT_REF_NAME
APP
:
$CI_COMMIT_REF_NAME
APP_HOST
:
$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
APP_HOST
:
$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
environment
:
environment
:
name
:
review/$CI_COMMIT_REF_
SLUG
name
:
review/$CI_COMMIT_REF_
NAME
url
:
http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
url
:
http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$OPENSHIFT_DOMAIN
on_stop
:
stop-review
on_stop
:
stop-review
only
:
only
:
...
@@ -59,7 +59,7 @@ stop-review:
...
@@ -59,7 +59,7 @@ stop-review:
APP
:
$CI_COMMIT_REF_NAME
APP
:
$CI_COMMIT_REF_NAME
GIT_STRATEGY
:
none
GIT_STRATEGY
:
none
environment
:
environment
:
name
:
review/$CI_COMMIT_REF_
SLUG
name
:
review/$CI_COMMIT_REF_
NAME
action
:
stop
action
:
stop
only
:
only
:
-
branches
-
branches
...
...
vendor/gitlab-ci-yml/autodeploy/Kubernetes-with-canary.gitlab-ci.yml
0 → 100644
View file @
58b4cbbc
# 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 @
58b4cbbc
...
@@ -23,8 +23,6 @@ build:
...
@@ -23,8 +23,6 @@ build:
production
:
production
:
stage
:
production
stage
:
production
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_PROJECT_NAME.$KUBE_DOMAIN
script
:
script
:
-
command deploy
-
command deploy
environment
:
environment
:
...
@@ -36,8 +34,6 @@ production:
...
@@ -36,8 +34,6 @@ production:
staging
:
staging
:
stage
:
staging
stage
:
staging
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_PROJECT_NAME-staging.$KUBE_DOMAIN
script
:
script
:
-
command deploy
-
command deploy
environment
:
environment
:
...
@@ -48,8 +44,6 @@ staging:
...
@@ -48,8 +44,6 @@ staging:
review
:
review
:
stage
:
review
stage
:
review
variables
:
CI_ENVIRONMENT_URL
:
http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN
script
:
script
:
-
command deploy
-
command deploy
environment
:
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