diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ae76d466a2a014cf118215534961d4bbc8717ac6..c16633694c27cb851c435f02591bb4090e58fae3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ variables: HELPERS_FILE: docker-build.yml + HELM_HELPERS_FILE: helm-package.yml APP_HELM_NAME: cache DOCKER_FILE: deployment/ci/Dockerfile @@ -7,13 +8,14 @@ stages: - compile - test - build - - manifest - deploy include: - project: "${HELPERS_PATH}" file: "${HELPERS_FILE}" - template: "Workflows/Branch-Pipelines.gitlab-ci.yml" + - project: "$HELM_HELPERS_PATH}" + file: "${HELM_HELPERS_FILE}" lint: image: golangci/golangci-lint:v1.50.1 @@ -27,6 +29,12 @@ lint: - ln -s /builds /go/src/gitlab.com - cd /go/src/gitlab.com/${CI_PROJECT_PATH} +helm-lint: + extends: .helm-lint + stage: test + tags: + - amd64-docker + unit tests: image: golang:1.19.4 extends: .gotest @@ -54,15 +62,3 @@ amd64: stage: build tags: - amd64-docker - -manifest: - extends: .manifest-amd64 - stage: manifest - -cloud: - extends: .manifest-cloud - stage: manifest - -release: - extends: .manifest-release - stage: manifest