ci_template: Only export artifacts for the main fedora build job

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
This commit is contained in:
Jordan Petridis 2019-08-09 14:31:07 +03:00
parent 6e39d68c4e
commit 20f5d7d646
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

View 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"