File tree 1 file changed +28
-22
lines changed
1 file changed +28
-22
lines changed Original file line number Diff line number Diff line change 1
1
library " alauda-cicd"
2
2
def language = " golang"
3
3
AlaudaPipeline {
4
- config = [
5
- agent : ' golang-1.13' ,
6
- folder : ' .' ,
7
- chart : [
4
+ config = [
5
+ agent : ' golang-1.13' ,
6
+ folder : ' .' ,
7
+ chart : [
8
8
[
9
9
chart : " captain" ,
10
10
pipeline : " chart-captain" ,
11
11
project : " acp" ,
12
12
component : " captain" ,
13
13
],
14
- ],
15
- scm : [
16
- credentials : ' acp-acp-gitlab'
17
- ],
18
- docker : [
19
- repository : " acp/captain" ,
20
- credentials : " alaudak8s" ,
21
- context : " ." ,
22
- dockerfile : " Dockerfile" ,
23
- ],
24
- sonar : [
25
- binding : " sonarqube" ,
26
- enabled : true ,
27
- ],
28
- notification : [
29
- name : " default"
30
- ],
14
+ ],
15
+ scm : [
16
+ credentials : ' acp-acp-gitlab'
17
+ ],
18
+ docker : [
19
+ repository : " acp/captain" ,
20
+ credentials : " alaudak8s" ,
21
+ context : " ." ,
22
+ dockerfile : " Dockerfile" ,
23
+ ],
24
+ sonar : [
25
+ binding : " sonarqube" ,
26
+ enabled : true ,
27
+ ],
28
+ sec : [
29
+ enabled : true ,
30
+ block : false ,
31
+ lang : ' go' ,
32
+ customOpts : ' '
33
+ ],
34
+ notification : [
35
+ name : " default"
36
+ ],
31
37
32
- ]
38
+ ]
33
39
env = [
34
40
GO111MODULE : " on" ,
35
41
GOPROXY : " https://athens.alauda.cn" ,
You can’t perform that action at this time.
0 commit comments