bamboo: work with vcs properly
This commit is contained in:
parent
0c34b4dcfd
commit
eb675abfc0
|
@ -9,7 +9,6 @@
|
||||||
'channel': 'edge'
|
'channel': 'edge'
|
||||||
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
||||||
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
||||||
'name': 'AdGuardHome'
|
|
||||||
|
|
||||||
'stages':
|
'stages':
|
||||||
- 'Build frontend':
|
- 'Build frontend':
|
||||||
|
@ -105,9 +104,6 @@
|
||||||
|
|
||||||
set -e -f -u -x
|
set -e -f -u -x
|
||||||
|
|
||||||
# Follow the working repository path.
|
|
||||||
cd "${bamboo.name}"
|
|
||||||
|
|
||||||
# Explicitly checkout the revision that we need.
|
# Explicitly checkout the revision that we need.
|
||||||
git checkout "${bamboo.repository.revision.number}"
|
git checkout "${bamboo.repository.revision.number}"
|
||||||
|
|
||||||
|
@ -281,7 +277,6 @@
|
||||||
'channel': 'beta'
|
'channel': 'beta'
|
||||||
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
||||||
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
||||||
'name': 'AdGuardHome'
|
|
||||||
# release-vX.Y.Z branches are the branches from which the actual final
|
# release-vX.Y.Z branches are the branches from which the actual final
|
||||||
# release is built.
|
# release is built.
|
||||||
- '^release-v[0-9]+\.[0-9]+\.[0-9]+':
|
- '^release-v[0-9]+\.[0-9]+\.[0-9]+':
|
||||||
|
@ -298,4 +293,3 @@
|
||||||
'channel': 'release'
|
'channel': 'release'
|
||||||
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
||||||
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
||||||
'name': 'AdGuardHome'
|
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
||||||
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
||||||
'channel': 'development'
|
'channel': 'development'
|
||||||
'name': 'AdGuardHome'
|
|
||||||
|
|
||||||
'stages':
|
'stages':
|
||||||
- 'Tests':
|
- 'Tests':
|
||||||
|
@ -160,9 +159,6 @@
|
||||||
|
|
||||||
set -e -f -u -x
|
set -e -f -u -x
|
||||||
|
|
||||||
# Follow the working repository path.
|
|
||||||
cd "${bamboo.name}"
|
|
||||||
|
|
||||||
# Explicitly checkout the revision that we need.
|
# Explicitly checkout the revision that we need.
|
||||||
git checkout "${bamboo.repository.revision.number}"
|
git checkout "${bamboo.repository.revision.number}"
|
||||||
|
|
||||||
|
@ -219,4 +215,3 @@
|
||||||
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
'dockerFrontend': 'adguard/home-js-builder:2.0'
|
||||||
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
'dockerGo': 'adguard/go-builder:1.23.1--1'
|
||||||
'channel': 'candidate'
|
'channel': 'candidate'
|
||||||
'name': 'AdGuardHome'
|
|
||||||
|
|
Loading…
Reference in New Issue