Skip to content

Commit

Permalink
Merge pull request #122804 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1.20-rc-122646

release-23.1.21-rc: release: move release qualification buckets
  • Loading branch information
rail committed Apr 29, 2024
2 parents 3b9077d + bbdef3f commit fceb4cf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions build/release/teamcity-mark-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ mark_build() {

# Publish potential release metadata to a stable location.
publish_qualify_metadata() {
gcs_bucket="release-automation-dev"
google_credentials=$GOOGLE_RELEASE_AUTOMATION_CREDENTIALS_DEV
gcs_bucket="cockroach-release-qualification-test"
google_credentials=$GCS_CREDENTIALS_DEV
if [[ -z "${DRY_RUN}" ]] ; then
gcs_bucket="release-automation-prod"
google_credentials=$GOOGLE_RELEASE_AUTOMATION_CREDENTIALS_PROD
gcs_bucket="cockroach-release-qualification-prod"
google_credentials=$GCS_CREDENTIALS_PROD
fi

tc_start_block "Metadata"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ set -xeuo pipefail
dir="$(dirname $(dirname $(dirname $(dirname $(dirname $(dirname "${0}"))))))"
source "$dir/teamcity-support.sh" # For log_into_gcloud

google_credentials="$METADATA_PUBLISHER_GOOGLE_CREDENTIALS_DEV"
google_credentials="$GCS_CREDENTIALS_DEV"
to=dev-inf+release-dev@cockroachlabs.com
qualify_bucket=release-automation-dev
release_bucket=release-automation-dev
qualify_bucket=cockroach-release-qualification-test
release_bucket=cockroach-release-qualification-test

# override dev defaults with production values
if [[ -z "${DRY_RUN}" ]] ; then
echo "Setting production values"
google_credentials="$METADATA_PUBLISHER_GOOGLE_CREDENTIALS_PROD"
google_credentials="$GCS_CREDENTIALS_PROD"
to=releases@cockroachlabs.com
qualify_bucket=release-automation-prod
release_bucket=release-automation-prod
qualify_bucket=cockroach-release-qualification-prod
release_bucket=cockroach-release-qualification-prod
fi

log_into_gcloud
Expand Down

0 comments on commit fceb4cf

Please sign in to comment.