Skip to content

Commit f47b102

Browse files
authored
Also push the old wheel name to GCP (#467)
## Summary Previously in this change 2a13f94 I had us push the old wheel name for etsy to AWS but forgot to also do the same for GCP ## Checklist - [ ] Added Unit Tests - [ ] Covered by existing CI - [ ] Integration tested - [ ] Documentation update <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Expanded the distribution process to include an additional legacy package artifact upload. This update integrates enhanced metadata tracking (e.g., timestamps and commit references) to ensure improved traceability and auditability while maintaining consistency with existing deployments. These improvements contribute to a smoother and more reliable update experience for end-users. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 6397c8b commit f47b102

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/distribution/build_and_upload_artifacts.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ function upload_to_gcp() {
200200
gcloud storage cp "$CLOUD_GCP_SUBMITTER_JAR" "$ELEMENT_JAR_PATH" --custom-metadata="zipline_user=$USER,updated_date=$(date),commit=$(git rev-parse HEAD),branch=$(git rev-parse --abbrev-ref HEAD)"
201201
gcloud storage cp "$SERVICE_JAR" "$ELEMENT_JAR_PATH" --custom-metadata="zipline_user=$USER,updated_date=$(date),commit=$(git rev-parse HEAD),branch=$(git rev-parse --abbrev-ref HEAD)"
202202
gcloud storage cp "$EXPECTED_ZIPLINE_WHEEL" "$ELEMENT_JAR_PATH" --custom-metadata="zipline_user=$USER,updated_date=$(date),commit=$(git rev-parse HEAD),branch=$(git rev-parse --abbrev-ref HEAD)"
203+
gcloud storage cp "$OLD_ZIPLINE_WHEEL_NAME" "$ELEMENT_JAR_PATH" --custom-metadata="zipline_user=$USER,updated_date=$(date),commit=$(git rev-parse HEAD),branch=$(git rev-parse --abbrev-ref HEAD)"
203204
gcloud storage cp "$FLINK_JAR" "$ELEMENT_JAR_PATH" --custom-metadata="zipline_user=$USER,updated_date=$(date),commit=$(git rev-parse HEAD),branch=$(git rev-parse --abbrev-ref HEAD)"
204205
done
205206
echo "Succeeded"

0 commit comments

Comments
 (0)