Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bamboo-specs/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,12 @@

set -e -f -u -x

# The version.sh script queries the current state of the git
# repository, so we must explicitly checkout the revision that
# triggered the build to prevent race conditions when the master
# branch changes while this build is running.
git checkout "${bamboo_repository_revision_number}"

# Install Qemu, create builder.
docker version -f '{{ .Server.Experimental }}'
docker buildx rm buildx-builder || :
Expand Down
6 changes: 6 additions & 0 deletions bamboo-specs/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@

set -e -f -u -x

# The version.sh script queries the current state of the git
# repository, so we must explicitly checkout the revision that
# triggered the build to prevent race conditions when the master
# branch changes while this build is running.
git checkout "${bamboo_repository_revision_number}"

version="$(env CHANNEL=${bamboo_channel} sh ./scripts/make/version.sh)"
readonly version

Expand Down
Loading