diff --git a/.tekton/kola-tang-pull-request.yaml b/.tekton/kola-tang-pull-request.yaml index a5d6bad861..aa197d64af 100644 --- a/.tekton/kola-tang-pull-request.yaml +++ b/.tekton/kola-tang-pull-request.yaml @@ -9,11 +9,8 @@ metadata: pipelinesascode.tekton.dev/cancel-in-progress: "true" pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch - == "main" && - ("tests/containers/tang/***".pathChanged() || - ".tekton/kola-tang-pull-request.yaml".pathChanged() || - "ci/hermetic/rpms.lock.yaml".pathChanged() - ) + == "main" && ("tests/containers/tang/***".pathChanged() || ".tekton/kola-tang-pull-request.yaml".pathChanged() + || "ci/hermetic/rpms.lock.yaml".pathChanged() ) creationTimestamp: null labels: appstudio.openshift.io/application: coreos-assembler @@ -39,13 +36,11 @@ spec: - name: path-context value: . - name: hermetic - value: false + value: "false" - name: prefetch-input value: '[{"type": "rpm", "path": "ci/hermetic"}]' - # Note: to be removed once rpm fully supported - # https://github.com/hermetoproject/hermeto?tab=readme-ov-file#package-managers - name: dev-package-managers - value: true + value: "true" pipelineRef: params: - name: bundle @@ -55,6 +50,8 @@ spec: - name: kind value: pipeline resolver: bundles + taskRunTemplate: + serviceAccountName: build-pipeline-kola-tang workspaces: - name: git-auth secret: diff --git a/.tekton/kola-tang-push.yaml b/.tekton/kola-tang-push.yaml index c10cc55525..1e4c771654 100644 --- a/.tekton/kola-tang-push.yaml +++ b/.tekton/kola-tang-push.yaml @@ -8,9 +8,7 @@ metadata: pipelinesascode.tekton.dev/cancel-in-progress: "false" pipelinesascode.tekton.dev/max-keep-runs: "3" pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch - == "main" && - ("tests/containers/tang/***".pathChanged() || - "ci/hermetic/rpms.lock.yaml".pathChanged() + == "main" && ("tests/containers/tang/***".pathChanged() || "ci/hermetic/rpms.lock.yaml".pathChanged() ) creationTimestamp: null labels: @@ -35,13 +33,11 @@ spec: - name: path-context value: . - name: hermetic - value: false + value: "false" - name: prefetch-input value: '[{"type": "rpm", "path": "ci/hermetic"}]' - # Note: to be removed once rpm fully supported - # https://github.com/hermetoproject/hermeto?tab=readme-ov-file#package-managers - name: dev-package-managers - value: true + value: "true" pipelineRef: params: - name: bundle @@ -51,6 +47,8 @@ spec: - name: kind value: pipeline resolver: bundles + taskRunTemplate: + serviceAccountName: build-pipeline-kola-tang workspaces: - name: git-auth secret: