Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(gnome): Include flatpaks in ISO #275

Merged
merged 5 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ jobs:
iso_name: ${{ matrix.image_name }}.iso
enable_cache_dnf: "false"
enable_cache_skopeo: "false"
# enable_flatpak_dependencies: "false"
# flatpak_remote_name: "flathub-system"
# flatpak_remote_url: "https://flathub.org/repo/flathub.flatpakrepo"
enable_flatpak_dependencies: "true"
flatpak_remote_name: "flathub"
flatpak_remote_url: "https://flathub.org/repo/flathub.flatpakrepo"
flatpak_remote_refs_dir: "files/flatpaks/gnome"

- name: Move ISO to Upload Directory
id: upload-directory
Expand Down
22 changes: 22 additions & 0 deletions files/flatpaks/gnome/gnome-flatpaks
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
app/org.gnome.Calculator/x86_64/stable
app/org.gnome.Calendar/x86_64/stable
app/org.gnome.Characters/x86_64/stable
app/org.gnome.clocks/x86_64/stable
app/org.gnome.Contacts/x86_64/stable
app/org.gnome.Decibels/x86_64/stable
app/org.gnome.baobab/x86_64/stable
app/org.gnome.SimpleScan/x86_64/stable
app/org.gnome.Papers/x86_64/stable
app/org.gnome.font-viewer/x86_64/stable
app/org.gnome.Logs/x86_64/stable
app/org.gnome.Loupe/x86_64/stable
app/org.gnome.Maps/x86_64/stable
app/net.nokyan.Resources/x86_64/stable
app/org.gnome.Showtime/x86_64/stable
app/org.gnome.TextEditor/x86_64/stable
app/org.gnome.Weather/x86_64/stable
app/org.gnome.Epiphany/x86_64/stable
app/com.github.tchx84.Flatseal/x86_64/stable
app/org.gnome.World.PikaBackup/x86_64/stable
app/io.github.flattool.Warehouse/x86_64/stable
runtime/org.gtk.Gtk3theme.adw-gtk3/x86_64/3.22
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Include some of your custom scripts here!

# Restore default apps installation
restore-default-apps:
#!/usr/bin/bash
IMAGE_INFO="/usr/share/zeliblue/image-info.json"
IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
if [[ ${IMAGE_FLAVOR} == 'silverblue' ]]; then
FLATPAKS="gnome/gnome-flatpaks"
# TODO: Add Kinoite flatpaks list
# elif [[ ${IMAGE_FLAVOR} == 'kinoite' ]]; then
# FLATPAKS="plasma/plasma-flatpaks"
fi
FLATPAK_LIST="$(curl https://raw.githubusercontent.com/zelikos/zeliblue/main/files/flatpaks/${FLATPAKS} | tr '\n' ' ')"
flatpak --system -y install --or-update ${FLATPAK_LIST}

# Install a small selection of CLI utilties via brew
zeliblue-cli:
#!/usr/bin/bash
Expand Down
2 changes: 1 addition & 1 deletion recipes/common/common-flatpaks.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type: default-flatpaks
system:
repo-name: flathub-system
repo-name: flathub
repo-title: "Flathub (system-wide)"
user:
repo-name: flathub-user
1 change: 0 additions & 1 deletion recipes/gnome/gnome-base.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
modules:
- from-file: gnome/gnome-files.yml
- from-file: gnome/gnome-packages.yml
- from-file: gnome/gnome-flatpaks.yml
- from-file: gnome/gnome-gschemas.yml
1 change: 0 additions & 1 deletion recipes/gnome/zeliblue-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@ modules:
- gnome-software-rpm-ostree
- gnome-tweaks

- from-file: gnome/gnome-flatpaks.yml
- from-file: gnome/gnome-gschemas.yml