mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 19:36:51 +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:
parent
87f70265e9
commit
70c75822f7
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,8 @@ check-po:
|
||||||
- flatpak
|
- flatpak
|
||||||
script:
|
script:
|
||||||
- rewrite-flatpak-manifest ${MANIFEST_PATH} ${FLATPAK_MODULE} ${CONFIG_OPTS}
|
- 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
|
# 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/
|
||||||
|
@ -108,6 +109,7 @@ check-po:
|
||||||
- 'repo.tar'
|
- 'repo.tar'
|
||||||
- '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/meson-log.txt'
|
- '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/meson-log.txt'
|
||||||
- '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/testlog.txt'
|
- '.flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-logs/testlog.txt'
|
||||||
|
- 'stdout.txt'
|
||||||
expire_in: 14 days
|
expire_in: 14 days
|
||||||
cache:
|
cache:
|
||||||
key: "$CI_JOB_NAME"
|
key: "$CI_JOB_NAME"
|
||||||
|
|
Loading…
Reference in a new issue