mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-25 14:35:48 +03:00
111005b8d4
Squashed commit of the following:
commit 217790cf2ab0adf3df9f24f1f40c2bc9a310b7ee
Merge: c5226c823 418c830e5
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 14:45:59 2023 +0300
Merge remote-tracking branch 'origin/master' into AG-18118-bamboo-artifacts
commit c5226c823afba20abb9cc0db028ef232a40171a3
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 12:35:35 2023 +0300
all: bamboo artifacts
commit c540cc3a92b8d1cfc48e0c36be0f0e4f1600d9bf
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 12:25:40 2023 +0300
all: bamboo artifacts
commit b6aa24b00e2baff16a3aab45eca737391ef9cf90
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 11:07:02 2023 +0300
all: revert bamboo expire conf
commit abf46235baf7d7de71cf89d2ae9e14290eaecc39
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 10:55:44 2023 +0300
all: bamboo artifacts
commit 77bd6e0aa06cfa4e5364abca4a8e19d2308ee9f0
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 09:49:57 2023 +0300
all: bamboo artifacts
commit 37aea65e0c2a5a77a02dd927aa3c52937988a2f7
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Thu Aug 10 09:41:48 2023 +0300
all: bamboo artifacts
commit d26c50960a12c3db62ff54d69d16cd6d3c0d2ee9
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Wed Aug 9 17:20:20 2023 +0300
all: bamboo artifacts
commit 3afc5be520ac2c11196ac6a8b58e112ec140a760
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Wed Aug 9 17:09:04 2023 +0300
all: bamboo artifacts
commit 2ecf440fbff7feb837a4cf650d105e83d2b5efed
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Wed Aug 9 17:00:22 2023 +0300
all: bamboo artifacts
commit 2f1c4a1c712bd900d0b1c86db9c343ccd1b9dfaa
Author: Dimitry Kolyshev <dkolyshev@adguard.com>
Date: Wed Aug 9 16:26:23 2023 +0300
all: bamboo artifacts
117 lines
3 KiB
YAML
117 lines
3 KiB
YAML
---
|
|
'version': 2
|
|
'plan':
|
|
'project-key': 'AGH'
|
|
'key': 'AHBRTSPECS'
|
|
'name': 'AdGuard Home - Build and run tests'
|
|
'variables':
|
|
'dockerGo': 'adguard/golang-ubuntu:7.0'
|
|
|
|
'stages':
|
|
- 'Tests':
|
|
'manual': false
|
|
'final': false
|
|
'jobs':
|
|
- 'Test'
|
|
|
|
- 'Artifact':
|
|
manual: false
|
|
final: false
|
|
jobs:
|
|
- 'Artifact'
|
|
|
|
'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'
|
|
|
|
'Artifact':
|
|
'docker':
|
|
'image': '${bamboo.dockerGo}'
|
|
'volumes':
|
|
'${system.GO_CACHE_DIR}': '${bamboo.cacheGo}'
|
|
'${system.GO_PKG_CACHE_DIR}': '${bamboo.cacheGoPkg}'
|
|
'key': 'ART'
|
|
'other':
|
|
'clean-working-dir': true
|
|
'tasks':
|
|
- 'checkout':
|
|
'force-clean-build': true
|
|
- 'script':
|
|
'interpreter': 'SHELL'
|
|
'scripts':
|
|
- |-
|
|
#!/bin/sh
|
|
|
|
set -e -f -u -x
|
|
|
|
# Explicitly checkout the revision that we need.
|
|
git checkout "${bamboo.repository.revision.number}"
|
|
|
|
make\
|
|
ARCH="amd64"\
|
|
OS="windows darwin linux"\
|
|
CHANNEL="development"\
|
|
SIGN=0\
|
|
PARALLELISM=1\
|
|
VERBOSE=2\
|
|
build-release
|
|
'artifacts':
|
|
- 'name': 'AdGuardHome_windows_amd64'
|
|
'pattern': 'dist/AdGuardHome_windows_amd64.zip'
|
|
'shared': true
|
|
'required': true
|
|
- 'name': 'AdGuardHome_darwin_amd64'
|
|
'pattern': 'dist/AdGuardHome_darwin_amd64.zip'
|
|
'shared': true
|
|
'required': true
|
|
- 'name': 'AdGuardHome_linux_amd64'
|
|
'pattern': 'dist/AdGuardHome_linux_amd64.tar.gz'
|
|
'shared': true
|
|
'required': true
|
|
'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'
|