Test repo for the Atomic Desktops
Find a file
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
ci Zuul: Add initial compose test (base only) 2024-02-09 18:36:17 +01:00
.zuul.yaml Zuul: Add initial compose test (base only) 2024-02-09 18:36:17 +01:00
bootupd.yaml bootupd: Minor clean up 2024-01-08 12:14:36 +01:00
budgie-desktop-pkgs.yaml budgie: add gedit and a couple useful nemo plugins 2023-08-28 14:03:24 +03:00
cinnamon-desktop-pkgs.yaml comps-sync f40 2023-09-26 2023-09-26 16:43:56 +02:00
comps-sync-exclude-list.yml lazurite: Remove kwin-x11 & sddm-x11 2023-12-11 18:13:46 +01:00
comps-sync.py Use new base-graphical comps group for Wayland only desktops 2023-12-11 18:14:23 +01:00
deepin-desktop-pkgs.yaml
fedora-40-updates.repo Re-add Fedora 40 repo configs 2023-08-09 17:37:39 +02:00
fedora-40.repo Re-add Fedora 40 repo configs 2023-08-09 17:37:39 +02:00
fedora-base.yaml Unify manifest whitespace 2023-08-09 17:37:39 +02:00
fedora-cinnamon.yaml
fedora-common-ostree-pkgs.yaml comps-sync f40 2024-02-07 2024-02-07 08:29:49 -08:00
fedora-common-ostree.yaml Reapply "fedora-common-ostree: Enable bootupd integration" 2024-02-01 16:43:02 +01:00
fedora-deepin.yaml Unify manifest whitespace 2023-08-09 17:37:39 +02:00
fedora-kinoite.yaml Kinoite: Ensure we do not include X11 support 2024-01-30 15:27:20 +01:00
fedora-lazurite.yaml lazurite: Remove kwin-x11 & sddm-x11 2023-12-11 18:13:46 +01:00
fedora-mate.yaml Unify manifest whitespace 2023-08-09 17:37:39 +02:00
fedora-onyx.yaml fedora-onyx: Add commented repos for easier branching 2023-08-09 17:37:39 +02:00
fedora-rawhide.repo
fedora-sericea.yaml Unify manifest whitespace 2023-08-09 17:37:39 +02:00
fedora-silverblue.yaml Silverblue: Exclude gnome-software-fedora-langpacks 2024-01-26 12:30:08 +01:00
fedora-vauxite.yaml xfce: Add essential apps from xfce-apps comps group 2023-11-23 17:12:28 +01:00
gnome-desktop-pkgs.yaml
group
justfile Add a justfile with common commands for this repo 2024-02-09 18:35:13 +01:00
kde-desktop-pkgs.yaml comps-sync f40 2024-01-08 2024-01-08 12:12:52 +01:00
LICENSE
lxqt-desktop-pkgs.yaml Use new base-graphical comps group for Wayland only desktops 2023-12-11 18:14:23 +01:00
mate-desktop-pkgs.yaml
passwd
postprocess.sh
README.md README: Add instructions for branching 2023-08-09 17:37:39 +02:00
sway-desktop-pkgs.yaml Use new base-graphical comps group for Wayland only desktops 2023-12-11 18:14:23 +01:00
xfce-desktop-pkgs.yaml xfce: Add packages from xfce-extra-plugins comps group 2023-11-23 17:13:11 +01:00

Manifests for rpm-ostree based Fedora variants

This is the configuration needed to create rpm-ostree based variants of Fedora. Each variant is described in a YAML treefile which is then used by rpm-ostree to compose an ostree commit with the package requested.

In the Fedora infrastructure, this happens via pungi with Lorax (templates).

Fedora Silverblue

Fedora Kinoite

Building

Instructions to perform a local build of Silverblue:

# Clone the config
git clone https://pagure.io/workstation-ostree-config && cd workstation-ostree-config

# Prepare directories
mkdir -p repo cache
ostree --repo=repo init --mode=archive

# Build (compose) the variant of your choice
sudo rpm-ostree compose tree --repo=repo --cachedir=cache fedora-silverblue.yaml

# Update summary file
ostree summary --repo=repo --update

Testing

Instructions to test the resulting build:

  • First, serve the ostree repo using an HTTP server. You can use any static file server. For example using https://github.com/TheWaWaR/simple-http-server:

    simple-http-server --index --ip 192.168.122.1 --port 8000
    
  • Then, on an already installed Silverblue system:

# Add an ostree remote
sudo ostree remote add testremote http://192.168.122.1:8000/repo --no-gpg-verify

# Pin the currently deployed (and probably working) version
sudo ostree admin pin 0

# List refs from variant remote
sudo ostree remote refs testremote

# Switch to your variant
sudo rpm-ostree rebase testremote:fedora/rawhide/x86_64/silverblue

# Reboot and test!

Branching instructions for new Fedora releases

Follow those steps during the Fedora branch process in Fedora:

Fedora Ansible

Make a PR similar to ansible#1318 in fedora-infra/ansible.

On Rawhide / main branch

sed -i "s/40/41/g" *.repo *.yaml comps-sync.py
mv fedora-40.repo fedora-41.repo
mv fedora-40-updates.repo fedora-41-updates.repo
sed -i "s/41/42/g" README.md
sed -i "s/40/41/g" README.md

On the new branch (f40)

rm fedora-rawhide.repo
sed -i "/- fedora-rawhide/d" *.yaml
sed -i "/# - fedora-40/- fedora-40/" *.yaml

Historical references

Building and testing instructions:

For some background, see:

Note also this repo obsoletes https://pagure.io/atomic-ws