Skip to content

Commit fa7c8ce

Browse files
author
Ilya Tikhonov
committed
Pull request AdguardTeam#146: ADG-3944 add specs
Merge in DNS/dnsproxy from add-specs to master * commit 'b4adffa743737a2d3288dd3bd7c3e689adedcd70': remove redundant go param Revert "remove makefile, remove redundant go param" Revert "change docker image" change docker image remove makefile, remove redundant go param some fixes ADG-3944 add specs
2 parents 7534c25 + b4adffa commit fa7c8ce

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

bamboo-specs/bamboo.yaml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
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

0 commit comments

Comments
 (0)