Skip to content

Commit

Permalink
Merge pull request #123131 from cockroachdb/blathers/backport-staging…
Browse files Browse the repository at this point in the history
…-v23.1.20-122646

staging-v23.1.20: release: move release qualification buckets
  • Loading branch information
rail authored Apr 26, 2024
2 parents 1bca2ad + bd94ade commit 6e7ba17
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"
[email protected]
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"
[email protected]
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 6e7ba17

Please sign in to comment.