Skip to content

Commit

Permalink
Merge pull request #36 from elezar/remove-gitlab-golang-targets
Browse files Browse the repository at this point in the history
Remove gitlab golang steps
  • Loading branch information
elezar authored Jan 28, 2024
2 parents cd4b684 + 644bb6f commit 96153bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 70 deletions.
5 changes: 0 additions & 5 deletions .common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ variables:

stages:
- trigger
- image
- lint
- go-checks
- go-build
- unit-tests
- package-build
- image-build
- test
Expand Down
65 changes: 0 additions & 65 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96153bf

Please sign in to comment.