From 7f2d699b2c6bc0850b00eb7170a7bba3dd01d759 Mon Sep 17 00:00:00 2001
From: Fabien Boucher <fboucher@redhat.com>
Date: Apr 19 2024 12:55:23 +0000
Subject: fix some pipelines config


---

diff --git a/zuul.d/_pipelines.yaml b/zuul.d/_pipelines.yaml
index 651bf27..ce08437 100644
--- a/zuul.d/_pipelines.yaml
+++ b/zuul.d/_pipelines.yaml
@@ -18,8 +18,8 @@
         - event: pg_pull_request
           action: comment
           comment:
-           - (?i)^\s*recheck\s*$
-           - (?i)\[recheck\]
+            - (?i)^\s*recheck\s*$
+            - (?i)\[recheck\]
         - event: pg_pull_request
           action:
             - opened
@@ -43,43 +43,42 @@
           comment: (?i)^\s*recheck\s*$
     start:
       pagure.io:
-        status: 'pending'
+        status: "pending"
         status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
         comment: false
       src.fedoraproject.org:
-        status: 'pending'
+        status: "pending"
         status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
         comment: false
       github.com:
-        status: 'pending'
+        status: "pending"
         status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
         comment: false
     start-message: |
       Starting {pipeline.name} jobs. Status at {status_url}
     success:
       pagure.io:
-        status: 'success'
+        status: "success"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
       src.fedoraproject.org:
-        status: 'success'
+        status: "success"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
       github.com:
-        status: 'success'
+        status: "success"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
-      
+
     failure:
       pagure.io:
-        status: 'failure'
+        status: "failure"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
       src.fedoraproject.org:
-        status: 'failure'
+        status: "failure"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
       github.com:
-        status: 'failure'
+        status: "failure"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
-      
-    failure-message:
-      Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
+
+    failure-message: Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
 
 - pipeline:
     name: gate
@@ -157,46 +156,45 @@
       pagure.io:
         comment: false
       src.fedoraproject.org:
-        status: 'pending'
+        status: "pending"
         status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
         comment: false
       github.com:
-        status: 'pending'
+        status: "pending"
         status-url: "https://fedora.softwarefactory-project.io/zuul/status/change/{change.number},{change.patchset}"
         comment: false
     success:
       pagure.io:
-        status: 'success'
+        status: "success"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
         merge: true
         comment: true
       src.fedoraproject.org:
-        status: 'success'
+        status: "success"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
         merge: true
         comment: true
       github.com:
-        status: 'success'
+        status: "success"
         merge: true
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
         comment: true
-      
+
     failure:
       pagure.io:
-        status: 'failure'
+        status: "failure"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
         comment: true
       src.fedoraproject.org:
-        status: 'failure'
+        status: "failure"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
         comment: true
       github.com:
-        status: 'failure'
+        status: "failure"
         status-url: "https://fedora.softwarefactory-project.io/zuul/buildset/{buildset.uuid}"
         comment: true
-      
-    failure-message:
-      Build failed (gate pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
+
+    failure-message: Build failed (gate pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
     window-floor: 20
     window-increase-factor: 2
 
@@ -216,14 +214,12 @@
       github.com:
         - event: push
           ref: ^refs/heads/.*$
-    success:
-      
+
     failure:
       smtp:
         from: "zuul@fedora.softwarefactory-project.io"
         to: "root@localhost"
-        subject: '[Zuul] Job failed in post pipeline: {change.project}'
-      
+        subject: "[Zuul] Job failed in post pipeline: {change.project}"
 
 - pipeline:
     name: tag
@@ -241,14 +237,12 @@
       github.com:
         - event: push
           ref: ^refs/tags/.*$
-    success:
-      
+
     failure:
       smtp:
         from: "zuul@fedora.softwarefactory-project.io"
         to: "root@localhost"
-        subject: '[Zuul] Job failed in tag pipeline: {change.project}'
-      
+        subject: "[Zuul] Job failed in tag pipeline: {change.project}"
 
 - pipeline:
     name: promote
@@ -288,7 +282,7 @@
         comment: true
       github.com:
         status: success
-      
+
     failure:
       pagure.io:
         comment: true
@@ -296,9 +290,8 @@
         comment: true
       github.com:
         status: failure
-      
-    failure-message:
-      Build failed (promote pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
+
+    failure-message: Build failed (promote pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
 
 - pipeline:
     name: periodic
@@ -308,15 +301,13 @@
     precedence: low
     trigger:
       timer:
-        - time: '0 0 * * *'
-    success:
-      
+        - time: "0 0 * * *"
+
     failure:
       smtp:
         from: "zuul@fedora.softwarefactory-project.io"
         to: "root@localhost"
-        subject: '[Zuul] Job failed in periodic pipeline: {change.project}'
-      
+        subject: "[Zuul] Job failed in periodic pipeline: {change.project}"
 
 - pipeline:
     name: periodic-hourly
@@ -326,15 +317,13 @@
     precedence: low
     trigger:
       timer:
-        - time: '0 * * * *'
-    success:
-      
+        - time: "0 * * * *"
+
     failure:
       smtp:
         from: "zuul@fedora.softwarefactory-project.io"
         to: "root@localhost"
-        subject: '[Zuul] Job failed in periodic pipeline: {change.project}'
-      
+        subject: "[Zuul] Job failed in periodic pipeline: {change.project}"
 
 - pipeline:
     name: experimental
@@ -359,14 +348,13 @@
       github.com: {}
       pagure.io: {}
       src.fedoraproject.org: {}
-      
+
     failure:
       github.com: {}
       pagure.io: {}
       src.fedoraproject.org: {}
-      
-    failure-message:
-      Build failed (experimental pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
+
+    failure-message: Build failed (experimental pipeline). More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
 
 - pipeline:
     name: github-required
@@ -385,20 +373,19 @@
           comment: (?i)^\s*recheck\s*$
     start:
       github.com:
-        check: 'in_progress'
+        check: "in_progress"
         comment: false
     start-message: |
       Starting {pipeline.name} jobs. Status at {status_url}
     success:
       github.com:
-        check: 'success'
-      
+        check: "success"
+
     failure:
       github.com:
-        check: 'failure'
-      
-    failure-message:
-      Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
+        check: "failure"
+
+    failure-message: Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
 
 - pipeline:
     name: github-optional
@@ -417,17 +404,16 @@
           comment: (?i)^\s*recheck\s*$
     start:
       github.com:
-        check: 'in_progress'
+        check: "in_progress"
         comment: false
     start-message: |
       Starting {pipeline.name} jobs. Status at {status_url}
     success:
       github.com:
-        check: 'success'
-      
+        check: "success"
+
     failure:
       github.com:
-        check: 'failure'
-      
-    failure-message:
-      Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
+        check: "failure"
+
+    failure-message: Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci

