From be104ddf6b02150b8f32b0ac5af50b5b7c44c667 Mon Sep 17 00:00:00 2001
From: Leonardo Rossetti <lrossett@redhat.com>
Date: Apr 20 2022 15:12:19 +0000
Subject: [PATCH 1/2] set log to 0


---

diff --git a/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml b/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml
index aa5c81b..564c1d4 100644
--- a/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml
+++ b/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml
@@ -9,7 +9,7 @@
           format: json
           event: all
           timeout: 60000
-          log: 1
+          log: 0
     pipeline-scm:
       scm:
         - git:
diff --git a/defs/views.yaml.orig b/defs/views.yaml.orig
new file mode 100644
index 0000000..118fe0c
--- /dev/null
+++ b/defs/views.yaml.orig
@@ -0,0 +1,41 @@
+- view:
+    name: images
+    view-type: list
+    job-name:
+      - container-image
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+- view:
+    name: operator-sdk
+    view-type: list
+    job-name:
+      - operator-sdk-molecule-test
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+<<<<<<< HEAD
+=======
+- view:
+    name: koji-operator
+    view-type: list
+    job-name:
+      - koji-operator-pagure-ci
+      - koji-operator-molecule-tests
+    columns:
+      - status
+      - weather
+      - job
+      - last-success
+      - last-failure
+      - last-duration
+
+>>>>>>> 07ae0db (molecule test jobs)

From ad7d77b043f553c590d8b9a392434d66b3a7a74e Mon Sep 17 00:00:00 2001
From: Leonardo Rossetti <lrossett@redhat.com>
Date: Apr 22 2022 14:43:11 +0000
Subject: [PATCH 2/2] using notification url from secret


---

diff --git a/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml b/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml
index 564c1d4..2e67ed0 100644
--- a/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml
+++ b/defs/jobs/koji-operator/koji-operator-pagure-ci/job.yaml
@@ -4,16 +4,25 @@
     display-name: Koji-Operator CI
     auth-token: "{auth_token}"
     notifications:
-      - http:
-          url: "https://pagure.io/api/0/ci/jenkins/kube-sig/koji-operator/{auth_token}/build-finished"
-          format: json
-          event: all
-          timeout: 60000
-          log: 0
+      - raw:
+          xml: |-
+            <com.tikal.hudson.plugins.notification.Endpoint>
+              <protocol>HTTP</protocol>
+              <format>JSON</format>
+              <urlInfo>
+                <urlOrId>koji-operator-pague-ci-url</urlOrId>
+                <urlType>SECRET</urlType>
+              </urlInfo>
+              <event>all</event>
+              <timeout>60000</timeout>
+              <loglines>0</loglines>
+              <buildNotes/>
+              <retries>0</retries>
+            </com.tikal.hudson.plugins.notification.Endpoint>
     pipeline-scm:
       scm:
         - git:
-            url: https://pagure.io/forks/lrossett/kube-sig/jenkins.git
+            url: https://pagure.io/kube-sig/jenkins.git
             branches:
               - master
             clean:
diff --git a/defs/views.yaml.orig b/defs/views.yaml.orig
deleted file mode 100644
index 118fe0c..0000000
--- a/defs/views.yaml.orig
+++ /dev/null
@@ -1,41 +0,0 @@
-- view:
-    name: images
-    view-type: list
-    job-name:
-      - container-image
-    columns:
-      - status
-      - weather
-      - job
-      - last-success
-      - last-failure
-      - last-duration
-- view:
-    name: operator-sdk
-    view-type: list
-    job-name:
-      - operator-sdk-molecule-test
-    columns:
-      - status
-      - weather
-      - job
-      - last-success
-      - last-failure
-      - last-duration
-<<<<<<< HEAD
-=======
-- view:
-    name: koji-operator
-    view-type: list
-    job-name:
-      - koji-operator-pagure-ci
-      - koji-operator-molecule-tests
-    columns:
-      - status
-      - weather
-      - job
-      - last-success
-      - last-failure
-      - last-duration
-
->>>>>>> 07ae0db (molecule test jobs)

