[pitivi/sdk] Work around the issue with directory artifact uploads



commit 11162c4506ae4b6df0a04136aa37fa40967245e9
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..446ac97b 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 cf repo.tar repo/
+    - tar czf tests-logs.tar.gz tests-logs/
   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]