Commit graph

408 commits

Author SHA1 Message Date
Gerald Pinder
fbf57e5c83 fix: Properly escape module json 2024-09-14 00:59:44 -04:00
Gerald Pinder
ce717118ce chore: Release 2024-09-11 19:05:44 -04:00
Gerald Pinder
020f89d4d1 fix: Fix docker login for oauth logins 2024-09-11 18:33:56 -04:00
Gerald Pinder
1177a6d873 chore: Upgrade sigstore to use contributed changes 2024-09-11 14:40:53 -04:00
Gerald Pinder
199d975305 chore: Release 2024-09-08 10:26:17 -04:00
Gerald Pinder
91283614b8 chore: Update tests for lowercasing image names 2024-09-08 09:52:45 -04:00
Gerald Pinder
8c94473ae3 fix: Ensure image names are lowercase 2024-09-08 09:39:38 -04:00
Gerald Pinder
d4b511ebdb chore: Release 2024-09-07 18:59:56 -04:00
Gerald Pinder
4296085bf4 feat: Display list of image refs at the end of a build 2024-09-07 18:58:04 -04:00
Gerald Pinder
2f3edeb1a5 fix: Generate correct image names based on user supplied arguments 2024-09-07 01:47:37 -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
4634f40840 fix: Make build fail if module fails 2024-09-03 10:54:01 -04:00
Gerald Pinder
75a00ddb90 chore: Fix legacy integration tests 2024-09-02 13:12:47 -04:00
Gerald Pinder
3dfe5785f7 chore: Update patch rev for sigstore 2024-09-01 14:23:14 -04:00
Gerald Pinder
b60f1ada45 chore: Update CODEOWNERS 2024-08-31 17:58:06 -04:00
Gerald Pinder
7c4eee2862 fix: Ensure that debug logs header for builds properly display the time 2024-08-31 12:36:28 -04:00
Gerald Pinder
74d99f2b17 feat: Color output in terminal if running in TTY 2024-08-30 23:40:53 -04:00
Gerald Pinder
54c35a870f chore: Make sigstore an optional dep 2024-08-25 14:58:20 -04:00
Gerald Pinder
43dd4ef842 chore: Release 2024-08-25 14:10:13 -04:00
Gerald Pinder
9ed47c0884 fix: Properly handle alt-tags so they don't collide with default tags 2024-08-25 14:08:39 -04:00
Gerald Pinder
04972416cb fix: Make sure GitHub job pushes latest image on scheduled job 2024-08-24 18:20:12 -04:00
Gerald Pinder
f13b67637b fix: Make sure getting version fails if not all dirs were copied 2024-08-20 09:53:59 -04:00
Gerald Pinder
e4ad31c047 chore: Release 2024-08-20 09:04:17 -04:00
Gerald Pinder
7418f60f8e fix: Don't let process continue running if the main app thread panics 2024-08-20 00:48:44 -04:00
Gerald Pinder
50ba091ed0 fix: Include $crate for macro calls 2024-08-15 22:25:02 -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
Gerald Pinder
3ecb0d3d93 chore: Fix tag CI to build prebuild separately from main build 2024-08-11 12:06:31 -04:00
Gerald Pinder
7be5e00a31 chore: Release 2024-08-11 11:09:54 -04:00
Gerald Pinder
464fdf94a9 fix: Out of bounds panic when not retrying push 2024-08-11 10:37:17 -04:00
Gerald Pinder
82606cc144 fix: allow copying keys to both /etc and /usr/etc 2024-08-10 22:11:52 -04:00
fiftydinar
bd75880a03
chore: Move files from /usr/etc/ to /etc/ in build-time (#214)
Take a look at this issue for more details:

https://github.com/blue-build/modules/issues/314

Idk if anything else needs to be done, please tell

Should be tested for regressions too
2024-08-08 17:11:27 +00:00
Gerald Pinder
6a97a52da4 chore: Switch from askama to rinja 2024-08-03 11:21:45 -04:00
xyny
f89fa3f159
fix: add typespec schemas for cli modules, remove modules.json (not needed anymore) (#209)
The website build process now uses the GitHub API to generate a global
`modules.json`. If you decide to move the directory containing all the
modules, please tell me, or make a PR changing [this
line](9eb198c4e5/astro.config.mjs (L102)).
If you don't, I'll find out anyways, because the website builds will
break.

Also, whenever updating the modules, make sure the schema is updated too
to match the current state of the module. If you need help with writing
[TypeSpec](https://typespec.io/), consult me, but you probably wont,
since it's just a type system kind of like TypeScript's or Rust's .
2024-07-27 10:31:52 -04:00
Gerald Pinder
e36bb74231 fix: Builds failing due to new Rust version 2024-07-26 15:44:29 -04:00
Gerald Pinder
7481ac1825 chore: Fix integration tests failing 2024-07-24 15:18:49 -04:00
Gerald Pinder
431162beb1
chore: Add Justfile commands for easier development (#205) 2024-07-24 15:15:31 -04:00
Gerald Pinder
1d3e4e075e chore: Move files for test-repo to work with new files module update 2024-07-24 14:33:33 -04:00
Gerald Pinder
065fa193e3
refactor: Switch to using miette for errors instead of anyhow (#198)
Switch to a better error crate that will allow setting help texts for
any error we want.
2024-07-05 21:55:43 -04:00
Gerald Pinder
784be9869a
feat: Create RunDriver (#196)
This will be used for running containers for various tasks. There will
be a way to take all output from the process and a way to display output
from a running container like our builds have.
2024-07-05 19:20:38 -04:00
Gerald Pinder
1a348f8137 chore: Stop using secureblue for integration testing
This would occasionally cause tests to fail cause SecureBlue would rightfully make changes to their code. We shouldn't be relying on this anymore as it was a crutch to lean on when we were first starting this project
2024-06-30 16:57:11 -04:00
Gerald Pinder
7a563f42da
fix: Support other signals properly (#194) 2024-06-23 18:29:46 -04:00
Gerald Pinder
d0d51d5aa0 chore: Capitalize AS 2024-06-21 21:08:43 -04:00
Gerald Pinder
235b3b358c
fix: Add Ctrl-C handler for spawned children (#193)
This allows spawned children processes to be killed when a user performs
a Ctrl-C operation. Before this change, children processes would end up
continuing in the background with the user unaware.
2024-06-17 20:07:52 -04:00
Gerald Pinder
c12deec589 chore: Use proper out directory for installer image 2024-06-10 09:27:01 -04:00
Gerald Pinder
4ca98c1c2a
feat(experimental): Build multiple recipes in parallel (#182)
The `build` subcommand can now take in any number of recipe files and
will build them all in parallel. Along with this new ability, I've added
a way to easily distinguish which part of the build log belongs to which
recipe. Check out the `docker_build` action of this PR for an example.


![gif](https://gitlab.com/wunker-bunker/wunker-os/-/raw/main/bluebuild.gif)

## Tasks

- [x] Make build log follow same pattern as normal logs to keep things
consistent
- [x] Update color ranges based on @xynydev 's feedback
- [x] Deal with ANSI control characters in log output
- [x] Add [`indicatif`](https://crates.io/crates/indicatif) to make logs
look nicer
- [x] Add ability to print logs to a file
2024-06-07 17:52:26 -04:00
Gerald Pinder
18e48a34a4 chore: Checkout proper branch and build using cargo for buildah-build 2024-06-06 19:58:41 -04:00
Gerald Pinder
dcbccb602d chore: Build with priveleged 2024-06-04 14:20:06 -04:00
Gerald Pinder
6945915d4e
feat: Add arm support (#191)
This adds support for ARM based images and binaries.
2024-06-04 14:03:00 -04:00
Gerald Pinder
ea4b760805 chore: Add gh cli to just release 2024-06-03 09:59:53 -04:00
Gerald Pinder
4f235be4f7 chore: Release 2024-06-03 09:54:28 -04:00