Skip to content

Fix bump blob bootstrap flow - #1885

Merged
Alphasite merged 5 commits into
mainfrom
fix-bump-blob-first-time-add
Mar 6, 2026
Merged

Fix bump blob bootstrap flow#1885
Alphasite merged 5 commits into
mainfrom
fix-bump-blob-first-time-add

Conversation

@Alphasite

Copy link
Copy Markdown
Contributor

We will now handle bootstrapping explicitly

Alphasite and others added 3 commits March 5, 2026 11:49
The bump-blob task assumed blobs already exist in the blobstore.
When adding a new blob (e.g. postgresql-16) for the first time,
grep -v returns exit code 1 with no matches, which causes the
script to fail under set -eo pipefail.

Changes:
- Wrap grep in { ... || true; } to tolerate zero matches
- Skip bosh remove-blob when no existing blob is found
- Skip UPDATE_REFERENCES when there is no current version
- Use appropriate commit message for first-time additions

ai-assisted=yes
[TNZ-83781] Pull in new postgres lib for backup-and-restore-sdk

Made-with: Cursor
Co-authored-by: Colin Shield <colin.shield@broadcom.com>
Co-authored-by: Nishad Mathur <nishad.mathur@broadcom.com>
Not 100% sure this is right or not.

ai-assisted=yes
[TNZ-83781] Pull in new postgres lib for backup-and-restore-sdk

Co-authored-by: Nishad Mathur <nishad.mathur@broadcom.com>
ai-assisted=yes
[TNZ-83781] Pull in new postgres lib for backup-and-restore-sdk

Co-authored-by: Nishad Mathur <nishad.mathur@broadcom.com>
Copilot AI review requested due to automatic review settings March 6, 2026 19:04
@linux-foundation-easycla

linux-foundation-easycla Bot commented Mar 6, 2026

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CI “bump blob” automation to better support first-time blob additions (bootstrapping), and publishes a new backup-and-restore-sdk final release version (1.19.50) with updated build metadata and pipeline wiring.

Changes:

  • Add explicit “first-time add” handling to ci/tasks/bump-blob/task.sh (avoid removing non-existent blobs; adjust commit message and reference-updating behavior).
  • Publish final release metadata for backup-and-restore-sdk 1.19.50 (release manifest + build indices).
  • Adjust CI pipeline git resources and job gating (passed: constraints) to enforce the intended bootstrap flow.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
releases/backup-and-restore-sdk/index.yml Adds the 1.19.50 release entry to the release index.
releases/backup-and-restore-sdk/backup-and-restore-sdk-1.19.50.yml Adds the release manifest for version 1.19.50.
packages/database-backup-restorer-postgres-16/packaging Modifies the Postgres 16 packaging configure invocation (ICU-related env vars).
ci/tasks/bump-blob/task.sh Implements first-time blob add behavior and safer update/commit logic for bootstrapping.
ci/pipeline.yml Pins git resources to the configured branch and re-enables passed: constraints for bootstrap sequencing.
.final_builds/packages/s3-blobstore-backup-restorer/index.yml Adds a new final build entry for the s3 package.
.final_builds/packages/database-backup-restorer/index.yml Adds a new final build entry for the database-backup-restorer package.
.final_builds/packages/database-backup-restorer-postgres-16/index.yml Introduces the final builds index for the Postgres 16 package.
.final_builds/packages/database-backup-restorer-postgres-15/index.yml Adds a new final build entry for the Postgres 15 package.
.final_builds/jobs/database-backup-restorer/index.yml Adds a new final build entry for the database-backup-restorer job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ci/tasks/bump-blob/task.sh
Alphasite and others added 2 commits March 6, 2026 14:15
CLA bot was rejecting the bots signature

Co-authored-by: Colin Shield <colin.shield@broadcom.com>
ai-assisted=yes
[TNZ-83781] Pull in new postgres lib for backup-and-restore-sdk

Co-authored-by: Colin Shield <colin.shield@broadcom.com>
@Alphasite
Alphasite force-pushed the fix-bump-blob-first-time-add branch from ddad390 to 19bb3de Compare March 6, 2026 22:16
@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Mar 6, 2026
@Alphasite
Alphasite merged commit b320602 into main Mar 6, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Mar 6, 2026
@aramprice
aramprice deleted the fix-bump-blob-first-time-add branch July 13, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

4 participants