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" 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 # Run valgrind if we changed the check.py testsuite
local valgrind core: local valgrind core:
extends: '.valgrind fedora x86_64' extends: '.valgrind fedora x86_64'
variables: variables:
TEST_SUITE: "check.gstreamer\\..*" TEST_SUITE: "check.gstreamer\\..*"
only: <<: *local-rules
changes:
- validate/launcher/
local valgrind base: local valgrind base:
extends: '.valgrind fedora x86_64' extends: '.valgrind fedora x86_64'
variables: variables:
TEST_SUITE: "check.gst-plugins-base\\..*" TEST_SUITE: "check.gst-plugins-base\\..*"
only: <<: *local-rules
changes:
- validate/launcher/
local valgrind good: local valgrind good:
extends: '.valgrind fedora x86_64' extends: '.valgrind fedora x86_64'
variables: variables:
TEST_SUITE: "check.gst-plugins-good\\..*" TEST_SUITE: "check.gst-plugins-good\\..*"
only: <<: *local-rules
changes:
- validate/launcher/
local valgrind ugly: local valgrind ugly:
extends: '.valgrind fedora x86_64' extends: '.valgrind fedora x86_64'
variables: variables:
TEST_SUITE: "check.gst-plugins-ugly\\..*" TEST_SUITE: "check.gst-plugins-ugly\\..*"
only: <<: *local-rules
changes:
- validate/launcher/
local valgrind bad: local valgrind bad:
extends: '.valgrind fedora x86_64' extends: '.valgrind fedora x86_64'
variables: variables:
TEST_SUITE: "check.gst-plugins-bad\\..*" TEST_SUITE: "check.gst-plugins-bad\\..*"
only: <<: *local-rules
changes:
- validate/launcher/
local valgrind ges: local valgrind ges:
extends: '.valgrind fedora x86_64' extends: '.valgrind fedora x86_64'
variables: variables:
TEST_SUITE: "check.gst-editing-services\\..*" TEST_SUITE: "check.gst-editing-services\\..*"
only: <<: *local-rules
changes:
- validate/launcher/