diff mbox series

[XEN] automation/eclair_analysis: unblock pipelines from certain repositories

Message ID b599441c1678d11cfaa43b679bacbd5a1b886d3f.1714983088.git.nicola.vetrini@bugseng.com (mailing list archive)
State New
Headers show
Series [XEN] automation/eclair_analysis: unblock pipelines from certain repositories | expand

Commit Message

Nicola Vetrini May 6, 2024, 8:52 a.m. UTC
Repositories under people/* only execute the analyze step if manually
triggered, but in order to avoid blocking the rest of the pipeline
if such step is not run, allow it to fail.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>
---
See https://gitlab.com/xen-project/people/bugseng/xen/-/pipelines/1278550868
for a sample pipeline with this change applied.
---
 automation/gitlab-ci/analyze.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Stabellini May 6, 2024, 5:55 p.m. UTC | #1
On Mon, 6 May 2024, Nicola Vetrini wrote:
> Repositories under people/* only execute the analyze step if manually
> triggered, but in order to avoid blocking the rest of the pipeline
> if such step is not run, allow it to fail.
> 
> Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
> Signed-off-by: Nicola Vetrini <nicola.vetrini@bugseng.com>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


> ---
> See https://gitlab.com/xen-project/people/bugseng/xen/-/pipelines/1278550868
> for a sample pipeline with this change applied.
> ---
>  automation/gitlab-ci/analyze.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/automation/gitlab-ci/analyze.yaml b/automation/gitlab-ci/analyze.yaml
> index 32bf57014961..02e0ea692c66 100644
> --- a/automation/gitlab-ci/analyze.yaml
> +++ b/automation/gitlab-ci/analyze.yaml
> @@ -31,6 +31,7 @@
>        when: never
>      - if: $WTOKEN && $CI_PROJECT_PATH =~ /^xen-project\/people\/.*$/
>        when: manual
> +      allow_failure: true
>      - !reference [.eclair-analysis, rules]
>  
>  eclair-x86_64:
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/automation/gitlab-ci/analyze.yaml b/automation/gitlab-ci/analyze.yaml
index 32bf57014961..02e0ea692c66 100644
--- a/automation/gitlab-ci/analyze.yaml
+++ b/automation/gitlab-ci/analyze.yaml
@@ -31,6 +31,7 @@ 
       when: never
     - if: $WTOKEN && $CI_PROJECT_PATH =~ /^xen-project\/people\/.*$/
       when: manual
+      allow_failure: true
     - !reference [.eclair-analysis, rules]
 
 eclair-x86_64: