Loading jobs/helm.gitlab-ci.yml +4 −5 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ script: - /run.sh deploy_review: deploy_review🚀: extends: .helm stage: review environment: Loading @@ -23,14 +23,13 @@ deploy_review: variables: - $REVIEW_DISABLE cleanup_review: cleanup_review🛑: extends: .helm stage: review variables: GIT_STRATEGY: none when: manual script: - apk add findutils - helm ls --all --short -n $KUBE_NAMESPACE | xargs -L1 helm -n $KUBE_NAMESPACE delete # - kubectl delete namespace $KUBE_NAMESPACE # TODO: it's forbidden due tu user RBAC environment: Loading @@ -49,7 +48,7 @@ cleanup_review: # script: # - helm secrets diff upgrade ${CI_PROJECT_PATH_SLUG} ${CHART_PATH} -f ${VALUES_PATH}/${ENV}.yaml -f ${VALUES_PATH}/secrets.${ENV}.yaml --set-string image.tag=${CI_COMMIT_SHORT_SHA} --namespace "$KUBE_NAMESPACE" --allow-unreleased deploy_stage: deploy_stage🚀: extends: .helm stage: staging environment: Loading @@ -67,7 +66,7 @@ deploy_stage: # script: # - helm secrets diff upgrade ${CI_PROJECT_PATH_SLUG} ${CHART_PATH} -f ${VALUES_PATH}/${ENV}.yaml -f ${VALUES_PATH}/secrets.${ENV}.yaml --set-string image.tag=${CI_COMMIT_SHORT_SHA} --namespace "$KUBE_NAMESPACE" --allow-unreleased deploy_production: deploy_production🚀: extends: .helm stage: production environment: Loading jobs/quality_check.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line # "Quality check" job # See https://gitlab.com/go2scale/jobs/ for more informations quality_check: quality_check🔍: stage: code_level image: name: "registry.gitlab.com/go2scale/dockerfiles/quality-check:v0.2.7" Loading pipelines/kubernetes.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -35,8 +35,8 @@ include: - template: Jobs/Build.gitlab-ci.yml - template: Security/Container-Scanning.gitlab-ci.yml # Go2Scale DevSecOps - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_1/jobs/quality_check.gitlab-ci.yml - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_1/jobs/helm.gitlab-ci.yml - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_6/jobs/quality_check.gitlab-ci.yml - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_6/jobs/helm.gitlab-ci.yml container_scanning: stage: review Loading
jobs/helm.gitlab-ci.yml +4 −5 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ script: - /run.sh deploy_review: deploy_review🚀: extends: .helm stage: review environment: Loading @@ -23,14 +23,13 @@ deploy_review: variables: - $REVIEW_DISABLE cleanup_review: cleanup_review🛑: extends: .helm stage: review variables: GIT_STRATEGY: none when: manual script: - apk add findutils - helm ls --all --short -n $KUBE_NAMESPACE | xargs -L1 helm -n $KUBE_NAMESPACE delete # - kubectl delete namespace $KUBE_NAMESPACE # TODO: it's forbidden due tu user RBAC environment: Loading @@ -49,7 +48,7 @@ cleanup_review: # script: # - helm secrets diff upgrade ${CI_PROJECT_PATH_SLUG} ${CHART_PATH} -f ${VALUES_PATH}/${ENV}.yaml -f ${VALUES_PATH}/secrets.${ENV}.yaml --set-string image.tag=${CI_COMMIT_SHORT_SHA} --namespace "$KUBE_NAMESPACE" --allow-unreleased deploy_stage: deploy_stage🚀: extends: .helm stage: staging environment: Loading @@ -67,7 +66,7 @@ deploy_stage: # script: # - helm secrets diff upgrade ${CI_PROJECT_PATH_SLUG} ${CHART_PATH} -f ${VALUES_PATH}/${ENV}.yaml -f ${VALUES_PATH}/secrets.${ENV}.yaml --set-string image.tag=${CI_COMMIT_SHORT_SHA} --namespace "$KUBE_NAMESPACE" --allow-unreleased deploy_production: deploy_production🚀: extends: .helm stage: production environment: Loading
jobs/quality_check.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line # "Quality check" job # See https://gitlab.com/go2scale/jobs/ for more informations quality_check: quality_check🔍: stage: code_level image: name: "registry.gitlab.com/go2scale/dockerfiles/quality-check:v0.2.7" Loading
pipelines/kubernetes.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -35,8 +35,8 @@ include: - template: Jobs/Build.gitlab-ci.yml - template: Security/Container-Scanning.gitlab-ci.yml # Go2Scale DevSecOps - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_1/jobs/quality_check.gitlab-ci.yml - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_1/jobs/helm.gitlab-ci.yml - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_6/jobs/quality_check.gitlab-ci.yml - remote: https://gitlab.com/go2scale/jobs/raw/2020-02-29_6/jobs/helm.gitlab-ci.yml container_scanning: stage: review