36 Commits

Author SHA1 Message Date
Harald Sitter
b72fd7b071 build: put erofs output into a file and artifact it 2025-12-11 00:56:15 +01:00
Gabriel Barrantes
4fb1d0bbac No need to clean subvolumes
See 15138c4d72
2025-10-07 22:30:13 +00:00
Harald Sitter
6be38748d4 ci: drop exit logic
didn't actually work so we now try very hard to clean up processes where
they were started
2025-08-28 18:42:01 +02:00
Ben Cooksley
aaff6a3489 Try to minimise unnecessary builds 2025-08-26 07:08:42 +12:00
Ben Cooksley
e10cee597e Don't apply the default ruleset to CI jobs.
It does not make sense in this context, and the bit this is trying to fix comes from workflow:rules anyway

Fixes kde-linux/kde-linux#256
2025-08-23 09:58:32 +00:00
Nate Graham
7feb7c8bfd Adjust CI rules to use fewer resources
In particular, don't run on branches for merge requests, since the CI
runs for the merge requests themselves are enough.
2025-08-21 15:02:14 -06:00
Harald Sitter
7e50c46dee ci: try to force the script to exit 2025-07-30 21:28:52 +02:00
Harald Sitter
df25b46e59 debug what happens after upload
so it appears upload actually finishes but the job doesn't. let's see
what's going on
2025-07-30 18:56:11 +02:00
Harald Sitter
15138c4d72 no longer need to clean the subvolumes
not using docker anymore and the VMs are ephemeral
2025-07-30 18:55:25 +02:00
Harald Sitter
d1a627607c try to make sure the uploader has access
not sure why that is being weird after the VM transition. let's see if a chown fixes it
2025-07-30 11:50:04 +02:00
Harald Sitter
b257ef08e1 debug secure files 2025-07-30 11:46:34 +02:00
Harald Sitter
0c4d85d983 ci: try downloading secure files as user
seems the installer at least has some notion of not installing into /usr
when the uid is not 0
2025-07-30 08:40:27 +02:00
Harald Sitter
d205169a16 ci: don't run in docker now that we use VMs 2025-07-29 20:18:33 +02:00
Harald Sitter
f5846c98ce ci: pass the env along
not sure that will work but I'm hopeful
2025-07-29 20:04:51 +02:00
Harald Sitter
5a81470572 use VM also for publishable job 2025-07-29 19:57:13 +02:00
Harald Sitter
f861e85d43 ci: port to VM builders 2025-07-29 19:54:41 +02:00
Hadi Chokr
faf026e397 Update .gitlab-ci.yml file 2025-06-12 07:49:31 +00:00
Harald Sitter
701766e7aa use new runner labels
less ambiguous
2025-05-04 18:46:30 +02:00
Harald Sitter
dc4daba07c send all imaging results to me
this makes them accessible outside the production publishing. failed
imaging+publishing runs upload for inspection as well
2025-04-30 18:55:45 +02:00
Harald Sitter
dc5feaf51a clean up btrfs subvolumes in an after script
hopefully prevents most of the problems we've had with server space
2025-04-30 18:55:45 +02:00
Harald Sitter
c629678b29 use yaml anchors to DRY the code a bit 2025-04-30 18:55:45 +02:00
Harald Sitter
00093e1d43 send broken images to me 2025-04-30 18:55:45 +02:00
Bruno Pajdek
b71472666b Don't upload any CI artifacts
The only one we were uploading was `dmesg.log` and it no longer exists. Got lost in the rework of the image shrinking in !95. Avoids the `ERROR: No files to upload` at the end of every job.
2024-12-15 17:58:00 +00:00
Harald Sitter
c2c9c66609 change most everything to kde-linux
helpers are still using the old names so we don't have content and name
changes at the same time
2024-11-07 18:47:33 +01:00
Harald Sitter
e41f5043e9 debug++ 2024-11-06 15:48:17 +01:00
Justin Zobel
d2993b8f60 Gitlab CI - Fix repo name. 2024-10-29 05:49:32 +00:00
Harald Sitter
b122ca9100 make a distinct imaging only job
this should be used everywhere but master on the main repo
2024-10-21 01:33:02 +00:00
Harald Sitter
7594772af1 drop git permission reset
doesn't work. we'll need to come up with a better idea
2024-10-15 06:56:47 +02:00
Harald Sitter
60c7996362 make sure git is installed
on the base image we have no git so install it first, then try to reset
the git permissions
2024-10-15 06:54:54 +02:00
Harald Sitter
27055ff0d9 try to restore git permissions
It would appear that invent mangles files permissions so that we end up
with world writable files. Instead try to hold on to git. This may
ultimately cause trouble with docker but we'll have to try to know.

Relates to #27
2024-10-15 06:42:19 +02:00
Harald Sitter
e2529cb000 add missing dependencies for installer 2024-10-09 17:26:51 +02:00
Harald Sitter
2a26e15594 move uploads to files.kde.org
this requires that we vacuum uploads automatically so there's a helper
for that now. hopefully it works :D
2024-10-09 17:22:38 +02:00
Harald Sitter
22fb758f04 fixup licensing 2024-10-08 18:56:36 +02:00
Harald Sitter
c0e3b07361 debug file ownership 2024-08-26 16:44:24 +02:00
Harald Sitter
4b48688aef archive artifacts from new directory
NAME in build.sh was changed a while ago and I'm doubtful it's used
anyway
2024-05-23 15:06:10 +02:00
Harald Sitter
42ed5696a9 grand refactor
- add ci builds
- add some scripting surrounding spinning up local containers
- use btrfs send-receive to populate the image for both speed, precision
and reliablity (won't miss ENSPC or something)
- no longer generate bootable images through mkosi, we generate two UKIs
anyway, mkosis extra work is entirely pointless and as it turns out
produces vastly larger UKIs for some reason. probably worth inspecting
at some point why that is
- the entire build has been moved from relying on arch packages to using
kde-builder. this effectively turns the way we build in development also
in the way we build for deployment, giving greater familiarity and
exercise of code paths
- move initrd from dracut to mkinitcpio as it is better integrating with
the arch base
- the initrd system is still driven by systemd rather than busybox (the
initcpio default)
- calamares tech still doesn't work entirely but got a bit of polish
- basic session blessing support (tracking whether an image is good or
not)
- boot failure tracking via the UKI filename (foo_1+3-1.efi etc)
- pam files imported from arch
- font files imported from neon
- aggressive debugging via systemd is on for the time being to aid with
development
- snapd support
- general AUR support (really cruddy because we are inside a bwrap that
runs with no-new-priviledges which means we can't sudo but arch tools
don't want to run as root - so everything is awkwardly detangled with
dependency installation happening manually in root scope, then the build
as a temporary user, then the installation in root scope again)
-
2024-03-13 19:48:30 +01:00