From 644bb6f32b59d1469dda3050e078dd29541df5d6 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Sun, 28 Jan 2024 15:47:41 +0100 Subject: [PATCH] Remove gitlab golang steps Since the GitLab pipelines are triggered on pull from gitlab the golang-specific pipeline steps are not required. Signed-off-by: Evan Lezar --- .common-ci.yml | 5 ---- .gitlab-ci.yml | 65 -------------------------------------------------- 2 files changed, 70 deletions(-) diff --git a/.common-ci.yml b/.common-ci.yml index 9edc93c7..910e5c3e 100644 --- a/.common-ci.yml +++ b/.common-ci.yml @@ -24,11 +24,6 @@ variables: stages: - trigger - - image - - lint - - go-checks - - go-build - - unit-tests - package-build - image-build - test diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 474daa45..332cb1c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,71 +15,6 @@ include: - .common-ci.yml -build-dev-image: - stage: image - script: - - apk --no-cache add make bash - - make .build-image - - docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}" - - make .push-build-image - -.requires-build-image: - image: "${BUILDIMAGE}" - needs: - - build-dev-image - -.go-check: - extends: - - .requires-build-image - stage: go-checks - -fmt: - extends: - - .go-check - script: - - make assert-fmt - -vet: - extends: - - .go-check - script: - - make vet - -lint: - extends: - - .go-check - script: - - make lint - allow_failure: true - -ineffassign: - extends: - - .go-check - script: - - make ineffassign - allow_failure: true - -misspell: - extends: - - .go-check - script: - - make misspell - -go-build: - extends: - - .requires-build-image - stage: go-build - script: - - make build - -unit-tests: - extends: - - .requires-build-image - stage: unit-tests - script: - - make coverage - - # Define the image build targets .image-build: stage: image-build