Skip to content

Commit

Permalink
Remove dead special case for defunct branch COBALT
Browse files Browse the repository at this point in the history
… and inline local variable gcs_path_suffix.

Issue: 365150653
Reviewed-on: #4850
  • Loading branch information
briantting authored and dahlstrom-g committed Feb 5, 2025
1 parent 08c3370 commit f1e841c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cobalt/devinfra/kokoro/bin/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,7 @@ create_and_upload_nightly_archive () {
local local_archive_path=$3
local build_info_path=$4

local gcs_path_suffix="_nightly"
if [[ "${KOKORO_GOB_BRANCH_src}" != "COBALT" ]]; then
gcs_path_suffix="_${KOKORO_GOB_BRANCH_src}"
fi
local gcs_archive_path="gs://$(get_bucket_name)/${platform}${gcs_path_suffix}/$(date +%F)/${KOKORO_ROOT_BUILD_NUMBER}/"
local gcs_archive_path="gs://$(get_bucket_name)/${platform}_${KOKORO_GOB_BRANCH_src}/$(date +%F)/${KOKORO_ROOT_BUILD_NUMBER}/"

init_gcloud

Expand Down

0 comments on commit f1e841c

Please sign in to comment.