Skip to content

Commit

Permalink
Drop go checks from gitlab ci
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
  • Loading branch information
ArangoGutierrez committed Jan 28, 2024
1 parent 88debb8 commit 195e3a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
1 change: 0 additions & 1 deletion .common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
37 changes: 1 addition & 36 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -288,4 +254,3 @@ test-docker-ubuntu20.04:
- .dist-ubuntu20.04
needs:
- image-ubuntu20.04

0 comments on commit 195e3a2

Please sign in to comment.