ci_template: Only export artifacts for the main fedora build job
authorJordan Petridis <jordan@centricular.com>
Fri, 9 Aug 2019 11:31:07 +0000 (14:31 +0300)
committerJordan Petridis <jordan@centricular.com>
Mon, 2 Sep 2019 11:52:35 +0000 (14:52 +0300)
We are only using the builddir of the main fedora job to run
tests, the rest where exported by accident. Its especially
problematic cause static build eat a bunch of space and take
an eternity to be uploaded.

Part of #32

gitlab/ci_template.yml

index 61ec29c..ae4e2ae 100644 (file)
@@ -109,12 +109,6 @@ gst indent:
     key: "${CI_JOB_NAME}"
     paths:
       - "${CCACHE_DIR}"
-  artifacts:
-    expire_in: '5 days'
-    when: always
-    paths:
-      - "manifest.xml"
-      - "gst-build/"
   except:
     variables:
       - $CI_PROJECT_NAME == "cerbero"
@@ -125,6 +119,12 @@ build fedora x86_64:
   image: $FEDORA_IMAGE
   variables:
     MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dsharp=enabled -Domx=enabled -Dgst-omx:target=generic -Ddoc=enabled ${MESON_BUILDTYPE_ARGS} --werror"
+  artifacts:
+    expire_in: '5 days'
+    when: always
+    paths:
+      - "manifest.xml"
+      - "gst-build/"
   except:
     variables:
       - $CI_PROJECT_NAME == "cerbero"