[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] gitlab-ci: Convert check-dco/check-patch jobs to the 'ru
From: |
Willian Rampazzo |
Subject: |
Re: [PATCH 2/2] gitlab-ci: Convert check-dco/check-patch jobs to the 'rules' syntax |
Date: |
Wed, 26 May 2021 13:25:16 -0300 |
On Tue, May 25, 2021 at 10:24 AM Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> 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>
> ---
> .gitlab-ci.yml | 16 +++++++++-------
> 1 file changed, 9 insertions(+), 7 deletions(-)
>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>