From 2fe144ba3f57f04b8dd84190d38eb5e219ffb151 Mon Sep 17 00:00:00 2001 From: Roy Golan Date: Tue, 18 Jun 2024 20:41:53 +0300 Subject: [PATCH] Fix konflux dockerfile path and add pull request changes Signed-off-by: Roy Golan --- .tekton/move2kube-serverless-workflow-pull-request.yaml | 4 +++- .tekton/move2kube-serverless-workflow-push.yaml | 2 +- .tekton/mta-serverless-workflow-pull-request.yaml | 4 +++- .tekton/mta-serverless-workflow-push.yaml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.tekton/move2kube-serverless-workflow-pull-request.yaml b/.tekton/move2kube-serverless-workflow-pull-request.yaml index 377a4bd2..2e516b36 100644 --- a/.tekton/move2kube-serverless-workflow-pull-request.yaml +++ b/.tekton/move2kube-serverless-workflow-pull-request.yaml @@ -24,13 +24,15 @@ spec: - name: git-url value: '{{source_url}}' - name: image-expires-after - value: 5d + value: 2d - name: output-image value: quay.io/redhat-user-workloads/orchestrator-releng-tenant/serverless-workflows/move2kube-serverless-workflow:on-pr-{{revision}} - name: path-context value: move2kube - name: revision value: '{{revision}}' + - name: build-args-file + value: move2kube/argfile.conf pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/move2kube-serverless-workflow-push.yaml b/.tekton/move2kube-serverless-workflow-push.yaml index 38f08eab..cf7ff5f9 100644 --- a/.tekton/move2kube-serverless-workflow-push.yaml +++ b/.tekton/move2kube-serverless-workflow-push.yaml @@ -18,7 +18,7 @@ metadata: spec: params: - name: dockerfile - value: pipeline/workflow-builder.konflux.Dockerfile + value: pipeline/workflow-builder.Dockerfile - name: git-url value: '{{source_url}}' - name: output-image diff --git a/.tekton/mta-serverless-workflow-pull-request.yaml b/.tekton/mta-serverless-workflow-pull-request.yaml index 74d5dad8..b315a622 100644 --- a/.tekton/mta-serverless-workflow-pull-request.yaml +++ b/.tekton/mta-serverless-workflow-pull-request.yaml @@ -24,13 +24,15 @@ spec: - name: git-url value: '{{source_url}}' - name: image-expires-after - value: 5d + value: 1d - name: output-image value: quay.io/redhat-user-workloads/orchestrator-releng-tenant/serverless-workflows/mta-serverless-workflow:on-pr-{{revision}} - name: path-context value: mta - name: revision value: '{{revision}}' + - name: build-args-file + value: mta/argfile.conf pipelineSpec: finally: - name: show-sbom diff --git a/.tekton/mta-serverless-workflow-push.yaml b/.tekton/mta-serverless-workflow-push.yaml index 9a0ffb9f..b5cc6768 100644 --- a/.tekton/mta-serverless-workflow-push.yaml +++ b/.tekton/mta-serverless-workflow-push.yaml @@ -18,7 +18,7 @@ metadata: spec: params: - name: dockerfile - value: pipeline/workflow-builder.konflux.Dockerfile + value: pipeline/workflow-builder.Dockerfile - name: git-url value: '{{source_url}}' - name: output-image