1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-28 14:55:26 +00:00

ci: write STDOUT for flatpak build to file

The flatpak build excites the log limit therefore redirect the log to a
file.
This commit is contained in:
Julian Sparber 2021-01-26 14:17:27 +01:00
parent 87f70265e9
commit 70c75822f7

View file

@ -78,7 +78,8 @@ check-po:
- flatpak
script:
- rewrite-flatpak-manifest ${MANIFEST_PATH} ${FLATPAK_MODULE} ${CONFIG_OPTS}
- flatpak-builder --user --disable-rofiles-fuse flatpak_app --repo=repo ${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
# Redirect STDOUT and STDERR to a file since the log produced hits the log limit
- flatpak-builder --user --disable-rofiles-fuse flatpak_app --repo=repo ${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH} > stdout.txt
# Generate a Flatpak bundle
- flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${APP_ID} ${BRANCH}
- tar cf repo.tar repo/
@ -108,6 +109,7 @@ check-po:
- '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'
- 'stdout.txt'
expire_in: 14 days
cache:
key: "$CI_JOB_NAME"