1
0
Fork 0
Commit graph

38 commits

Author SHA1 Message Date
497334732c Separate pull from build
All checks were successful
/ build-gnome (push) Successful in 4m29s
/ build-kde (push) Successful in 6m25s
2024-11-18 09:53:57 +01:00
ffeb8e6e33 Change compression to zstd from zstd:chunked
zstd:chunked still seems to have some issues and occasionally throws
issues on bootc upgrade
2024-11-18 00:47:06 +01:00
3e4f3c65dd Allow updating cache in every layer and use private labels
All checks were successful
/ build-kde (push) Successful in 11m16s
/ build-gnome (push) Successful in 7m34s
2024-11-17 00:40:23 +01:00
fd1fc5fb99 Make cache directory (again)
Some checks failed
/ build-kde (push) Successful in 10m5s
/ build-gnome (push) Has been cancelled
I again forgot to create the directory for caching in
34bdd53778, this once again corrects that.
2024-11-17 00:24:07 +01:00
34bdd53778 Use dnf5 cache from base image build
Some checks failed
/ build-kde (push) Failing after 3s
/ build-gnome (push) Failing after 3s
The setup with separate container doesn't make sense, sharing the cache
directly from bash image build simplifies the entire caching setup.
2024-11-17 00:16:41 +01:00
33e6319c2e Convert cache bind mount to absolute path
Some checks failed
/ build-kde (push) Successful in 17m1s
/ build-gnome (push) Has been cancelled
2024-11-16 23:56:22 +01:00
4c0f0064ab Make cache directory
Some checks failed
/ build-kde (push) Failing after 57s
/ build-gnome (push) Failing after 1m32s
In commit 91953586e2 I missed the fact
that the cache directory doesn't exist yet, this corrects that.
2024-11-16 23:49:37 +01:00
91953586e2 Build dnf5 cache and share it among builds (fedora repos)
Some checks failed
/ build-kde (push) Failing after 6s
/ build-gnome (push) Failing after 3s
Before this all of the builds had to redownload all metadata, currently
this is only done for fedora repositories and not rpmfusion, but that
will most likely change when I think of an elegant solution to the
problem of not having rpmfusion repositories in the official minimal
image..
2024-11-16 23:38:40 +01:00
bd5ff059ca Fix Dockerfile path for personal build
All checks were successful
/ build-kde (push) Successful in 13m56s
/ build-gnome (push) Successful in 9m27s
2024-11-15 19:59:49 +01:00
5fff595ee3 Add my configuration to build pipeline
Some checks failed
/ build-gnome (push) Waiting to run
/ build-kde (push) Has been cancelled
2024-11-15 19:38:05 +01:00
8b03790807 Add annotations for image builds 2024-11-15 16:27:34 +01:00
ef285a6157 Rebuild images every day at 5am
Some checks failed
/ build-gnome (push) Has been cancelled
/ build-kde (push) Has been cancelled
2024-11-15 00:08:29 +01:00
af43233411 Fix run syntax in cleanup
All checks were successful
/ build-kde (push) Successful in 15m9s
/ build-gnome (push) Successful in 11m15s
2024-11-14 00:36:52 +01:00
ccacd6191a Base nvidia images off of regular images
Some checks failed
/ build-kde (push) Failing after 9m36s
/ build-gnome (push) Has been cancelled
Previously regular images and nvidia images were split into separate
jobs and both were based off of an upstream image, this needlessly
increased build time and made maintaining the nvidia overlay take more
effort.
2024-11-14 00:18:41 +01:00
13ee522084 Remove memory limit from podman build
All checks were successful
/ build-kde (push) Successful in 8m48s
/ build-kde-nvidia (push) Successful in 7m7s
/ build-gnome (push) Successful in 7m24s
/ build-gnome-nvidia (push) Successful in 9m57s
2024-11-12 16:22:32 +01:00
82c77bcbd6 Change tag to follow branch name
All checks were successful
/ build-kde (push) Successful in 4m27s
/ build-gnome (push) Successful in 5m57s
/ build-gnome-nvidia (push) Successful in 8m53s
/ build-kde-nvidia (push) Successful in 8m24s
2024-11-12 14:18:58 +01:00
8ec0224070 Add a GNOME variant 2024-11-12 14:18:14 +01:00
87c405da82 Rename images
All checks were successful
/ build-kde (push) Successful in 8m18s
/ build-kde-nvidia (push) Successful in 8m48s
2024-11-12 12:57:38 +01:00
70e6b1fc34 Limit build memory usage 2024-11-12 12:06:04 +01:00
a7180e39e7 Split builds into separate jobs 2024-11-12 12:04:48 +01:00
62121e7025 Make compression level a variable 2024-11-12 12:04:48 +01:00
50f864bc3d Fix image cleanup 2024-11-12 12:04:48 +01:00
96217d57e9 Fix missing image name 2024-11-12 12:04:48 +01:00
2e67e63beb Make image name generic and fix cleanup 2024-11-12 12:04:48 +01:00
51ce727214 Build an image with nvidia drivers 2024-11-12 12:04:46 +01:00
e523bed787 Move Dockerfile to Dockerfile.kde
Allows for multiple Dockerfiles to co-exist, this will allow me to build a separate image with nvidia drivers.
2024-11-12 11:35:29 +01:00
cd4316894c Rebase to F41 2024-11-07 13:23:23 +01:00
a7db97d12a Use --squash instead of --squash-all
It seems --squash-all currently breaks the image, or at least cannot be
rebased to.
2024-11-07 13:23:23 +01:00
03a8871f59 Reduce compression to speed up build 2024-11-07 13:23:23 +01:00
d9c7a1808d Enable zstd:chunked image compression
All checks were successful
/ build-image (push) Successful in 18m50s
https://github.com/containers/storage/blob/main/docs/containers-storage-zstd-chunked.md [9a5c0986a4a33feea7cc2d956928ed0149b32d9a]:

"zstd:chunked is a variant of the
application/vnd.oci.image.layer.v1.tar+zstd media type that uses zstd
skippable frames to include additional metadata (especially a "table of
contents") that includes the SHA-256 and offsets of individual chunks of
files. Additionally chunks are compressed separately. This allows a
client to dynamically fetch only content which it doesn't already have
using HTTP range requests."
2024-11-06 15:39:08 +01:00
cb71569c13 Force pull on every build
All checks were successful
/ build-image (push) Successful in 8m46s
This makes pull failure a build time failure.
2024-11-06 13:31:11 +01:00
02d8c30a0d Rework cleanup
Makes cleanup run after all other steps regardless of success or
failure. Additionally removes resulting artifact.
2024-11-06 13:31:11 +01:00
3cd85014e5 Separate push from build
All checks were successful
/ build-image (push) Successful in 9m14s
2024-11-06 10:20:40 +01:00
266ae1941b Fix typo in build
All checks were successful
/ build-image (push) Successful in 5m10s
Fixes typo introduced in 622664ece1
2024-11-06 09:49:31 +01:00
33a6cde64d Build with --squash-all
Some checks failed
/ build-image (push) Failing after 2s
This makes removing packages from base image actually reduce image size
(downloads will be smaller), but prevents sharing of layers, increasing space usage on registry.
2024-11-06 09:46:45 +01:00
622664ece1 Pull new upstream image if available 2024-11-06 09:46:36 +01:00
e31a1922c3 Use --squash in podman build 2024-11-06 00:55:56 +01:00
e828792344 Add first image build workflow
All checks were successful
/ build-image (push) Successful in 5m48s
2024-11-05 23:18:35 +01:00