Skip to content

Commit c98d7cf

Browse files
andrewschoenbigjust
authored andcommitted
konflux: build for all supported platforms
Signed-off-by: Andrew Schoen <[email protected]>
1 parent 47975f9 commit c98d7cf

File tree

6 files changed

+54
-1
lines changed

6 files changed

+54
-1
lines changed

.tekton/haproxy-5-3-pull-request.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ spec:
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

.tekton/haproxy-5-3-push.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ spec:
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

compose.repo

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# needed for haproxy22
2+
[odcs-4325595]
3+
name=ODCS repository for compose odcs-4325595
4+
baseurl=http://download-01.beak-001.prod.iad2.dc.redhat.com/odcs/prod/odcs-4325595/compose/Temporary/$basearch/os
5+
type=rpm-md
6+
skip_if_unavailable=False
7+
gpgcheck=0
8+
repo_gpgcheck=0
9+
enabled=1
10+
enabled_metadata=1
11+
12+
[odcs-4325595-source]
13+
name=ODCS repository for compose odcs-4325595-source
14+
baseurl=http://download-01.beak-001.prod.iad2.dc.redhat.com/odcs/prod/odcs-4325595/compose/Temporary/source/tree
15+
type=rpm-md
16+
skip_if_unavailable=False
17+
gpgcheck=0
18+
repo_gpgcheck=0
19+
enabled=0
20+
enabled_metadata=1

get-compose

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export OIDC_CLIENT_ID=ceph-build-oidc-sa
2+
export OIDC_CLIENT_SECRET=$(cat ~/config/oidc-client-secret)
3+
4+
podman run -it quay.io/redhat-appstudio/tools@sha256:89258fa69543312e80180a2308bcb84ef86bb0bcab8f8caa704327fc7d4dd9c9 \
5+
odcs \
6+
--redhat \
7+
--quiet \
8+
create-tag \
9+
--sigkey 'FD431D51' \
10+
--arch "x86_64" \
11+
--arch "s390x" \
12+
--arch "ppc64le" \
13+
ceph-5.3-rhel-8-candidate \
14+
haproxy22 \

rpms.in.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
contentOrigin:
2+
repofiles:
3+
- ./rpms.repo
4+
- ./compose.repo
5+
context:
6+
bare: true
7+
8+
arches:
9+
- x86_64
10+
- ppc64le
11+
- s390x
12+
13+
# taken from install package list in Dockerfile
14+
packages:
15+
- haproxy22

rpms.lock.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2463,7 +2463,7 @@ arches:
24632463
- url: https://rhsm-pulp.corp.redhat.com/content/dist/rhel8/8/s390x/appstream/os/repodata/a5a9840f3e09e7e60aaf0daf326c311d0abc8c3ee950c36582b2cd9d543fec54-modules.yaml.gz
24642464
repoid: rhel-8-for-s390x-appstream-rpms
24652465
size: 717788
2466-
checksum: sha256:a5a9840f3e09e7e60aaf0daf326c311d0abc8c3ee950c36582b2cd9d543fec54
2466+
checksum: sha256:c32523f5cb1d0e1e92255199cb1ef8e63e0e70f7e8a2a963c95409045db52ed3
24672467
- arch: x86_64
24682468
packages:
24692469
- url: https://rhsm-pulp.corp.redhat.com/content/dist/layered/rhel8/x86_64/rhceph-tools/5/os/Packages/h/haproxy22-2.2.19-5.el8cp.x86_64.rpm

0 commit comments

Comments
 (0)