-
-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Add boil tool #1224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
feat: Add boil tool #1224
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
beb4928
feat: Add boil tool
Techassi 4e96bba
chore: Add boil configs and adjust Dockerfiles
Techassi 19738fd
chore: Remove old Python config files
Techassi 9a6ab65
ci: Adjust notification condition
Techassi 75194b2
chore: Remove commented-out code
Techassi 6db36f6
chore: Remove unwraps
Techassi edaacb9
chore: Add cargo alias for boil
Techassi 84184ec
chore: Update README to mention boil
Techassi f439e99
chore: Update README
Techassi 5fe47a0
chore: Merge branch 'main' into feat/boil
Techassi 65bab9c
feat: Add --load flag to build command
Techassi 077b2d4
feat: Add more annotations to the built image
Techassi fe22240
fix: Apply corrections from code review
Techassi 068784d
chore: Remove protobuf-version arg from Hadoop boil config
Techassi 186bd22
feat: List images to show, move CLI arguments
Techassi d189810
chore: Add example to README
Techassi 06638fc
chore: Merge branch 'main' into feat/boil
Techassi 1dc61e9
chore: Merge branch 'main' into feat/boil
Techassi 8ea62b4
feat: Move shared data into common target which targets inherit from
Techassi 38d1a2f
chore: Add rust-toolchain file
Techassi 45eec1d
chore: Make config arg global
Techassi 43e7745
feat: Add --strip-architecture arg
Techassi 8d99146
ci: Add workflow to release boil
Techassi 2565cb8
ci: Also build boil on PR (without releasing it)
Techassi 02c6a57
ci: Remove reusable workflow
Techassi c10d03a
ci: Only build boil for aarch64 on macOS
Techassi 7197064
chore: Merge branch 'main' into feat/boil
Techassi 8558c62
chore: Merge branch 'main' into feat/boil
Techassi 64a4ff6
chore: Merge branch 'main' into feat/boil
Techassi ac0768c
chore: Merge branch 'main' into feat/boil
Techassi 288f801
chore: Remove the term "product" from the Rust source code
Techassi ae70f91
feat: Add CLI argument to load build argumnts from file
Techassi 95352f9
chore: Add metadata to Cargo.toml files
Techassi 27f30ca
chore: Add rustfmt config, apply changes
Techassi 3d6b482
chore: Adjust pre-commit config file
Techassi 2729751
ci: Add cargo-deny job to workflow
Techassi 69123a1
chore: Bump tracing-subscriber to 0.3.20 to fix RUSTSEC-2025-0055
Techassi 0df9762
chore: Add metadata to patchable's Cargo.toml file
Techassi ec4c14a
ci: Still build boil on PR
Techassi 3d6f2ac
ci: Install Rust in pre-commit workflow
Techassi c89dd37
chore: Use Apache-2.0 license instead of OSL-3.0 license
Techassi e58d20e
chore: Mention nightly Rust toolchain updates
Techassi 9a9bd09
chore: Merge branch 'main' into feat/boil
Techassi bccc43b
chore: Remove OpenShift arg
Techassi 4b353da
chore: Remove tree subcommand (for now)
Techassi 92a9622
chore: Move glob pattern into const
Techassi 7e6bede
chore: Add more image validation
Techassi e1798a2
chore: Add image config file name constant
Techassi c540829
chore: Move Docker label into a constant
Techassi 943d7bc
fix: Actually use --target-containerfile argument
Techassi 2be036e
docs: Add doc comments for clap command handler functions
Techassi b651cb1
feat: Auto-detect interactive shell for pretty output
Techassi 089d2bf
chore: Only use a single output format
Techassi 79e59b3
chore: Remove unused code
Techassi dd5caa7
chore: Rename --export-image-manifest-uris CLI argument
Techassi a2aba86
chore: Apply suggestions
Techassi 52eeaed
docs: Add some clarifying doc comments
Techassi 4ee3524
feat: Improve image parsing and validation
Techassi 71c8f6f
chore: Update slab to 0.4.11 to fix RUSTSEC-2025-0047
Techassi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[alias] | ||
patchable = ["run", "--bin", "patchable", "--"] | ||
boil = ["run", "--bin", "boil", "--"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
--- | ||
name: Build/Release boil | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/boil_build_release.yaml' | ||
- 'rust-toolchain.toml' | ||
- 'Cargo.*' | ||
- '**.rs' | ||
push: | ||
tags: | ||
- "boil-[0-9]+.[0-9]+.[0-9]+**" | ||
|
||
env: | ||
RUST_VERSION: 1.87.0 | ||
|
||
jobs: | ||
# This job is always run to ensure we don't miss any new upstream advisories | ||
cargo-deny: | ||
name: Run cargo-deny | ||
runs-on: ubuntu-latest | ||
# Prevent sudden announcement of a new advisory from failing CI | ||
continue-on-error: ${{ matrix.checks == 'advisories' }} | ||
strategy: | ||
matrix: | ||
checks: | ||
- advisories | ||
- bans licenses sources | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
with: | ||
persist-credentials: false | ||
submodules: recursive | ||
|
||
- name: Run cargo-deny | ||
uses: EmbarkStudios/cargo-deny-action@f2ba7abc2abebaf185c833c3961145a3c275caad # v2.0.13 | ||
with: | ||
command: check ${{ matrix.checks }} | ||
|
||
create-release: | ||
name: Create Draft Release | ||
if: github.event_name == 'push' | ||
needs: | ||
- cargo-deny | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create Draft Release | ||
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2 | ||
with: | ||
draft: true | ||
|
||
build: | ||
name: Build boil | ||
needs: | ||
- cargo-deny | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
targets: | ||
- {target: aarch64-unknown-linux-gnu, os: ubuntu-24.04-arm} | ||
- {target: x86_64-unknown-linux-gnu, os: ubuntu-latest} | ||
- {target: aarch64-apple-darwin, os: macos-latest} | ||
runs-on: ${{ matrix.targets.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | ||
with: | ||
persist-credentials: false | ||
|
||
- uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 | ||
with: | ||
toolchain: ${{ env.RUST_VERSION }} | ||
targets: ${{ matrix.targets.target }} | ||
|
||
- name: Build Binary | ||
env: | ||
TARGET: ${{ matrix.targets.target }} | ||
run: cargo build --target "$TARGET" --release --package boil | ||
|
||
- name: Rename Binary | ||
env: | ||
TARGET: ${{ matrix.targets.target }} | ||
run: mv "target/$TARGET/release/boil" "boil-$TARGET" | ||
|
||
- name: Upload Artifact to Release | ||
if: github.event_name == 'push' | ||
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2 | ||
with: | ||
draft: false | ||
files: boil-${{ matrix.targets.target }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"rust-analyzer.rustfmt.overrideCommand": [ | ||
"rustfmt", | ||
// Keep in sync with across other repos like operator-rs and operator-templating | ||
"+nightly-2025-05-26", | ||
Techassi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"--edition", | ||
"2024", | ||
"--" | ||
], | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.