Commit graph

514 commits

Author SHA1 Message Date
Timothée Ravier
65ddf54fd8 justfile: Force gzip compression format for images
Keep all the containers image compressed with gzip until rpm-ostree with
support for zstd & ztd::chunked images (2024.6) lands in F40 & F39.

See: https://fedoraproject.org/wiki/Changes/zstd:chunked
2024-06-21 12:33:26 +02:00
Timothée Ravier
f72a8fcfe5 justfile: Factor skopeo args for container image upload 2024-06-21 12:25:46 +02:00
Timothée Ravier
3bd5718f4a ci/validate: Test by building a Bootable Container
Switch to building a bootable container by default.
2024-06-19 18:54:02 +02:00
Timothée Ravier
85a0198db5 Update justfile to compose -ostree for legacy 2024-06-19 18:54:02 +02:00
Timothée Ravier
98680de7cf Add compatibility symlinks for classic ostree manifests
Keep stable names for the variants that are currently built in the
Fedora infrastructure.

We can remove those once we have landed the rename in this repo and the
rename in the pungi-fedora config.
2024-06-19 18:54:02 +02:00
Timothée Ravier
47170ee169 Split Bootable Containers manifest from classic ostree ones
To be able to build images in the Fedora infrastructure with distinct
changes in the container vs classic ostree case, we need to split those
into a common manifest and a top level one that includes only the repos
and other distinct includes.
2024-06-19 18:54:02 +02:00
Timothée Ravier
6b402254c9 Use new Atomic names 2024-06-19 18:54:02 +02:00
Timothée Ravier
3a9a0760ef Update manifests names for variants and their package lists
- Strip the 'fedora' prefix from variant names
- Name the packages list manifest for each variant accordingly
2024-06-13 11:30:19 +02:00
Timothée Ravier
28bf47caa9 Move common manifest includes to variants manifests
- Rename common manifests to remove fedora prefix & ostree mention
- Directly include the common manifest in each variant manifest to
  reduces the number of level of indirection for the manifests
