From 6a11ab341d1d7f3221f0816b4da7c35d441e883d Mon Sep 17 00:00:00 2001 From: Deepak Chourasia Date: Fri, 22 Nov 2024 11:29:46 +0530 Subject: [PATCH] enabling new pnc arc --- .tekton/odh-trustyai-service-v2-16-push.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.tekton/odh-trustyai-service-v2-16-push.yaml b/.tekton/odh-trustyai-service-v2-16-push.yaml index 9addd44a..7f345e06 100644 --- a/.tekton/odh-trustyai-service-v2-16-push.yaml +++ b/.tekton/odh-trustyai-service-v2-16-push.yaml @@ -10,8 +10,7 @@ metadata: build.appstudio.openshift.io/build-nudge-files: "build/operator-nudging.yaml" pipelinesascode.tekton.dev/on-cel-expression: | event == "push" - && target_branch == "rhoai-2.16" - && ( !".tekton/**".pathChanged() || ".tekton/odh-trustyai-service-v2-16-push.yaml".pathChanged() ) + && target_branch == "rhoai-2.16" && "artifacts.lock.yaml".pathChanged() creationTimestamp: labels: appstudio.openshift.io/application: rhoai-v2-16 @@ -60,7 +59,7 @@ spec: - name: secret-name value: rhoai-konflux-secret - name: key-name - value: slack-webhook + value: slack-poc-webhook taskRef: params: - name: name @@ -162,7 +161,7 @@ spec: valueFrom: secretKeyRef: name: rhoai-konflux-secret - key: slack-component-failure-notification + key: slack-component-failure-poc-notification script: | pipelinerun_name=$(params.pipelinerun-name) target_branch={{target_branch}}