api: Add mutation to update job visibility
And route the UI's visibility change through GraphQL
Fix typos in blueprints/jobs.py
blueprints/jobs: pass can_submit to template on error case
Otherwise the user is shown the payment required screen on build
manifest syntax errors and the like.
images/nixos: remove 23.11 (EOL)
image/alpine: set 3.21 as latest
images/alpine: add Alpine 3.21
images/fedora: increase boot partition size to 300M
A refresh build[1] happened to run when a kernel update upstream
occurred so when the sanity check ran `dnf upgrade -y`, it attempted to
upgrade the kernel but could not due to the small size of the /boot
partition.
Since it is possible users may also run a `dnf upgrade -y` in their
workflows and run into the same issue, it would be preferable to just
increase the boot partition to allow for a few kernel upgrades (even if
they are not used since it is not possible for a job to be rebooted).
[1]: https://lists.sr.ht/~sircmpwn/sr.ht-image-failures/%3CD644HB1DFBRO.30JPLJUTD9R9A@fra02%3E
images/nixos: Add 24.11 as latest
23.11 is no longer updated so the crontab entry was replaced.
alpine: wait for nbd to be ready
Similar to other images, should fix "out of space" issues with builds.
revert previous fix as the image builts again
Guix pulling at this point is not meant to be an issue by itself.
images/fedora: remove EOL Fedora 38 and 39
Fedora 39 is EOL as of 2024-11-26.
fix error when building guix image
images/fedora: fix adding repositories
Use the new dnf5 config-manager syntax on Fedora 41 and later by
creating a separate functions-dnf5. Fixes using "repositories" in
the build manifest with Fedora 41 and above.
Additionally, install dnf5-plugins so the config-manager is available.
For building new images, set the reposdir explicitly.
Fix user_can_submit usage
Reduce scope of user_type
blueprints/jobs.py: don't cache log fetch failures