Skip to content

Conversation

@cgwalters
Copy link
Collaborator

Follows the general pattern in bootc of ensuring that GHA flows
are delegating heavy lifting to targets easily executable locally
via just.

Add bootc/Justfile as a just submodule (invoked via just bootc/)
that handles cloning, patching, building, and testing bootc against the
local containers-image-proxy-rs checkout.

Add a toplevel Justfile with common development targets that wrap
cargo commands:
- build/build-release: Build workspace
- test: Run all tests
- clippy: Run clippy lints
- fmt/fmt-check: Format code
- check: Run all checks (clippy + fmt + test)
- clean: Clean build artifacts

Assisted-by: OpenCode (Sonnet 4)
Signed-off-by: Colin Walters <walters@verbum.org>
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces Justfiles to automate building and testing against bootc as a reverse dependency, enhancing CI and local development. A significant security concern was identified in bootc/Justfile related to command injection, where environment variables are directly interpolated into shell scripts. Beyond this, the clone target could be refactored for improved robustness and idempotency, and the use of sudo in the test target should be addressed for security and portability reasons.

@cgwalters cgwalters marked this pull request as draft January 22, 2026 21:27
@cgwalters cgwalters marked this pull request as ready for review January 23, 2026 20:29
@cgwalters cgwalters force-pushed the revdep-ci-bootc branch 2 times, most recently from 303c176 to 7256d91 Compare January 23, 2026 21:25
Follows the general pattern in bootc of ensuring that GHA flows
are delegating heavy lifting to targets easily executable locally
via `just`.

Add bootc/Justfile as a just submodule (invoked via just bootc/<target>)
that handles cloning, patching, building, and testing bootc against the
local containers-image-proxy-rs checkout.

Assisted-by: OpenCode (Sonnet 4)
Signed-off-by: Colin Walters <walters@verbum.org>
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.

2 participants