OSDN Git Service

gitlab: Convert check-dco/check-patch jobs to the 'rules' syntax
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 25 May 2021 13:17:10 +0000 (15:17 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 27 May 2021 14:39:23 +0000 (16:39 +0200)
commit2d9e45b9cb0baa7316901238f3795a74206af457
tree266cb5368caf19075997f63f525fd6722d5a9cc0
parent1f88fad50eb7412e27e0db2c4e37cb9e982ffa80
gitlab: Convert check-dco/check-patch jobs to the 'rules' syntax

Per GitLab documentation [*]:

  "rules replaces only/except and they can’t be used together
   in the same job."

Since the 'rules' syntax is more powerful and we are already using
it, convert the check-dco/check-patch jobs so no job use the 'only/
except' syntax.

[*] https://docs.gitlab.com/ee/ci/yaml/#rules

Inspired-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210525132418.4133235-3-f4bug@amsat.org>
.gitlab-ci.d/static_checks.yml