Commit graph

32 commits

Author SHA1 Message Date
Gerald Pinder
f67dea41a3 chore: Remove feature flags 2025-05-31 13:15:40 -04:00
Gerald Pinder
00806b02e1 chore: Simplify opts using new ImageRef type 2025-05-09 16:58:51 -04:00
Gerald Pinder
b2253d598a feat: Add cache layer support 2025-05-09 16:58:51 -04:00
Gerald Pinder
44cecab3f4 chore: Format files 2025-04-29 00:50:28 -04:00
Gerald Pinder
ad53cdcb8c chore: Upgrade cached and use new sync_writes by_key for faster operations 2025-04-07 11:59:45 -04:00
Gerald Pinder
4b15468c3d Revert "fix: Use sudo for login when using rechunk"
This reverts commit 185a34f86b.
2025-03-26 15:23:00 -04:00
Gerald Pinder
185a34f86b fix: Use sudo for login when using rechunk 2025-03-26 13:56:16 -04:00
Gerald Pinder
db9bf78c94 Add prompt for sudo 2025-03-23 17:25:06 -04:00
Gerald Pinder
9a3523a8a1 Lint fixes 2025-03-23 17:25:06 -04:00
Gerald Pinder
4537e29b55 Add check for using askpass 2025-03-23 17:25:06 -04:00
Gerald Pinder
883090ee85 Propogate use_sudo pattern to all traits that podman can be used in 2025-03-23 17:25:06 -04:00
Tom van Dijk
430d18de8a Apply suggestions from code review
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2025-03-23 17:25:06 -04:00
Tom van Dijk
1bd8e926b4 fixup! feat(podman_driver): Invoke sudo when needed for privileged 2025-03-23 17:25:06 -04:00
Tom van Dijk
9963758a91 feat(podman_driver): Invoke sudo when needed for privileged
My motivation is that it's really a bad practice to just run `sudo bluebuild generate -o Containerfile`, as the file gets created as root and it's kind-of unsafe to the system too.

I'd rather have the tool invoke sudo by itselves for the things it needs it for, rather than wrapping the entire program in sudo.

This is especially the case for local (non-ci) builds.
2025-03-23 17:25:06 -04:00
Gerald Pinder
003e473de1 fix: Use lenient_semver for build drivers version check to handle pre-release versions 2025-02-10 20:39:12 -05:00
Gerald Pinder
6424bf3573 chore: Upgrade comlexr to 1.3.0 2025-01-31 18:03:53 -05:00
Gerald Pinder
c68a889490 fix: Remove image for docker inspect after running image to get version 2025-01-19 11:20:02 -05:00
Gerald Pinder
cbb6efd14d chore: Switch to using my new proc_macro comlexr 2025-01-12 16:15:29 -05:00
Gerald Pinder
4a7293889d refactor: Make use of Reference to ensure typing 2024-12-29 18:14:59 -05:00
Gerald Pinder
469c6044a6 fix: Typo in --all arg for buildah and podman prune 2024-12-14 00:48:12 -05:00
Gerald Pinder
b4fbac2a66 feat(rechunk): Add the ability to rechunk an image 2024-12-02 02:23:22 -05:00
Gerald Pinder
1671ea2143 feat(prune)!: Create prune command 2024-11-27 14:30:29 -05:00
Gerald Pinder
918da22952
feat(init): Add the new/init subcommands (#85) 2024-11-14 20:15:12 -05:00
Gerald Pinder
e3b246ef91 feat: Include base image information in labels 2024-11-14 09:26:08 -05:00
Gerald Pinder
752c957914 chore: Remove need to update .gitignore by making use of temporary directories 2024-11-07 00:01:23 -05:00
Gerald Pinder
cd0fbfad6f fix: Ensure the correct digest is used for docker and podman inspect drivers 2024-10-05 22:09:50 -04:00
Gerald Pinder
4e0ab374c9 fix: Use built-in image inspection for podman and docker 2024-10-04 16:48:34 -04:00
Gerald Pinder
75eae89e4a feat: Add platform arg to force building a specific architecture 2024-10-03 14:47:47 -04:00
Gerald Pinder
20d1950530 fix: Run image as fallback for version retrieval 2024-09-29 15:10:08 -04:00
Gerald Pinder
0c52cf6a54 refactor: Swtich to using bon for builder pattern 2024-09-21 18:42:28 -04:00
Gerald Pinder
e6cce3d542
feat(iso): Create generate-iso command (#192)
## Tasks

- [x] Add ctrl-c handler to kill spawned children
- [x] add more args to support all variables
- [x] Add integration test
2024-09-04 18:17:08 -04:00
Gerald Pinder
8ce83ba7ff
refactor: Create SigningDriver and CiDriver (#197)
This also includes a new `login` command. The signing and CI logic is now using the Driver trait system along with a new experimental sigstore signing driver. New static macros have also been created to make implementation management easier for `Command` usage and `Driver` trait implementation calls.

---------

Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
2024-08-12 23:52:07 -04:00
Renamed from src/drivers/podman_driver.rs (Browse further)