Skip to content

Commit

Permalink
update-konflux-ref
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonPowr committed Jul 26, 2024
1 parent abbed8b commit ee674a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .tekton/client-server-f-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ metadata:
build.appstudio.redhat.com/pull_request_number: '{{pull_request_number}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch
== "main"
pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" && target_branch == "main" && ( "Dockerfile.client-server-f.rh".pathChanged() || ".tekton/client-server-f-pull-request.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: cli
Expand All @@ -23,11 +22,17 @@ spec:
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/rhtas-tenant/cli/client-server-f:on-pr-{{revision}}
value: quay.io/securesign/client-server-f:on-pr-{{revision}}
- name: image-expires-after
value: 5d
- name: dockerfile
value: Dockerfile.client-server-f.rh
- name: prefetch-input
value: ''
- name: hermetic
value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
finally:
- name: show-sbom
Expand Down
11 changes: 8 additions & 3 deletions .tekton/client-server-f-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ metadata:
build.appstudio.redhat.com/commit_sha: '{{revision}}'
build.appstudio.redhat.com/target_branch: '{{target_branch}}'
pipelinesascode.tekton.dev/max-keep-runs: "3"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch
== "main"
pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch == "main" && ( "Dockerfile.client-server-f.rh".pathChanged() || ".tekton/client-server-f-push.yaml".pathChanged() || "trigger-konflux-builds.txt".pathChanged() )
creationTimestamp: null
labels:
appstudio.openshift.io/application: cli
Expand All @@ -22,9 +21,15 @@ spec:
- name: revision
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/rhtas-tenant/cli/client-server-f:{{revision}}
value: quay.io/securesign/client-server-f:{{revision}}
- name: dockerfile
value: Dockerfile.client-server-f.rh
- name: prefetch-input
value: ''
- name: hermetic
value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
finally:
- name: show-sbom
Expand Down

0 comments on commit ee674a1

Please sign in to comment.