Verified Commit 36e46457 authored by blint's avatar blint 😶
Browse files

cleanup and try staging

parent 54c1dded
......@@ -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
......@@ -36,5 +36,4 @@ spec:
initialDelaySeconds: 20
failureThreshold: 3
periodSeconds: 60
{{/* imagePullSecrets:*/}}
{{/* - name: devteam-nexus-login*/}}
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