Separate Fedora specific packages in CI

Checkout gnome-desktop-testing repo until it will be available.
This commit is contained in:
Takao Fujiwara 2024-05-15 13:54:13 +09:00
parent 1675f64be0
commit 2a53013251

View File

@ -1,14 +1,12 @@
--- ---
- name: Check if GNOME installed-tests testing harness is installed - name: Check if Fedora desktop
register: gnome_desktop_testing_runner register: fedora_desktop
find: stat:
paths: "{{ ansible_env.PATH.split(':') }}" path: "/etc/fedora-release"
pattern: gnome-desktop-testing-runner
- name: Build and install GNOME installed-tests testing harness - name: Build and install GNOME installed-tests testing harness
when: gnome_desktop_testing_runner.matched == 0
block: block:
- name: Installing build dependencies for IBus and GNOME installed-tests testing harness - name: Installing common GNOME desktop components
package: package:
name: name:
# IBus CI sets # IBus CI sets
@ -16,14 +14,11 @@
- ibus - ibus
- ibus-desktop-testing - ibus-desktop-testing
- dbus-x11 - dbus-x11
- gnome-desktop-testing
- gnome-screenshot
# https://pagure.io/fedora-comps/blob/main/f/comps-f38.xml.in # https://pagure.io/fedora-comps/blob/main/f/comps-f38.xml.in
# dnf group info GNOME # dnf group info GNOME
# mandatory # mandatory
- dconf - dconf
- gdm - gdm
- gnome-boxes
- gnome-connections - gnome-connections
- gnome-control-center - gnome-control-center
- gnome-initial-setup - gnome-initial-setup
@ -36,44 +31,30 @@
- gnome-text-editor - gnome-text-editor
- nautilus - nautilus
- polkit - polkit
- yelp
# default # default
- adobe-source-code-pro-fonts - adobe-source-code-pro-fonts
- at-spi2-atk - at-spi2-atk
- at-spi2-core - at-spi2-core
- avahi - avahi
- baobab - baobab
- cheese
# Sometimes version mismatch with gnome-shell in rawhide # Sometimes version mismatch with gnome-shell in rawhide
#- chrome-gnome-shell #- chrome-gnome-shell
- eog
- evince - evince
- evince-djvu
- fprintd-pam - fprintd-pam
- glib-networking - glib-networking
- gnome-backgrounds
- gnome-bluetooth - gnome-bluetooth
- gnome-calculator - gnome-calculator
- gnome-characters - gnome-characters
- gnome-classic-session - gnome-classic-session
- gnome-clocks - gnome-clocks
- gnome-color-manager - gnome-color-manager
- gnome-contacts
- gnome-disk-utility - gnome-disk-utility
- gnome-font-viewer - gnome-font-viewer
- gnome-logs - gnome-logs
- gnome-maps
- gnome-photos
- gnome-remote-desktop - gnome-remote-desktop
- gnome-system-monitor - gnome-system-monitor
- gnome-terminal-nautilus - gnome-terminal-nautilus
- gnome-themes-extra
- gnome-user-docs - gnome-user-docs
- gnome-user-share
- gnome-weather
- gvfs-afc
- gvfs-afp
- gvfs-archive
- gvfs-fuse - gvfs-fuse
- gvfs-goa - gvfs-goa
- gvfs-gphoto2 - gvfs-gphoto2
@ -87,28 +68,94 @@
- mesa-libEGL - mesa-libEGL
- ModemManager - ModemManager
- NetworkManager-adsl - NetworkManager-adsl
- NetworkManager-openconnect-gnome
- NetworkManager-openvpn-gnome
- NetworkManager-ppp - NetworkManager-ppp
- NetworkManager-pptp-gnome
- NetworkManager-ssh-gnome
- NetworkManager-vpnc-gnome
- NetworkManager-wwan - NetworkManager-wwan
- orca - orca
- PackageKit-command-not-found - PackageKit-command-not-found
- PackageKit-gtk3-module - PackageKit-gtk3-module
- rygel
- sane-backends-drivers-scanners - sane-backends-drivers-scanners
- simple-scan
- sushi
- systemd-oomd-defaults - systemd-oomd-defaults
- totem
- tracker - tracker
- tracker-miners - tracker-miners
- xdg-desktop-portal - xdg-desktop-portal
- xdg-desktop-portal-gnome - xdg-desktop-portal-gnome
- xdg-desktop-portal-gtk - xdg-desktop-portal-gtk
- xdg-user-dirs-gtk - xdg-user-dirs-gtk
- name: Installing Fedora specific GNOME desktop components
when: fedora_desktop.stat.exists == true
package:
name:
- gnome-screenshot
- gnome-boxes
- yelp
- cheese
- eog
- evince-djvu
- gnome-backgrounds
- gnome-contacts
- gnome-maps
- gnome-photos
- gnome-themes-extra
- gnome-user-share
- gnome-weather
- gvfs-afc
- gvfs-afp
- gvfs-archive
- NetworkManager-openconnect-gnome
- NetworkManager-openvpn-gnome
- NetworkManager-pptp-gnome
- NetworkManager-ssh-gnome
- NetworkManager-vpnc-gnome
- rygel
- simple-scan
- sushi
- totem
- name: Installing GNOME installed-tests testing harness
when: fedora_desktop.stat.exists == true
package:
name:
- gnome-desktop-testing
- name: Installing build environment
when: fedora_desktop.stat.exists == false
package:
name:
- autoconf
- automake
- make
- gcc
- git
- libtool
- name: Fetching GNOME installed-tests testing harness source from remote repository
when: fedora_desktop.stat.exists == false
git:
repo: 'https://gitlab.gnome.org/GNOME/gnome-desktop-testing.git'
dest: gnome-desktop-testing
force: yes
- name: Checkout v2021.1 tag in GNOME installed-tests testing harness
when: fedora_desktop.stat.exists == false
command: git checkout -b v2021.1 refs/tags/v2021.1
args:
chdir: gnome-desktop-testing
- name: Configure GNOME installed-tests testing harness build
when: fedora_desktop.stat.exists == false
command: ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
args:
chdir: gnome-desktop-testing
- name: Build GNOME installed-tests testing harness
when: fedora_desktop.stat.exists == false
command: make
args:
chdir: gnome-desktop-testing
- name: Install GNOME installed-tests testing harness
when: fedora_desktop.stat.exists == false
command: make install
args:
chdir: gnome-desktop-testing
- name: Start IBus installed-tests testing harness - name: Start IBus installed-tests testing harness
environment: environment: