From 195e3a22b4d0a932c49b77187f61bcc803f68942 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Arango Gutierrez Date: Sun, 28 Jan 2024 18:23:14 +0100 Subject: [PATCH] Drop go checks from gitlab ci Signed-off-by: Carlos Eduardo Arango Gutierrez --- .common-ci.yml | 1 - .gitlab-ci.yml | 37 +------------------------------------ 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/.common-ci.yml b/.common-ci.yml index 04f648ae..4a058764 100644 --- a/.common-ci.yml +++ b/.common-ci.yml @@ -19,7 +19,6 @@ default: variables: GIT_SUBMODULE_STRATEGY: recursive - BUILDIMAGE: "${CI_REGISTRY_IMAGE}/build:${CI_COMMIT_SHORT_SHA}" BUILD_MULTI_ARCH_IMAGES: "true" stages: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b2b5dfe..86d0ec29 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,42 +15,8 @@ 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: - - job: build-dev-image - -check: - extends: - - .requires-build-image - stage: go-checks - script: - - make check - -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 package build helpers -.multi-arch-build: + .multi-arch-build: before_script: - apk add --no-cache coreutils build-base sed git bash make - '[[ -n "${SKIP_QEMU_SETUP}" ]] || docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes' @@ -288,4 +254,3 @@ test-docker-ubuntu20.04: - .dist-ubuntu20.04 needs: - image-ubuntu20.04 -