CI: Test both the ci_template as well as local changes

Instead of just overwritting the template build jobs, test both
so we avoid regressions.

See [1] for more

[1] 1858a709e6
This commit is contained in:
Jordan Petridis 2018-11-21 16:55:02 +02:00
parent bf92771e45
commit cc5ff7d8f0
No known key found for this signature in database
GPG key ID: 902CC06D159744F5
2 changed files with 9 additions and 9 deletions

View file

@ -93,9 +93,9 @@ fedora amd64 build docker:
include: "gitlab/ci_template.yml"
# Overwrite the job with the same name that comes from the include template,
# in order to use the `:latest` tag of the image built
build fedora x86_64:
# This comes from the `include:` above
extends: .build
image: "${CI_REGISTRY_IMAGE}/amd64/fedora-build:latest"
# Test the build job against the latest build image tag and the local manifest
build fedora x86_64 local:
extends: '.build'
image: "${CI_REGISTRY_IMAGE}/amd64/fedora-build:latest"
dependencies:
- 'manifest'

View file

@ -20,8 +20,6 @@ manifest:
.build:
stage: "build"
dependencies:
- "manifest"
variables:
CC: "ccache gcc"
CXX: "ccache g++"
@ -64,6 +62,8 @@ manifest:
# - "gst-build/"
build fedora x86_64:
extends: .build
extends: '.build'
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora-build:2414895a53408ed8a0410a52560f8090b3f74696'
dependencies:
- "manifest"