mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-15 11:22:49 +03:00
a79deda665
Squashed commit of the following: commit 72423458d6589027221d340a53af607622678b23 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Jul 12 14:24:02 2023 +0300 all: upd go
65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
---
|
|
'version': 2
|
|
'plan':
|
|
'project-key': 'AGH'
|
|
'key': 'AHBRTSPECS'
|
|
'name': 'AdGuard Home - Build and run tests'
|
|
'variables':
|
|
'dockerGo': 'adguard/golang-ubuntu:6.8'
|
|
|
|
'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'
|
|
'other':
|
|
'clean-working-dir': true
|
|
'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'
|