Commit Graph

52 Commits

Author SHA1 Message Date
dependabot[bot]
daf8bd6c56 chore(deps): bump Wandalen/wretry.action from 3.4.0 to 3.5.0 (#162)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-19 14:29:34 -04:00
dependabot[bot]
be1d455b30 chore(deps): bump sigstore/cosign-installer from 3.4.0 to 3.5.0 (#149)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 02:56:41 -05:00
dependabot[bot]
b55c8247cb chore(deps): bump Wandalen/wretry.action from 3.0.0 to 3.4.0 (#150)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-26 02:56:29 -05:00
dependabot[bot]
9837374b17 chore(deps): bump Wandalen/wretry.action from 1.4.10 to 3.0.0 (#136)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 14:56:30 -05:00
dependabot[bot]
a27bd758e0 chore(deps): bump Wandalen/wretry.action from 1.4.5 to 1.4.10 (#132)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-24 04:31:59 +00:00
Benjamin Sherman
d1e96377c9 chore(ci): fix image signing after adding retry (#127) 2024-03-14 09:27:47 -05:00
Benjamin Sherman
9a4f1e34bc chore(ci): fix version inspection handling and add retry (#126)
Fixed a bug with the skopeo version inspection and ensure that it will now fail jobs if the result is invalid.
Added retry logic to version inspection, pulling base image, pushing to ghcr.
2024-03-14 09:19:43 -05:00
dependabot[bot]
dcc6c06f70 chore(deps): bump sigstore/cosign-installer from 3.3.0 to 3.4.0 (#123)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Benjamin Sherman <benjamin@holyarmy.org>
2024-03-13 20:03:50 -05:00
Benjamin Sherman
3f6d006820 feat: add a lighter ucore-minimal image (#117) 2024-01-18 13:16:13 -06:00
Benjamin Sherman
1a049499e6 chore(ci): use Containerfile targets for ucore-hci (#115)
This should allow faster overall builds of ucore and ucore-hci by building in parallel, and removes the need to publish ucore to GHCR even for PRs just to allow ucore-hci to build successfully.
2024-01-14 23:03:45 -06:00
Benjamin Sherman
403994e2b6 chore(ci): move to reusable workflow (#114)
Convert to a reusable workflow such that stable and testing builds can happen on separate schedules and so that stable builds are all that gate merge success, allowing testing to be more unstable.
2024-01-14 19:43:06 -06:00
Benjamin Sherman
f55a60f596 chore(ci): bash variables only work when using proper braces 2024-01-13 17:06:31 -06:00
Benjamin Sherman
ca9e0e0b11 chore(ci): resume use of latest tag for stable image
I intentionally stopped publishing a `:latest` tag back on April 1st. It
was not intended to be an April Fool's joke, but rather a cleanup to
best practices of not using that tag. However, the old images did not
expire, so the old `:latest` continues to exist, confusing both users
and our website's image discovery code.

I suppose it turned out to be a long lived April Fool's joke after all!

This resumes the publishing of the tag, ensuring it matches the `:stable`
tag, and only on the `ucore` image. There will be no `:latest` for nvidia,
zfs or testing images, nor `fedora-coreos` or `ucore-hci`.
2024-01-13 13:53:17 -06:00
dependabot[bot]
22c9131984 chore(deps): bump sigstore/cosign-installer from 3.2.0 to 3.3.0 (#104)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 16:30:12 -06:00
dependabot[bot]
7ce6f35cc6 chore(deps): bump sigstore/cosign-installer from 3.1.2 to 3.2.0 (#98)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 12:50:31 -06:00
dependabot[bot]
9a109992e0 chore(deps): bump ASzc/change-string-case-action from 5 to 6 (#96)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-12 14:28:48 -06:00
Benjamin Sherman
c1243056f4 feat: add generic fcos build with nvidia (#95) 2023-10-19 11:41:32 -05:00
Benjamin Sherman
ee9297e231 chore(ci): add a job to use for check of full success (#94) 2023-10-18 20:39:20 -05:00
Benjamin Sherman
a1267cb284 chore: ci workflow tweaks (#85) 2023-10-06 16:03:25 -05:00
Benjamin Sherman
56b1a0f80c feat: add nvidia builds to ucore (#66)
it's about time
2023-10-05 22:08:00 -05:00
dependabot[bot]
0779f2c545 chore(deps): bump docker/metadata-action from 4 to 5 (#73)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 10:59:20 +02:00
dependabot[bot]
9b32a55d9f chore(deps): bump docker/login-action from 2 to 3 (#74)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 10:59:00 +02:00
dependabot[bot]
1c8861bfb4 chore(deps): bump sigstore/cosign-installer from 3.1.1 to 3.1.2 (#69)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:26:54 -05:00
dependabot[bot]
99ecf12dbe chore(deps): bump actions/checkout from 3 to 4 (#70)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-12 09:26:25 -05:00
Benjamin Sherman
8fc3d906a5 fix: fcos-zfs workflow now uses correct path (#63) 2023-08-10 09:54:25 -05:00
Benjamin Sherman
e3db65cede fix: improve handling of zfs tag for images (#62) 2023-08-09 23:58:35 -05:00
Benjamin Sherman
ab204e5add feat: create ucore builds with and without ZFS (#61) 2023-08-09 21:01:08 -05:00
Benjamin Sherman
62e0dffffe install ZFS from ucore-kmods (#60)
In addition to removing the ZFS RPM build from this repo to consume ZFS RPMs from `ucore-kmods` image, this PR starts building a stock `fedora-coreos` image with only ZFS added.
2023-08-09 14:38:53 -05:00
dependabot[bot]
d773fd8287 chore(deps): bump sigstore/cosign-installer from 3.1.0 to 3.1.1 (#58)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 16:43:51 -04:00
Benjamin Sherman
10830eed35 fix: ignore github prereleases for zfs (#57) 2023-07-03 09:59:20 -05:00
dependabot[bot]
cd9d69575a chore(deps): bump sigstore/cosign-installer from 3.0.5 to 3.1.0
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.5 to 3.1.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.5...v3.1.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 20:02:04 +00:00
dependabot[bot]
bcedb810b6 chore(deps): bump sigstore/cosign-installer from 3.0.3 to 3.0.5 (#52)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.3 to 3.0.5.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.3...v3.0.5)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-25 09:01:55 -05:00
dependabot[bot]
bd5d753a89 chore(deps): bump sigstore/cosign-installer from 3.0.2 to 3.0.3 (#48)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-11 20:09:53 -05:00
Benjamin Sherman
56e6ce6003 chore(ci): turn on dependabot (#47) 2023-05-11 19:43:35 -05:00
Benjamin Sherman
6e4913eff9 fix: env IMAGE_REGISTRY on zfs rpm build 2023-04-28 23:25:52 -05:00
Benjamin Sherman
0a3dd83a85 chore: only build zfs rpms when not already built (#41)
Addresses #17 by doing the following...
1. Gather the given git branch and CoreOS stream which maps corresponds to the desired image tag
2. If an image with the desired tag does not exist, building ZFS is required
3. If an image does exist, gather image upstream "version", linux kernel version, and zfs version. 
4. Compare upstream/linux/zfs versions to current desired versions; if any of the three do not match, building ZFS is required.
5. If all three pairs of versions match, this branch has built before and versions match current requirements. re-building the ZFS RPMs is not required.

Note: to get this working the way I envisioned did require moving the "build zfs" job out of the main workflow into a reusable workflow file. This may be a nice way to break out other build parts in the future.
2023-04-24 10:59:26 -05:00
Benjamin Sherman
c4846cae39 chore: improve metadata on images (#40) 2023-04-23 21:31:02 -05:00
Benjamin Sherman
6f9722c2ac refactor: prefer version does not contain "zfs-" (#39) 2023-04-23 20:19:20 -05:00
Benjamin Sherman
10a895c6b1 refactor: avoid subshell, sign image with env var (#38)
Improvements suggested originally in ublue-os/main:
https://github.com/ublue-os/main/pull/153
2023-04-23 16:40:06 -05:00
Benjamin Sherman
641ffbed98 chore: allow proper workflow cancelling (#36) 2023-04-23 13:34:03 -05:00
Benjamin Sherman
ec0eb378c0 chore: directly use github for zfs version (#23) 2023-04-15 01:00:36 -05:00
Benjamin Sherman
de8b55322a fix: enable stable builds despite testing build failure (#22)
Merging this as a workaround for #21 and future problems like this.

`stable` will build all the way through the workflow even if `testing` fails.
2023-04-06 15:31:51 -05:00
Benjamin Sherman
a83c254715 feat: add HCI image with libvirt and friends (#12) 2023-04-01 11:02:19 -05:00
Benjamin Sherman
fa9949e8ae feat: add ZFS modules (#10) 2023-04-01 00:25:21 -05:00
Benjamin Sherman
bf9d9d2c86 chore: reorganize build to prepare for future changes (#9)
* chore: move build build files to main subdirectory
Prepare for future build changes by moving all existing build files
to a `main` subdirectory and verifying workflow handles this.


* chore: build approx 1 hour after upstream images
It seems upstream CoreOS images publish around 10:20pm.
https://quay.io/repository/fedora/fedora-coreos?tab=tags&tag=latest
2023-03-31 17:13:48 -05:00
Benjamin Sherman
26dd67986f chore: enable pr image push (#6) 2023-03-19 23:08:18 -05:00
Benjamin Sherman
166b036f0d chore: sync cosign and workflow with ublue main
also tweaked some docs
2023-03-18 01:50:38 -05:00
Benjamin Sherman
574358a753 chore: prepare workflow for ublue-os/ucore 2023-03-18 00:40:17 -05:00
Benjamin Sherman
c8f3c50f97 fix: correct comment regarding ucore-kmods 2023-03-08 12:04:51 -06:00
Benjamin Sherman
335bef120b feat: update containerfile/github workflow 2023-03-08 02:21:30 -06:00