Skip to content

tools: baseimage: Support destination project, labels, and pre-flight checks in BuildImage - #3485

Open
rmuthiah wants to merge 1 commit into
google:mainfrom
rmuthiah:baseimage-dest-project-labels
Open

rmuthiah wants to merge 1 commit into
google:mainfrom
rmuthiah:baseimage-dest-project-labels

Conversation

@rmuthiah

Copy link
Copy Markdown
Collaborator

Part 1 of 3 replicating finalimage release tooling directly in tools/baseimage.

  • Add CreateImageOpts (DestProject and Labels) to GceHelper.CreateImage and wait on the destination project's global operation.
  • Add GetImage helper to GceHelper.
  • Add DestImageProject and Labels fields to BuildImageOpts.
  • Centralize pre-flight source and destination ImageExists checks in GceHelper.BuildImage so all image-building commands fail fast before creating builder instances or disks.

… checks in BuildImage

- Add CreateImageOpts (DestProject and Labels) to GceHelper.CreateImage and wait on the destination project's global operation.
- Add GetImage helper to GceHelper.
- Add DestImageProject and Labels fields to BuildImageOpts.
- Centralize pre-flight source and destination ImageExists checks in GceHelper.BuildImage so all image-building commands fail fast before creating builder instances or disks.
@rmuthiah
rmuthiah force-pushed the baseimage-dest-project-labels branch from 9ff93c7 to b6056c8 Compare October 31, 2026 02:49

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant