Skip to content

Commit 03bf84b

Browse files
Sachin-Yeshwanthandrewschoen
authored andcommitted
setup haproxy 6.1 container in konflux
1 parent 35ae68a commit 03bf84b

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.tekton/haproxy-6-1-pull-request.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ spec:
2424
- name: revision
2525
value: '{{revision}}'
2626
- name: output-image
27-
value: quay.io/rhceph-dev/haproxy:on-pr-{{revision}}
27+
value: quay.io/rhceph-ci/haproxy:on-pr-v6.1-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
3131
value:
3232
- linux/x86_64
33+
- linux/s390x
34+
- linux/ppc64le
3335
- name: dockerfile
3436
value: Dockerfile
3537
- name: path-context
@@ -554,6 +556,11 @@ spec:
554556
value: $(tasks.build-image-index.results.IMAGE_URL)
555557
- name: IMAGE_DIGEST
556558
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
559+
- name: ADDITIONAL_TAGS
560+
value:
561+
- "pull-request-{{pull_request_number}}"
562+
- "from-branch-{{source_branch}}"
563+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
557564
runAfter:
558565
- build-image-index
559566
taskRef:

.tekton/haproxy-6-1-push.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/rhceph-dev/haproxy:{{revision}}
26+
value: quay.io/rhceph-ci/haproxy:v6.1-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
30+
- linux/s390x
31+
- linux/ppc64le
3032
- name: dockerfile
3133
value: Dockerfile
3234
- name: path-context
@@ -551,6 +553,10 @@ spec:
551553
value: $(tasks.build-image-index.results.IMAGE_URL)
552554
- name: IMAGE_DIGEST
553555
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
556+
- name: ADDITIONAL_TAGS
557+
value:
558+
- "v6.1"
559+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
554560
runAfter:
555561
- build-image-index
556562
taskRef:

0 commit comments

Comments
 (0)