Commit graph

491 commits

Author SHA1 Message Date
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
Timothée Ravier
0cb972a2c2 fedora-common-ostree: Remove unused 'ref'
We never directly compose this manifest. The minimal version of a
desktop less Atomic desktop is `fedora-base.yaml`.
2024-02-21 03:04:54 +01:00
Timothée Ravier
e268616485 Zuul: Use Rawhide cloud small image until container is fixed 2024-02-21 03:04:54 +01:00
Timothée Ravier
8ad09dc672 Revert: manifests: Move repos config to common manifest
Repos are overwritten by Pungi during composes in the Fedora infra and
Pungi currently only overwrites the leaf manifest.

See: https://pagure.io/releng/issue/11969
Reverts: 49db8be manifests: Move repos config to common manifest
2024-02-21 02:33:36 +01:00
Aleksei Bavshin
a252f7a2b5
justfile: global table for pretty names and volume ids 2024-02-17 14:55:59 -08:00
Timothée Ravier
75c28076fc fedora-common-ostree: Use new parameter name for automatic-version-prefix 2024-02-15 18:50:19 +01:00
Timothée Ravier
a32531bca9 README: Update branching instructions for new releasever 2024-02-15 18:48:30 +01:00
Timothée Ravier
adbfd6c912 fedora-common-ostree: Use releasever treefile parameter 2024-02-15 18:48:30 +01:00
Timothée Ravier
a4e24efe5c zuul: Add notes for label updates after branching 2024-02-14 11:23:20 +01:00
Timothée Ravier
49db8be8e2 manifests: Move repos config to common manifest
Should simplify branching.
2024-02-14 11:11:11 +01:00
Timothée Ravier
02dd6f3469 Rawhide is now Fedora 41 (fixups)
Fixes: 635af64 Rawhide is now f41
2024-02-14 10:53:52 +01:00
Samyak Jain
635af64938 Rawhide is now f41
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-02-13 19:01:33 +00:00
Timothée Ravier
f22a3b232c README: Update branching instructions for new branch 2024-02-13 14:21:06 +01:00
Timothée Ravier
5822638648 gitignore: Add more paths to ignore 2024-02-11 12:50:08 +01:00
Timothée Ravier
d2212e7344 Add minimal gitignore 2024-02-09 18:41:05 +01:00
Timothée Ravier
2df4e46351 fedora-common-ostree: bootupd available for all arches
bootupd is now available for the four main architectures supported in
Fedora: amd64, aarch64, ppc64le, s390x.

We only build Fedora Atomic desktops for amd64, aarch64, ppc64le.
2024-02-09 18:41:05 +01:00
Timothée Ravier
ec04c2e374 bootupd: Drop unnecessary /
It's not supported to pass anything other than `/` now, and the argument
has been optional for some time.

See: 09750a1f7a
2024-02-09 18:41:05 +01:00
Timothée Ravier
50e2be80b8 Zuul: Add initial compose test (base only)
Test composing the base variant for all PRs. We don't compose all
variants yet as some fail in the Zuul infrastructure for an unknown
reason.

We only compose the base variant as it is the smallest and should give
enough assurance about the builds while not delaying PR merging too
much.

See: https://pagure.io/workstation-ostree-config/pull-request/405
2024-02-09 18:36:17 +01:00
Timothée Ravier
14f59cca33 Add a justfile with common commands for this repo
See https://just.systems/man/en/
2024-02-09 18:35:13 +01:00
Timothée Ravier
849baffbae Zuul: Run rawhide checks in a rawhide container 2024-02-09 18:34:33 +01:00
Adam Williamson
5f687be21e comps-sync f40 2024-02-07
Specifically for:
https://pagure.io/fedora-comps/pull-request/935

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-02-07 08:29:49 -08:00
Timothée Ravier
e165a55329 Reapply "fedora-common-ostree: Enable bootupd integration"
Now that we're building using unified core and that Anaconda has support
for bootupd, we can enable bootupd in Silverblue & friends.

See: https://fedoraproject.org/wiki/Changes/FedoraSilverblueBootupd
See: https://fedoraproject.org/wiki/Changes/FedoraSilverblueUnifiedCore
See: https://github.com/fedora-silverblue/issue-tracker/issues/530

Previous attempts:
- https://pagure.io/workstation-ostree-config/pull-request/288
- https://pagure.io/workstation-ostree-config/pull-request/293
- https://pagure.io/workstation-ostree-config/pull-request/307
- https://pagure.io/workstation-ostree-config/pull-request/313 (revert)
- https://pagure.io/workstation-ostree-config/pull-request/330
- https://pagure.io/workstation-ostree-config/pull-request/402 (revert)
- https://pagure.io/workstation-ostree-config/pull-request/403
- https://pagure.io/workstation-ostree-config/pull-request/452 (revert)

This reverts commit 148b6d236c.
2024-02-01 16:43:02 +01:00
Timothée Ravier
f6f7b24824 fedora-common-ostree: Workaround for SAMBA support in cups
RPM %triggerin are not currently supported in rpm-ostree, thus work
around this issue by manually creating the symlink.

According to the docs, `/usr/lib/cups/backend/smb` should point to `smbspool`.
Here we have the following chain:

/usr/lib/cups/backend/smb -> /usr/libexec/samba/cups_backend_smb -> /etc/alternatives/cups_backend_smb -> /usr/bin/smbspool

See: https://www.cups.org/blog/2005-06-17-printing-to-windows-servers-with-samba.html
See: https://github.com/coreos/rpm-ostree/issues/1180
See: https://github.com/fedora-silverblue/issue-tracker/issues/532
2024-02-01 16:38:54 +01:00
Timothée Ravier
c3cda89090 comps-sync f40 2024-02-01
See: https://pagure.io/fedora-comps/pull-request/934
2024-02-01 16:38:54 +01:00