From 4cf800f25d182a8dd2cf0a54336cf60d3fb52235 Mon Sep 17 00:00:00 2001 From: Kalin Daskalov <kalin.daskalov@vereign.com> Date: Thu, 5 Oct 2023 14:45:15 +0300 Subject: [PATCH] changes to ci file --- .gitlab-ci.yml | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2571797..c96bb6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,19 +1,21 @@ variables: HELPERS_FILE: docker-build.yml - APP_HELM_NAME: infohub + HELM_HELPERS_FILE: helm-package.yml + APP_HELM_NAME: cache DOCKER_FILE: deployment/ci/Dockerfile stages: - compile - test - build - - manifest - deploy include: - - project: '${HELPERS_PATH}' - file: '${HELPERS_FILE}' - - template: 'Workflows/Branch-Pipelines.gitlab-ci.yml' + - 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.20.5 extends: .gotest @@ -55,15 +63,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 -- GitLab