Commit graph

40 commits

Author SHA1 Message Date
Gerald Pinder
2923c417ab chore: Ensure cargo installs use version for build scripts image 2024-05-07 20:16:22 -04:00
Gerald Pinder
c2abf3fcb8
fix: Git sha not present during cargo install (#176) 2024-05-05 00:44:22 -04:00
Gerald Pinder
bb5fbdd193 chore: Fix how we get the version in the Earthfile 2024-04-30 16:41:12 -04:00
Gerald Pinder
ac57f9e9f5 chore: Streamline getting version 2024-04-29 23:40:11 -04:00
Gerald Pinder
83d654d3a2 chore: Improve tagging of images and applying labels 2024-04-28 21:21:54 -04:00
Gerald Pinder
0c7033ccd2
feat: Move module run logic into its own script (#168)
This will help make the Containerfile just a little bit easier to read
(ignoring all the mounts lol). This would also allow us to add logic
later to support modules that run executables other than `*.sh`.
2024-04-27 15:19:58 -04:00
Gerald Pinder
e66e880857
chore: Cleanup images and use hash for exports tag (#158)
I noticed that making changes to the exports script before a release
could cause modules to not build properly if breaking changes got pushed
out. To prevent this, I'm making it so that the hash of the commit is
put in the tag for the exports script image and that the CLI tool will
use that hash when building the `Containerfile`.
2024-04-13 05:55:50 +00:00
Gerald Pinder
198886c799 chore: Use tag exports instead 2024-03-27 00:33:31 -04:00
Gerald Pinder
72e961c572 chore: Add image source label for exports 2024-03-27 00:27:58 -04:00
Gerald Pinder
19c93ce742 fix: Put export script in own image
HEREDOC support for podman doesn't work exactly 1-1 with Dockerfiles. This fix gives the export script its own image that we mount.
2024-03-27 00:08:58 -04:00
Gerald Pinder
da628db1ee chore: Remove builtin-podman code
This was not being worked on and was becoming too much trouble for our current goals
2024-03-23 15:54:15 -04:00
Gerald Pinder
338b9c699e chore: Separate nightly build to not run in CI for now 2024-03-19 22:39:25 -04:00
Gerald Pinder
27dfdbc8a7 chore: Don't build nightly for now 2024-03-19 19:39:24 -04:00
Gerald Pinder
3a2353923d chore: Update builds to use different satellites and have integration tests on their own job 2024-03-06 15:08:16 -05:00
Gerald Pinder
0ba78fab32
refactor: Update build command to use BuildStrategy (#88) 2024-03-01 11:18:02 -06:00
Gerald Pinder
910e0434b6
refactor: Move templates to their own crate (#83)
This PR logically separates out parts of the code to their own crates. This will be useful for future Tauri App development.
2024-02-25 14:45:33 -06:00
gerblesh
d26382b85f
feat: use WORKDIR and ENTRYPOINT for cli containers (#63)
required for running the bluebuild CLI directly from podman (needed for
latest version of bluebuild for github action)

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-02-14 16:40:17 +00:00
Gerald Pinder
46700ab794
chore: Create base integration test setup (#55)
This will allow us to create a suite of tests for our new features
rather than using my personal image repo
2024-02-09 11:47:59 -05:00
Hikari
2492bb0eee
refactor!: rename bb to bluebuild (#50) 2024-02-06 19:55:38 -05:00
Gerald Pinder
933d25054a fix: Build failing due to change in local tarball location 2024-02-01 11:27:53 -05:00
Hikari
e069346e15
feat: Bugreport command (#28)
Add a bug report + completions command(not complete yet) so that new
users can easily submit bugs to us, and I wanted completions for bb
(super easy with clap)

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-01-31 09:51:13 -05:00
Gerald Pinder
39fce7b2f9 fix: Use new cargo-builder to help speed up build times 2024-01-28 18:58:47 -05:00
Gerald Pinder
cd1e43b0c3
chore: Setup earthly satellite building (#29)
- Builds on main and tags will use the `medium` satellite that uses `x4`
rate on build minutes
  - This gives us larger cache and more memory
- Builds on PRs will use the `small` satellite that uses `x2` rate on
build minutes
- We are using the starter tier which gives us `10000` build minutes per
month and caching for our builds to make them faster
2024-01-28 13:20:13 -06:00
Gerald Pinder
097dbb391a
fix: Improve workflow for main branch and PRs (#17)
This makes it so that the main branch will push images but PRs won't.
This also puts integration tests back in the `+all` target.
2024-01-27 11:44:54 -06:00
Gerald Pinder
e8e8bfa096 ci: Allow write for contents and id-token 2024-01-23 22:03:33 -05:00
Gerald Pinder
6a4c89d567 ci: Don't build integration tests in +all 2024-01-23 21:49:13 -05:00
N16hth4wk
99649d2d88
ci: Create GitHub Workflow (#9)
Add support for building, tagging, and releasing via CICD

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-01-23 20:07:48 -05:00
Gerald Pinder
b547a326fd feat!: Upgrade and Rebase commands 2024-01-21 23:23:36 +00:00
Gerald Pinder
1b950b08dc nightly(podman-api): Use podman-api crate for building images 2024-01-19 18:55:26 +00:00
Gerald Pinder
218cc9c7d3 ci: use --privileged instead of WITH DOCKER 2024-01-14 22:20:52 -05:00
Gerald Pinder
5d50ac4fef ci: Run both nightly and default integration tests 2024-01-14 22:02:36 -05:00
Gerald Pinder
9636c2edc5 test: Add integration tests for build and template 2024-01-15 02:20:08 +00:00
Gerald Pinder
eaeb79f329 feat: Local image rebasing 2024-01-14 03:02:35 +00:00
Gerald Pinder
e0d93e81b5 fix: Earthfile syntax error 2023-12-30 15:53:18 -05:00
Gerald Pinder
d3ff4eed93 fix: rename ublue-rs to blue-build 2023-12-30 15:35:34 -05:00
Gerald Pinder
3b07758709 fix: add support for alpine image and using either podman or buildah 2023-12-28 16:28:34 -05:00
Gerald Pinder
a25e0418c4 Add ability to use incremental caching for rust builds in Earthfile 2023-12-27 16:36:16 -05:00
Gerald Pinder
a3da7e3db0 Have ublue-cli manage iso-generator 2023-12-21 18:06:00 -05:00
Gerald Pinder
e9cfc8ae06 Fix SAVE IMAGE 2023-12-18 22:33:28 -05:00
Gerald Pinder
ebd861cd7e Refactor Command Structs and create Earthly build 2023-12-19 02:23:31 +00:00