[citemplates] Expel "Revert "Store flatpak repo as tarball"" to another branch



commit 3431aaa994e14c1756412c821dccc9e6c15bdd95
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon May 18 20:29:25 2020 +0200

    Expel "Revert "Store flatpak repo as tarball"" to another branch
    
    This reverts commit 7c864c8a1a17e65e4962c2b6af731a556321ae4f.

 flatpak/flatpak_ci_initiative.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/flatpak/flatpak_ci_initiative.yml b/flatpak/flatpak_ci_initiative.yml
index b855bf4..e97e1f7 100644
--- a/flatpak/flatpak_ci_initiative.yml
+++ b/flatpak/flatpak_ci_initiative.yml
@@ -10,6 +10,7 @@
 
     # Generate a Flatpak bundle
     - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
+    - tar cf repo.tar repo/
 
     # Run automatic tests inside the Flatpak env
     # we need to recreate the build directory because cleanup would have deleted build dependencies
@@ -33,7 +34,7 @@
     when: 'always'
     paths:
       - "${BUNDLE}"
-      - 'repo/'
+      - 'repo.tar'
       - '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/meson-log.txt'
       - '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/testlog.txt'
     expire_in: 14 days
@@ -67,6 +68,7 @@
   image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
   stage: 'deploy'
   script:
+    - tar xf repo.tar
     - BUILD_ID=$(flat-manager-client create ${FLAT_MANAGER_URL} ${FLATPAK_REPO})
     - flat-manager-client push --commit --publish --wait ${BUILD_ID} repo/ || result=$?
     - flat-manager-client purge ${BUILD_ID}


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