Verified Commit 882f7571 authored by blint's avatar blint 😶
Browse files

cleanup and try staging

parent 36e46457
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment