Skip to content

Commit f6ec0f5

Browse files
committed
Also push the old wheel name to GCP (#467)
## Summary Previously in this change 9901878 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 3fdc1b3 commit f6ec0f5

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
@@ -188,6 +188,7 @@ function upload_to_gcp() {
188188
gcloud storage cp "$CLOUD_GCP_JAR" "$ELEMENT_JAR_PATH" --custom-metadata="zipline_user=$USER,updated_date=$(date),commit=$(git rev-parse HEAD),branch=$(git rev-parse --abbrev-ref HEAD)"
189189
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)"
190190
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)"
191+
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)"
191192
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)"
192193
done
193194
echo "Succeeded"

0 commit comments

Comments
 (0)