Commit graph

32 commits

Author SHA1 Message Date
Gerald Pinder
ab87f6548d chore: Don't use satellites for integration tests 2024-05-18 09:28:13 -04:00
Gerald Pinder
e6905b4fcc chore: Fix checkout for podman-build 2024-05-15 11:35:20 -04:00
Gerald Pinder
2cb6d1e00c Remove if for main build 2024-05-15 10:23:12 -04:00
Gerald Pinder
c472fad2af Add podman build job 2024-05-15 10:02:37 -04:00
Gerald Pinder
83d654d3a2 chore: Improve tagging of images and applying labels 2024-04-28 21:21:54 -04:00
Gerald Pinder
76d32bc23a chore: Fix integration tests 2024-04-28 00:36:45 -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
b544fecc25 chore: Fix build.yml 2024-03-27 00:34:39 -04:00
Gerald Pinder
198886c799 chore: Use tag exports instead 2024-03-27 00:33:31 -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
ab11362a0d
fix: Allow user supplied registry to be set in the template (#135) 2024-03-25 20:27:34 -04:00
Gerald Pinder
5601a27491 chore: Don't use docker driver for buildx job on main 2024-03-24 11:23:02 -04:00
Gerald Pinder
783ac2c3fb chore: Enable cache builds on main branch 2024-03-23 18:33:34 -04:00
Hikari
580c3d6ce7
fix: use container skopeo (#110)
the `os_version` is defaulting to the `image_tag` inside containers and
causing our template to use latest tag

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-03-11 23:23:42 +00:00
Gerald Pinder
c084592934 fix: Checkout proper versions when building on main vs a PR 2024-03-11 19:16:30 -04:00
Gerald Pinder
bf6ce3f650 chore: Setup build concurrency to reduce number of simultaneous builds on a PR 2024-03-09 12:29:33 -05: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
de49037330
fix: Remove check for specific branches for signing (#114) 2024-03-05 09:18:43 -05:00
Gerald Pinder
0ba78fab32
refactor: Update build command to use BuildStrategy (#88) 2024-03-01 11:18:02 -06:00
Gerald Pinder
2a85c2732b chore: Fix integration-tests for forks 2024-02-19 20:52:20 -05:00
Gerald Pinder
fc489eca32 chore: Run integration tests on a separate satellite to keep build cache free 2024-02-19 14:37:55 -05:00
Gerald Pinder
5ce88948e2 chore: Remove unwanted software so we have enough space to run the build for forked PRs 2024-02-14 11:21:36 -05:00
Gerald Pinder
bb7ab8e1a5 chore: Fix build and build-pr not running properly 2024-02-13 22:11:44 -05: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
Gerald Pinder
9d117b5c5d fix: Remove redundant
earthly setup
2024-02-03 14:44:54 -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
40d6ffbdde ci: Set packages permissions to write 2024-01-23 22:52:12 -05:00
Gerald Pinder
90dbe0bded ci: Use docker/login-action@v3 2024-01-23 22:36:47 -05:00
Gerald Pinder
5849c4a23f ci: Allow workflow_dispatch on build 2024-01-23 22:27:05 -05:00
Gerald Pinder
e8e8bfa096 ci: Allow write for contents and id-token 2024-01-23 22:03:33 -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