Skip to content

Commit 96153bf

Browse files
authored
Merge pull request #36 from elezar/remove-gitlab-golang-targets
Remove gitlab golang steps
2 parents cd4b684 + 644bb6f commit 96153bf

File tree

2 files changed

+0
-70
lines changed

2 files changed

+0
-70
lines changed

.common-ci.yml

-5
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ variables:
2424

2525
stages:
2626
- trigger
27-
- image
28-
- lint
29-
- go-checks
30-
- go-build
31-
- unit-tests
3227
- package-build
3328
- image-build
3429
- test

.gitlab-ci.yml

-65
Original file line numberDiff line numberDiff line change
@@ -15,71 +15,6 @@
1515
include:
1616
- .common-ci.yml
1717

18-
build-dev-image:
19-
stage: image
20-
script:
21-
- apk --no-cache add make bash
22-
- make .build-image
23-
- docker login -u "${CI_REGISTRY_USER}" -p "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY}"
24-
- make .push-build-image
25-
26-
.requires-build-image:
27-
image: "${BUILDIMAGE}"
28-
needs:
29-
- build-dev-image
30-
31-
.go-check:
32-
extends:
33-
- .requires-build-image
34-
stage: go-checks
35-
36-
fmt:
37-
extends:
38-
- .go-check
39-
script:
40-
- make assert-fmt
41-
42-
vet:
43-
extends:
44-
- .go-check
45-
script:
46-
- make vet
47-
48-
lint:
49-
extends:
50-
- .go-check
51-
script:
52-
- make lint
53-
allow_failure: true
54-
55-
ineffassign:
56-
extends:
57-
- .go-check
58-
script:
59-
- make ineffassign
60-
allow_failure: true
61-
62-
misspell:
63-
extends:
64-
- .go-check
65-
script:
66-
- make misspell
67-
68-
go-build:
69-
extends:
70-
- .requires-build-image
71-
stage: go-build
72-
script:
73-
- make build
74-
75-
unit-tests:
76-
extends:
77-
- .requires-build-image
78-
stage: unit-tests
79-
script:
80-
- make coverage
81-
82-
8318
# Define the image build targets
8419
.image-build:
8520
stage: image-build

0 commit comments

Comments
 (0)