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
882f7571
Verified
Commit
882f7571
authored
Oct 18, 2021
by
blint
😶
Browse files
cleanup and try staging
parent
36e46457
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
882f7571
...
...
@@ -21,19 +21,19 @@ go_build:
paths
:
-
app
-
static
rules
:
-
changes
:
-
admin/*
-
auth/*
-
db/*
-
error/*
-
helpers/*
-
history/*
-
homepage/*
-
k8s/*
-
topup/*
-
main.go
-
go.mod
#
rules:
#
- changes:
#
- admin/*
#
- auth/*
#
- db/*
#
- error/*
#
- helpers/*
#
- history/*
#
- homepage/*
#
- k8s/*
#
- topup/*
#
- main.go
#
- go.mod
needs
:
[]
dockerhub
:
...
...
@@ -47,20 +47,20 @@ dockerhub:
-
/kaniko/executor --force --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination blintmester/$CONTAINER_IMAGE
needs
:
-
go_build
rules
:
-
changes
:
-
admin/*
-
auth/*
-
db/*
-
error/*
-
helpers/*
-
history/*
-
homepage/*
-
k8s/*
-
topup/*
-
main.go
-
go.mod
-
Dockerfile
#
rules:
#
- changes:
#
- admin/*
#
- auth/*
#
- db/*
#
- error/*
#
- helpers/*
#
- history/*
#
- homepage/*
#
- k8s/*
#
- topup/*
#
- main.go
#
- go.mod
#
- Dockerfile
staging
:
stage
:
deploy
...
...
@@ -79,19 +79,6 @@ staging:
-
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
...
...
@@ -111,17 +98,3 @@ production:
rules
:
-
if
:
$CI_COMMIT_TAG
when
:
manual
changes
:
-
admin/*
-
auth/*
-
db/*
-
error/*
-
helpers/*
-
history/*
-
homepage/*
-
k8s/*
-
topup/*
-
main.go
-
go.mod
-
Dockerfile
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