Skip to content

Commit 03a277b

Browse files
Sachin-Yeshwanthandrewschoen
authored andcommitted
setup haproxy 8.1 container in konflux
1 parent e939053 commit 03a277b

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,15 @@ 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-v8.1-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
3131
value:
3232
- linux/x86_64
33+
- linux/arm64
34+
- linux/s390x
35+
- linux/ppc64le
3336
- name: dockerfile
3437
value: Dockerfile
3538
- name: path-context
@@ -554,6 +557,11 @@ spec:
554557
value: $(tasks.build-image-index.results.IMAGE_URL)
555558
- name: IMAGE_DIGEST
556559
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
560+
- name: ADDITIONAL_TAGS
561+
value:
562+
- "pull-request-{{pull_request_number}}"
563+
- "from-branch-{{source_branch}}"
564+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
557565
runAfter:
558566
- build-image-index
559567
taskRef:

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,13 @@ 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:v8.1-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
30+
- linux/arm64
31+
- linux/s390x
32+
- linux/ppc64le
3033
- name: dockerfile
3134
value: Dockerfile
3235
- name: path-context
@@ -551,6 +554,10 @@ spec:
551554
value: $(tasks.build-image-index.results.IMAGE_URL)
552555
- name: IMAGE_DIGEST
553556
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
557+
- name: ADDITIONAL_TAGS
558+
value:
559+
- "v8.1"
560+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
554561
runAfter:
555562
- build-image-index
556563
taskRef:

0 commit comments

Comments
 (0)