[pitivi/sdk: 1/2] Work around the issue with directory artifact uploads
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi/sdk: 1/2] Work around the issue with directory artifact uploads
- Date: Mon, 2 Mar 2020 13:25:25 +0000 (UTC)
commit 0d16ce0ce9a6a66e1b400098092eeb11f62bc6b3
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Mar 2 11:42:12 2020 +0100
Work around the issue with directory artifact uploads
.gitlab-ci.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 03203ffa..28e8c568 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -82,6 +82,10 @@ build:
- ${RUN_IN_SANDBOX} meson mesonbuild/
- ${RUN_IN_SANDBOX} ninja -C mesonbuild/
- xvfb-run -n 32 -s "-screen 0 640x480x24" ${RUN_IN_SANDBOX} gst-validate-launcher
$PWD/tests/ptv_testsuite.py --dump-on-failure --timeout-factor 4 --xunit-file ${XUNIT_PATH}
--logs-dir=${CI_PROJECT_DIR}/tests-logs ${BLACKLIST}
+
+ # For some reason GitLab fails to upload directories
+ - tar czf tests-logs.tar.gz tests-logs/
+ - cd ${CI_PROJECT_DIR}/ && tar cf repo.tar repo/
cache:
paths:
- flatpak-cache
@@ -89,8 +93,8 @@ build:
expire_in: 30 days
paths:
- xunit.xml
- - repo/
- - tests-logs/
+ - repo.tar
+ - tests-logs.tar.gz
reports:
junit:
- ${XUNIT_PATH}
@@ -101,6 +105,7 @@ deploy:
- PitiviBuildMachine
stage: deploy
script:
+ - tar xf repo.tar
- flatpak build-commit-from --src-repo=repo /srv/http --timestamp=NOW --gpg-sign=739E841A
only:
- master@GNOME/pitivi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]