Skip to content

feat: Support direct image access#173

Merged
NautiluX merged 2 commits intomainfrom
ghcr
Feb 3, 2026
Merged

feat: Support direct image access#173
NautiluX merged 2 commits intomainfrom
ghcr

Conversation

@NautiluX
Copy link
Member

@NautiluX NautiluX commented Feb 2, 2026

When bootstrapping test infra, allow pulling from image registry when PAT is set.

Clickup: https://app.clickup.com/t/869c079a0

@NautiluX NautiluX force-pushed the ghcr branch 2 times, most recently from 4cd76de to 5e815f3 Compare February 3, 2026 07:20
@NautiluX NautiluX requested a review from Copilot February 3, 2026 07:40
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for direct image access from GitHub Container Registry when a Personal Access Token (PAT) is provided, enabling more efficient bootstrapping of test infrastructure by pulling container images directly instead of bundling them in installation packages.

Changes:

  • Added GitHub registry type support with PAT-based authentication
  • Modified VM disk sizes to be smaller (50GB vs 200GB) when using direct GitHub access
  • Updated installer to use lite packages when GitHub PAT is configured

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
internal/bootstrap/gcp/gcp.go Added GitHub registry type constant, PAT/user fields, GitHub access configuration method, and conditional logic for package selection and disk sizing
internal/bootstrap/gcp/gcp_test.go Refactored test setup to share mock objects across test cases and added tests for GitHub access configuration
cli/cmd/bootstrap_gcp.go Added CLI flags for GitHub PAT and registry user, with validation logic
docs/oms-cli_beta_bootstrap-gcp.md Updated documentation to include new GitHub PAT and registry user flags

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

Signed-off-by: NautiluX <2600004+NautiluX@users.noreply.github.com>
@NautiluX NautiluX merged commit ccbb7b9 into main Feb 3, 2026
6 checks passed
@NautiluX NautiluX deleted the ghcr branch February 3, 2026 09:52
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.

3 participants