ci: Port from only: to rules

This fixed CI breakage introduced by gst-ci!247
This commit is contained in:
Nicolas Dufresne 2020-03-17 11:51:32 -04:00
parent 9b260a1ec6
commit 3762c1a6d2

View file

@ -1,50 +1,43 @@
include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_template.yml"
.local-rules: &local-rules
rules:
- changes:
- validate/launcher/
# Run valgrind if we changed the check.py testsuite
local valgrind core:
extends: '.valgrind fedora x86_64'
variables:
TEST_SUITE: "check.gstreamer\\..*"
only:
changes:
- validate/launcher/
<<: *local-rules
local valgrind base:
extends: '.valgrind fedora x86_64'
variables:
TEST_SUITE: "check.gst-plugins-base\\..*"
only:
changes:
- validate/launcher/
<<: *local-rules
local valgrind good:
extends: '.valgrind fedora x86_64'
variables:
TEST_SUITE: "check.gst-plugins-good\\..*"
only:
changes:
- validate/launcher/
<<: *local-rules
local valgrind ugly:
extends: '.valgrind fedora x86_64'
variables:
TEST_SUITE: "check.gst-plugins-ugly\\..*"
only:
changes:
- validate/launcher/
<<: *local-rules
local valgrind bad:
extends: '.valgrind fedora x86_64'
variables:
TEST_SUITE: "check.gst-plugins-bad\\..*"
only:
changes:
- validate/launcher/
<<: *local-rules
local valgrind ges:
extends: '.valgrind fedora x86_64'
variables:
TEST_SUITE: "check.gst-editing-services\\..*"
only:
changes:
- validate/launcher/
<<: *local-rules