File tree 1 file changed +64
-0
lines changed
1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : 2
3
+ plan :
4
+ project-key : AGH
5
+ key : DNSPROXYSPECS
6
+ name : dnsproxy - Build and run tests
7
+ variables :
8
+ dockerGo : adguard/golang-ubuntu:2.0
9
+
10
+ stages :
11
+ - Tests :
12
+ manual : false
13
+ final : false
14
+ jobs :
15
+ - Test
16
+
17
+ Test :
18
+ docker :
19
+ image : ${bamboo.dockerGo}
20
+ volumes :
21
+ ${system.YARN_DIR} : ${bamboo.cacheYarn}
22
+ ${system.GO_CACHE_DIR} : ${bamboo.cacheGo}
23
+ ${system.GO_PKG_CACHE_DIR} : ${bamboo.cacheGoPkg}
24
+ key : TEST
25
+ tasks :
26
+ - checkout :
27
+ force-clean-build : ' true'
28
+ - script :
29
+ interpreter : SHELL
30
+ scripts :
31
+ - |-
32
+ set -x
33
+ set -e
34
+ go version
35
+ golangci-lint --version
36
+
37
+ # Run linter
38
+ golangci-lint run
39
+
40
+ # Run tests
41
+ go test -race -v -bench=. -coverprofile=coverage.txt ./...
42
+ final-tasks :
43
+ - clean
44
+ requirements :
45
+ - adg-docker : ' true'
46
+
47
+ branches :
48
+ create : for-pull-request
49
+ delete :
50
+ after-deleted-days : 1
51
+ after-inactive-days : 5
52
+ link-to-jira : true
53
+
54
+ notifications :
55
+ - events :
56
+ - plan-status-changed
57
+ recipients :
58
+ - webhook :
59
+ name : Build webhook
60
+ url : http://prod.jirahub.service.eu.consul/v1/webhook/bamboo
61
+
62
+ labels : []
63
+ other :
64
+ concurrent-build-plugin : system-default
You can’t perform that action at this time.
0 commit comments