[gnome-runtime-images/bundle-all] Copy flatpak installation from existing image and update it instead



commit 264cf0c8b7e8d1214a18d2d8f18bff7cd4ac5870
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Sep 24 13:04:49 2021 +0200

    Copy flatpak installation from existing image and update it instead

 .gitlab-ci.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 85f62f7..9601cf9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,13 +74,15 @@ flat-manager-client:
           export TAG="${CI_REGISTRY_IMAGE}/gnome:${BRANCH}"
           echo "Building $TAG"
 
-          buildah run $CONTAINER flatpak install --user --noninteractive \
+          buildah copy --from=$TAG $CONTAINER /build/.local/share/flatpak /build/.local/share/flatpak
+
+          buildah run $CONTAINER flatpak install --user --or-update --noninteractive \
                     org.gnome.Sdk//${BRANCH} org.gnome.Platform//${BRANCH}
 
-          buildah run $CONTAINER flatpak install --user --noninteractive \
+          buildah run $CONTAINER flatpak install --user --or-update --noninteractive \
                     org.freedesktop.Sdk.Extension.rust-stable//${FD_BRANCH}
 
-          buildah run $CONTAINER flatpak install --user --noninteractive \
+          buildah run $CONTAINER flatpak install --user --or-update --noninteractive \
                     org.freedesktop.Sdk.Extension.llvm${LLVM_VERSION}//${FD_BRANCH}
 
           echo "Commiting $TAG"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]