2024-06-13 11:30:19 +02:00
Timothée Ravier
f3f8fdb521 initramfs.yaml: Misc empty line fixup 2024-06-13 11:30:19 +02:00
Timothée Ravier
457e89b560 ci: Workaround broken dnf5 in cloud images
See: https://pagure.io/fedora-ci/general/issue/474
2024-06-13 11:30:19 +02:00
Timothée Ravier
6cd2f8437a ci: Update all pacakges on the system first 2024-06-13 11:28:15 +02:00
Micah Abbott
8b18da4c14 README: add note about just
Signed-off-by: Micah Abbott <miabbott@redhat.com>
2024-06-11 09:28:02 -04:00
Timothée Ravier
3b190aff6c common: Setup read only sysroot via ostree config 2024-06-11 10:36:44 +02:00
Timothée Ravier
0667595535 ci/validate: Ignore correctly indented lines starting with [ 2024-06-11 10:36:44 +02:00
Timothée Ravier
440fa5e438 initramfs: Add tpm2-tss & systemd-pcrphase for LUKS unlocking
Enable both modules to make it easier to setup TPM bound LUKS device
unlocking.

See: https://gitlab.com/fedora/ostree/sig/-/issues/33
2024-06-11 10:36:44 +02:00
Timothée Ravier
5585f60aa0 initramfs: Add dracut config for initramfs generation
Add a default dracut configuration for initramfs generation.

This is currently taken from:
- https://gitlab.com/fedora/bootc/base-images/-/blob/main/tier-0/initramfs.yaml
- https://github.com/coreos/fedora-coreos-config/tree/testing-devel/overlay.d/05core/usr/lib/dracut/dracut.conf.d

This will ideally be unified once we complete the Bootable Containers
Initiative roadmap.
2024-06-11 10:36:44 +02:00
Micah Abbott
785ae96dee README: add instructions for using comps-sync.py
Signed-off-by: Micah Abbott <miabbott@redhat.com>
2024-06-11 08:35:52 +00:00
Micah Abbott
158bb31a2e comps-sync f41 2024-06-10
See: https://pagure.io/fedora-comps/pull-request/977
See: https://pagure.io/fedora-comps/pull-request/975

Signed-off-by: Micah Abbott <miabbott@redhat.com>
2024-06-10 15:07:42 -04:00
Timothée Ravier
3762e08a77 Fedora Kinoite Mobile: Add initial manifests
See: https://pagure.io/fedora-kde/SIG/issue/506
See: https://pagure.io/fedora-kde/SIG/issue/41
See: https://pagure.io/fedora-kde/SIG/issue/510
2024-06-04 22:45:21 +02:00
Timothée Ravier
6ee3928c40 comps-sync f41 2024-06-03
See: https://pagure.io/fedora-comps/pull-request/973
See: https://pagure.io/fedora-kde/SIG/issue/522
2024-06-03 20:16:35 +02:00
Timothée Ravier
5e3a12a17d comps-sync f41 2024-05-14
See: https://pagure.io/fedora-kde/SIG/issue/502
See: https://pagure.io/fedora-comps/pull-request/965
2024-05-14 15:28:18 +02:00
Timothée Ravier
5734183ac3 comps-sync f41 2024-04-24
See: https://pagure.io/fedora-comps/pull-request/959
See: https://github.com/fedora-silverblue/issue-tracker/issues/555
2024-04-24 20:27:30 +02:00
Timothée Ravier
aff834d942 fedora-common-ostree: Add slirp4netns
Keep slirp4netns for rootless containers until it's fully deprecated in
podman.

See: https://github.com/fedora-silverblue/issue-tracker/issues/547
See: https://blog.podman.io/2024/03/podman-5-0-breaking-changes-in-detail/
2024-04-12 16:26:01 +00:00
Timothée Ravier
d085e9fecc postprocess: Workaround for Python timestamp mismatch
Python mtime timestamp logic does not work well with ostree force 0
mtime.

Use a small script to post-process all compiled '.pyc' and force the
timestamp to 0.

See: https://github.com/ostreedev/ostree/issues/1469

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2024-04-12 17:39:08 +02:00
Timothée Ravier
fd6487c95f zuul: Verify that the comps and manifests are synced
Best effort (as it will only run on PRs) check for comps / manifests
sync.
2024-04-04 10:17:34 +02:00
Timothée Ravier
abd2d7c6df justfile: Add a recipe to check for comps sync changes
Will be used by Zuul CI.
2024-03-28 18:10:27 +01:00
Timothée Ravier
3672bbd10c comps-sync.py: Return non-zero if changes are needed but not saved
This will let us use that in CI to check for pending comps-sync changes.
2024-03-28 18:09:49 +01:00
Timothée Ravier
8ac9e3e367 Temporarily remove bootupd support
See: https://gitlab.com/fedora/ostree/sig/-/issues/1
2024-03-26 11:26:57 +01:00
Timothée Ravier
62801af663 comps-sync f41 2024-03-23
See: https://pagure.io/fedora-comps/pull-request/945
See: https://pagure.io/fedora-comps/pull-request/938
See: https://pagure.io/fedora-kde/SIG/issue/486
2024-03-23 16:56:27 +01:00
Timothée Ravier
e3144ba384 comps-sync f41 2024-03-14
See: https://pagure.io/fedora-comps/pull-request/944
2024-03-14 14:27:50 +01:00
Timothée Ravier
8ac5599091 justfile: Remove set -x from common interactive commands
For those commands, the -x output is mostly noise.
2024-03-14 14:25:19 +01:00
Timothée Ravier
4b90deb10d ci: Split dependency check and run checks all on failures
- Split the dependency check into a distinct step for each variant
- If the dependency test failed, still run the compose base test to get
  results about it
- Add a step at the end to make sure that if any step fails, the
  workflow still fail

See: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_error_handling.html#ignoring-failed-commands
See discussion in: https://pagure.io/workstation-ostree-config/pull-request/493
2024-03-01 20:10:05 +01:00
Timothée Ravier
8e0b7314f9 ci: Fix yaml lint 2024-03-01 20:10:05 +01:00
Timothée Ravier
97c49fdb16 ci/validate: Also validate Zuul YAML config 2024-03-01 20:10:05 +01:00
Timothée Ravier
44ba47cd29 zuul: Fix YAML indentation 2024-03-01 19:32:37 +01:00
Timothée Ravier
760544f466 justfile: Run compose-dry-run for a single variant
We'll run it for all official variants in the Ansible playbook used for
the Zuul CI instead.
2024-03-01 19:08:36 +01:00
Timothée Ravier
6b449c657f Zuul: Unify all jobs to save on CI costs
We need a VM for both the compose-dry-run and the compose-base tests
thus to avoid spawning two VMs in Zuul, let's keep everything in a
single job to save money.
2024-02-29 16:28:33 +01:00
Timothée Ravier
d0d0a33bdb Import GitLab CI config
This config is not used in Fedora infra (see `.zuul.yaml` instead) but
is used for testing in https://gitlab.com/fedora/ostree/ci-test.

Importing it here makes synchronizing changes accross the repos easier.

Co-authored by: Alexej Kowalew <616b2f@gmail.com>
2024-02-28 20:05:21 +01:00
Timothée Ravier
7c6b7dd223 Budgie: Exclude gnome-software-fedora-langpacks
- Make sure that gnome-software-rpm-ostree is always included
- Make sure that gnome-software-fedora-langpacks is always excluded

See: https://gitlab.com/fedora/ostree/sig/-/issues/14
See: https://bugzilla.redhat.com/show_bug.cgi?id=2260294
See: 0b4b0060f8

Copied from previous change for Silverblue:
e1f3bbc Silverblue: Exclude gnome-software-fedora-langpacks
2024-02-28 11:20:31 +00:00
Timothée Ravier
4b1160724f ci: Reformat package lists 2024-02-28 11:05:50 +00:00
Timothée Ravier
1b7d4e8e52 ci: Perform dependency resolution for all variants 2024-02-28 11:05:50 +00:00
Timothée Ravier
5a9096b17e justfile: Add compose-dry-run recipe
To use in CI to perform dependency resolution for all official variants.
2024-02-28 11:05:50 +00:00
Timothée Ravier
a4dc20da5f ci: Use just recipes for all tests 2024-02-28 11:05:50 +00:00
Timothée Ravier
13b1068da0 README: General update 2024-02-27 19:03:25 +01:00
Timothée Ravier
a01357e985 comps-sync f41 2024-02-26 2024-02-26 23:51:22 +01:00
Timothée Ravier
253b947a4d Onyx: update fedora-release subpackage name
See: https://src.fedoraproject.org/rpms/fedora-release/pull-request/314
See: https://fedoraproject.org/wiki/Changes/AtomicDesktops
2024-02-26 19:38:59 +01:00
Aleksei Bavshin
5478ef0c38 Sericea: update fedora-release subpackage name
See: https://src.fedoraproject.org/rpms/fedora-release/pull-request/314
See: https://fedoraproject.org/wiki/Changes/AtomicDesktops
2024-02-26 19:38:57 +01:00
Timothée Ravier
c6795e1456 manifests: Update names to follow new Atomic branding 2024-02-21 03:04:54 +01:00
Timothée Ravier
23ce77dede fedora-sericea: Misc style alignment
Align with other manifests.
2024-02-21 03:04:54 +01:00