Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eduroam
eduroam-configurator-build
Commits
ee1dd37e
Commit
ee1dd37e
authored
Nov 19, 2021
by
Hogne Håskjold
Browse files
Change to use gitlab helpers and change the URLs vars to the way we usually do it
parent
cfd4d229
Pipeline
#48112
failed with stages
in 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ee1dd37e
image
:
registry.uninett.no/asm/kubernetes-deploy:v0.22
include
:
-
project
:
'
asm/gitlab-ci-helpers'
file
:
'
/gitlab-ci-helpers.yml'
variables
:
KUBE_PROD_DOMAIN
:
eduroam-configurator-prod.paas2.uninett.no
KUBE_TEST_ID
:
eduroam-configurator
HTTP_PORT
:
'
80'
# The port number of the web server.
REPLICAS
:
'
2
'
REPLICAS
:
'
1
'
stages
:
-
build
-
review
-
staging
-
production
build
:
extends
:
.docker-build
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
stage
:
build
script
:
-
build
only
:
-
branches
production
:
extends
:
.production
stage
:
production
variables
:
CI_ENVIRONMENT_URL
:
$KUBE_PROD_URL
REPLICAS
:
"
2"
script
:
-
deploy kubernetes.yaml
environment
:
name
:
production
url
:
$KUBE_PROD_URL
when
:
manual
only
:
-
master
staging
:
extends
:
.staging
stage
:
staging
variables
:
CI_ENVIRONMENT_URL
:
$KUBE_STAGING_URL
REPLICAS
:
'
1'
script
:
-
deploy kubernetes.yaml
environment
:
name
:
staging
url
:
$KUBE_STAGING_URL
only
:
-
master
review
:
extends
:
.review
stage
:
review
script
:
-
deploy kubernetes.yaml
stop_review
:
extends
:
.stop_review
stage
:
review
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