Pull request: AG-18118-bamboo-artifacts

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
This commit is contained in:
Dimitry Kolyshev 2023-08-10 15:02:55 +03:00
parent 418c830e53
commit 111005b8d4

View File

@ -14,6 +14,12 @@
'jobs':
- 'Test'
- 'Artifact':
manual: false
final: false
jobs:
- 'Artifact'
'Test':
'docker':
'image': '${bamboo.dockerGo}'
@ -41,6 +47,53 @@
'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':