[gimp] gitlab-ci: flatpak artifacts must always be uploaded.



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

    gitlab-ci: flatpak artifacts must always be uploaded.
    
    artifacts:when is set to on_success by default. Yet we clearly need the
    build logs in failure case too in order to debug.
    
    See: https://docs.gitlab.com/ee/ci/yaml/#artifactswhen

 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eab62d4a09..a2f380efc2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -608,7 +608,8 @@ 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
     # Generate a Flatpak bundle
     - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
     - tar cf repo.tar repo/
@@ -622,6 +623,7 @@ flatpak:
     # requires plug-ins to be built.
 
   artifacts:
+    when: always
     paths:
       - flatpak-builder.log
       # These are the same as flatpak_ci_initiative.yml as according to


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