Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KSZK
DevTeam
becskasszasch
Commits
36e46457
Verified
Commit
36e46457
authored
Oct 18, 2021
by
blint
😶
Browse files
cleanup and try staging
parent
54c1dded
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
36e46457
...
...
@@ -73,15 +73,25 @@ staging:
name
:
valkyrie
kubernetes
:
namespace
:
becskasszasch-staging
# before_script:
# - echo $KUBECONFIG
# - chmod 600 $KUBECONFIG
script
:
-
bash
-
cd "$CI_PROJECT_DIR"/k8s
-
envsubst < values.staging.yaml | helm upgrade --install --wait becskasszasch . -n becskasszasch-staging --values -
rules
:
-
when
:
manual
changes
:
-
admin/*
-
auth/*
-
db/*
-
error/*
-
helpers/*
-
history/*
-
homepage/*
-
k8s/*
-
topup/*
-
main.go
-
go.mod
-
Dockerfile
production
:
stage
:
deploy
...
...
@@ -94,9 +104,6 @@ production:
name
:
valkyrie
kubernetes
:
namespace
:
apps
# before_script:
# - echo $KUBECONFIG
# - chmod 600 $KUBECONFIG
script
:
-
bash
-
cd "$CI_PROJECT_DIR"/k8s
...
...
@@ -104,4 +111,17 @@ production:
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
manual
changes
:
-
admin/*
-
auth/*
-
db/*
-
error/*
-
helpers/*
-
history/*
-
homepage/*
-
k8s/*
-
topup/*
-
main.go
-
go.mod
-
Dockerfile
k8s/templates/deployment.yml
View file @
36e46457
...
...
@@ -36,5 +36,4 @@ spec:
initialDelaySeconds
:
20
failureThreshold
:
3
periodSeconds
:
60
{{
/* imagePullSecrets
:
*
/
}}
{{
/* - name
:
devteam-nexus-login*/
}}
Write
Preview
Supports
Markdown
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