-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
44 lines (38 loc) · 956 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
variables:
TYPE: app
MULTI_ARCH: "true"
image: golang:1.23
include:
- project: shared-scripts/gitlab-ci
file: /autodevops-golang.yml
ref: v1
# mockgen setup
Test:
before_script:
- export PATH=$GOPATH/bin:$PATH
- go get go.uber.org/mock/mockgen@latest
- go install go.uber.org/mock/mockgen@latest
Vet:
before_script:
- export PATH=$GOPATH/bin:$PATH
- go get go.uber.org/mock/mockgen@latest
- go install go.uber.org/mock/mockgen@latest
Build:
before_script:
- export PATH=$GOPATH/bin:$PATH
- go get go.uber.org/mock/mockgen@latest
- go install go.uber.org/mock/mockgen@latest
Dependency-Track:
before_script:
- export PATH=$GOPATH/bin:$PATH
- go get go.uber.org/mock/mockgen@latest
- go install go.uber.org/mock/mockgen@latest
Docker Release:
variables:
PROJECT_VERSION: "${CI_COMMIT_REF_NAME}"
Deploy Dev Manual:
rules:
- when: never
Deploy Fat:
rules:
- when: never