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
dbd0dbe4
Verified
Commit
dbd0dbe4
authored
Oct 14, 2021
by
blint
😶
Browse files
try
parent
25c9c1a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
dbd0dbe4
...
...
@@ -79,3 +79,20 @@ production:
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
manual
staging
:
stage
:
deploy
image
:
name
:
docker.io/blintmester/base-helm-kubectl:1.0.1
entrypoint
:
[
"
"
]
needs
:
-
dockerhub
before_script
:
-
echo $KUBECONFIG
-
chmod 600 $KUBECONFIG
script
:
-
bash
-
cd "$CI_PROJECT_DIR"/k8s
-
envsubst < values.yaml | helm upgrade --install --wait becskasszasch . -n becskasszasch-staging --values -
rules
:
-
when
:
manual
\ No newline at end of file
k8s/values.yaml
View file @
dbd0dbe4
...
...
@@ -7,5 +7,5 @@ POSTGRES: "${POSTGRES}"
POSTGRES_PASS
:
"
${POSTGRES_PASS}"
POSTGRES_USER
:
"
${POSTGRES_USER}"
POSTGRES_DB
:
"
${POSTGRES_DB}"
Tag
:
"
v1.6.9
"
Tag
:
"
${CI_COMMIT_REF_NAME}
"
REGISTRY_CONF
:
"
${REGISTRY_CONF}"
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