OSDN Git Service

gitlab-ci/containers: Add missing wildcard where we should look for changes
authorThomas Huth <thuth@redhat.com>
Mon, 13 Jul 2020 18:22:35 +0000 (20:22 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 15 Jul 2020 10:52:43 +0000 (11:52 +0100)
The tests/docker/* wildcard seems to only match the files that are directly
in the tests/docker folder - but changes to the files in the directory
tests/docker/dockerfiles are currently ignored. Seems like we need a
separate entry to match the files in that folder. With this wildcard added,
the stages now get re-run successfully when something in the dockerfiles
has been changed.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200713182235.30379-1-thuth@redhat.com>

.gitlab-ci.d/containers.yml

index f3c0ca4..8c89efe 100644 (file)
@@ -24,6 +24,7 @@
     - changes:
       - .gitlab-ci.d/containers.yml
       - tests/docker/*
+      - tests/docker/dockerfiles/*
     - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
     - if: '$CI_COMMIT_REF_NAME == "testing/next"'