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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user