Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ASM
edulab-frontend
Commits
0b121312
Commit
0b121312
authored
Sep 02, 2017
by
Rune Myrhaug
Browse files
registry.uninett.no/asm/kubernetes-deploy:v0.13
parent
fd22b40c
Pipeline
#7174
failed with stages
in 11 minutes and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0b121312
image
:
registry.uninett.no/s
yste
m/kubernetes-deploy:v0.
4
variables
:
KUBE_PROD_DOMAIN
:
edulab.uninett.no
# The main domain for your application.
KUBE_TEST_DOMAIN
:
edulab-beta.paas2.uninett.no
# A domain which test versions of your application can be launched under.
HTTP_PORT
:
'
80'
# The port number of the web server.
REPLICAS
:
'
1'
stages
:
-
build
# - test
-
staging
-
production
build
:
stage
:
build
script
:
-
build
only
:
-
branches
production
:
stage
:
production
script
:
-
deploy etc/kubernetes/deployment.yaml
environment
:
name
:
production
url
:
https://$KUBE_PROD_DOMAIN
variables
:
URL
:
https://$KUBE_PROD_DOMAIN
when
:
manual
only
:
-
master
staging
:
stage
:
staging
script
:
-
deploy etc/kubernetes/deployment.yaml
environment
:
name
:
staging
url
:
https://$KUBE_TEST_DOMAIN
variables
:
URL
:
https://$KUBE_TEST_DOMAIN
only
:
-
master
image
:
registry.uninett.no/
a
sm/kubernetes-deploy:v0.
13
variables
:
KUBE_PROD_DOMAIN
:
edulab.uninett.no
# The main domain for your application.
KUBE_TEST_DOMAIN
:
edulab-beta.paas2.uninett.no
# A domain which test versions of your application can be launched under.
HTTP_PORT
:
'
80'
# The port number of the web server.
REPLICAS
:
'
1'
stages
:
-
build
# - test
-
staging
-
production
build
:
stage
:
build
script
:
-
build
only
:
-
branches
production
:
stage
:
production
script
:
-
deploy etc/kubernetes/deployment.yaml
environment
:
name
:
production
url
:
https://$KUBE_PROD_DOMAIN
variables
:
URL
:
https://$KUBE_PROD_DOMAIN
when
:
manual
only
:
-
master
staging
:
stage
:
staging
script
:
-
deploy etc/kubernetes/deployment.yaml
environment
:
name
:
staging
url
:
https://$KUBE_TEST_DOMAIN
variables
:
URL
:
https://$KUBE_TEST_DOMAIN
only
:
-
master
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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