2021-04-08 10:55:12 +00:00
|
|
|
---
|
|
|
|
'version': 2
|
|
|
|
'plan':
|
|
|
|
'project-key': 'AGH'
|
|
|
|
'key': 'AHBRTSPECS'
|
|
|
|
'name': 'AdGuard Home - Build and run tests'
|
|
|
|
'variables':
|
2021-12-10 14:20:15 +00:00
|
|
|
'dockerGo': 'adguard/golang-ubuntu:3.8'
|
2021-04-08 10:55:12 +00:00
|
|
|
|
|
|
|
'stages':
|
|
|
|
- 'Tests':
|
|
|
|
'manual': false
|
|
|
|
'final': false
|
|
|
|
'jobs':
|
|
|
|
- 'Test'
|
|
|
|
|
|
|
|
'Test':
|
|
|
|
'docker':
|
|
|
|
'image': '${bamboo.dockerGo}'
|
|
|
|
'volumes':
|
|
|
|
'${system.YARN_DIR}': '${bamboo.cacheYarn}'
|
|
|
|
'${system.GO_CACHE_DIR}': '${bamboo.cacheGo}'
|
|
|
|
'${system.GO_PKG_CACHE_DIR}': '${bamboo.cacheGoPkg}'
|
|
|
|
'key': 'TEST'
|
2021-04-14 09:40:48 +00:00
|
|
|
'other':
|
|
|
|
'clean-working-dir': true
|
2021-04-08 10:55:12 +00:00
|
|
|
'tasks':
|
|
|
|
- 'checkout':
|
|
|
|
'force-clean-build': true
|
|
|
|
- 'script':
|
|
|
|
'interpreter': 'SHELL'
|
|
|
|
'scripts':
|
|
|
|
- |
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e -f -u -x
|
|
|
|
|
|
|
|
make VERBOSE=1 ci go-tools lint
|
|
|
|
'final-tasks':
|
|
|
|
- 'clean'
|
|
|
|
'requirements':
|
|
|
|
- 'adg-docker': 'true'
|
|
|
|
|
|
|
|
'branches':
|
|
|
|
'create': 'for-pull-request'
|
|
|
|
'delete':
|
|
|
|
'after-deleted-days': 1
|
|
|
|
'after-inactive-days': 5
|
|
|
|
'integration':
|
|
|
|
'push-on-success': false
|
|
|
|
'merge-from': 'AdGuard Home - Build and run tests'
|
|
|
|
'link-to-jira': true
|
|
|
|
|
|
|
|
'notifications':
|
|
|
|
- 'events':
|
|
|
|
- 'plan-status-changed'
|
|
|
|
'recipients':
|
|
|
|
- 'webhook':
|
|
|
|
'name': 'Build webhook'
|
|
|
|
'url': 'http://prod.jirahub.service.eu.consul/v1/webhook/bamboo'
|
|
|
|
|
|
|
|
'labels': []
|
|
|
|
'other':
|
|
|
|
'concurrent-build-plugin': 'system-default'
|