butane: update Dockerfile and build script for ignition repo - #2256
Conversation
Update butane/Dockerfile to use the ignition repo root as context and run butane/build_for_container from there. Update the build script to use the ignition module import path.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout. (8)
|
| Layer / File(s) | Summary |
|---|---|
Relocate container build targets butane/Dockerfile, butane/build_for_container |
The Dockerfile uses /ignition for the workspace and binary copy. The build script uses the relocated version package and builds butane/internal. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Possibly related PRs
- coreos/ignition#2255: Updates the same container build paths and package targets.
🚥 Pre-merge checks | ✅ 6
✅ Passed checks (6 passed)
| Check name | Status | Explanation |
|---|---|---|
| Title check | ✅ Passed | The title uses the required subsystem format, has a lowercase imperative description, and accurately summarizes the changes. |
| Description check | ✅ Passed | The description clearly explains the Dockerfile and build script updates and their purpose in the Ignition repository. |
| Docstring Coverage | ✅ Passed | No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. |
| Linked Issues check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check | ✅ Passed | Check skipped because no linked issues were found for this pull request. |
| Commit Message Convention | ✅ Passed | The PR contains one non-merge commit: butane: update Dockerfile and build script for ignition repo; it uses a valid subsystem, lowercase imperative update, and no trailing period. |
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
- Create stacked PR
- Commit on current branch
🧪 Generate unit tests (beta)
- Create PR with unit tests
Comment @coderabbitai help to get the list of available commands.
Binary size report (
|
| Size | |
|---|---|
Base (main) |
33MiB |
| PR (#2256) | 33MiB |
| Delta | +0B (0.00%) |
Summary
Update
butane/Dockerfileandbutane/build_for_containerto work correctly from within the ignition repo after the Butane merge (#2235).Changes
butane/Dockerfile-- Update Docker context from/butaneto/ignition(repo root), run./butane/build_for_containerinstead of./build_for_containerbutane/build_for_container-- Update import path fromgithub.com/coreos/butanetogithub.com/coreos/ignition/v2/butane, use module path instead ofinternal/main.goThe CI workflow to build and push this container will come from coreos/repo-templates#371.
Tracking