From 70c75822f7c01dedbff85f09e9c7f091deceb355 Mon Sep 17 00:00:00 2001 From: Julian Sparber Date: Tue, 26 Jan 2021 14:17:27 +0100 Subject: [PATCH] ci: write STDOUT for flatpak build to file The flatpak build excites the log limit therefore redirect the log to a file. --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3369251..7b7d7bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"