[gimp/wip/Jehan/fix-flatpak-log] test.




commit 51acbe53384ad44596c1c140edb43d4e7fe77899
Author: Jehan <jehan girinstud io>
Date:   Sun Sep 5 14:26:44 2021 +0200

    test.

 .gitlab-ci.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eab62d4a09..b44764eea9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -608,9 +608,10 @@ flatpak:
     # > Job's log exceeded limit of 16777216 bytes.
     # > Job execution will continue but no more output will be collected.
     # To make debugging actually possible, let's save logs as a file.
-    - flatpak-builder --user --disable-rofiles-fuse flatpak_app --repo=repo 
${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH} > flatpak-builder.log 2>&1
+    - flatpak-builder --user --disable-rofiles-fuse flatpak_app --repo=repo 
${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
+        > flatpak-builder.log 2>&1 || (err = $? && sync && exit $err)
     # Generate a Flatpak bundle
-    - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
+    - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH} 2>&1 | tee 
flatpak-build-bundle.log
     - tar cf repo.tar repo/
 
     # XXX This job is mostly the same as .flatpak job of
@@ -624,6 +625,7 @@ flatpak:
   artifacts:
     paths:
       - flatpak-builder.log
+      - flatpak-build-bundle.log
       # These are the same as flatpak_ci_initiative.yml as according to
       # docs, key values are not merged but replaced.
       - "${BUNDLE}"


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