[citemplates/abderrahim/repo-artifact] put the whole repo in the artifacts



commit 9a26ae35c4b7d92af31e302590809c7debe3c8d9
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Sun Jul 21 10:22:38 2019 +0100

    put the whole repo in the artifacts
    
    the bundle is now generated in the review job

 flatpak/flatpak_ci_initiative_v1.yml | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/flatpak/flatpak_ci_initiative_v1.yml b/flatpak/flatpak_ci_initiative_v1.yml
index 65743a9..ec7bdd8 100644
--- a/flatpak/flatpak_ci_initiative_v1.yml
+++ b/flatpak/flatpak_ci_initiative_v1.yml
@@ -19,12 +19,10 @@
       dbus-run-session
       meson test -C _build --no-stdsplit --print-errorlogs ${TEST_RUN_ARGS}
 
-    # Generate a Flatpak bundle
-    - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
   artifacts:
     when: 'always'
     paths:
-      - "${BUNDLE}"
+      - 'repo/'
       - '_build/meson-logs/meson-log.txt'
       - '_build/meson-logs/testlog.txt'
     expire_in: 2 days
@@ -35,9 +33,11 @@
       - '.flatpak-builder/git'
 
 .review:
+  image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/base'
   stage: 'deploy'
   script:
-    - echo "Generating flatpak deployment"
+    # Generate a Flatpak bundle
+    - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
   artifacts:
     paths:
       - "${BUNDLE}"
@@ -74,12 +74,6 @@
   image: 'registry.gitlab.gnome.org/gnome/gnome-runtime-images/flat-manager-client'
   stage: 'deploy'
   script:
-    - ostree init --repo repo --mode archive
-    - |
-      for BUNDLE in ${BUNDLES}; do
-          flatpak build-import-bundle repo ${BUNDLE}
-      done
-
     - 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]