gitlab-ci: Use tee to get flatpak job output on stdout and into a log file.

This commit is contained in:
Michael Schumacher 2023-03-20 23:24:37 +01:00 committed by Jehan
parent 405d8b765f
commit 61943ca11b
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ flatpak:
# > Job execution will continue but no more output will be collected. # > Job execution will continue but no more output will be collected.
# To make debugging actually possible, let's save logs as a file. # 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 --user --disable-rofiles-fuse flatpak_app --repo=repo ${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
> flatpak-builder.log 2>&1 2>&1 | tee flatpak-builder.log
# Generate a Flatpak bundle # 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}
- tar cf repo.tar repo/ - tar cf repo.tar repo/