Fix flatpak CI

This commit is contained in:
Nicolas Werner 2022-04-23 01:08:23 +02:00
parent 912a918f51
commit c8e8546315
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -134,9 +134,7 @@ build-flatpak-amd64:
#image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master' #image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
tags: [docker] tags: [docker]
before_script: before_script:
# need flatpak 1.11.1 at least - apt-get update && apt-get -y install flatpak-builder git python3 curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- apt-get update && apt-get install -y software-properties-common
- add-apt-repository ppa:alexlarsson/flatpak && apt-get update && apt-get -y install flatpak-builder git python curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15-21.08 - flatpak --noninteractive install --user flathub org.kde.Platform//5.15-21.08
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-21.08 - flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-21.08
@ -164,9 +162,7 @@ build-flatpak-arm64:
#image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master' #image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master'
tags: [docker-arm64] tags: [docker-arm64]
before_script: before_script:
# need flatpak 1.11.1 at least - apt-get update && apt-get -y install flatpak-builder git python3 curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- apt-get update && apt-get install -y software-properties-common
- add-apt-repository ppa:alexlarsson/flatpak && apt-get update && apt-get -y install flatpak-builder git python curl python3-aiohttp python3-tenacity gir1.2-ostree-1.0
- flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak --noninteractive install --user flathub org.kde.Platform//5.15-21.08 - flatpak --noninteractive install --user flathub org.kde.Platform//5.15-21.08
- flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-21.08 - flatpak --noninteractive install --user flathub org.kde.Sdk//5.15-21.08