Skip to content

Commit ebc0211

Browse files
authored
Refactor version references from 3.14 to 3.13 (#22)
Refactor tekton file version references to 3.13 Add lockfiles for hermetic builds
1 parent ed62007 commit ebc0211

File tree

8 files changed

+8226
-0
lines changed

8 files changed

+8226
-0
lines changed

.tekton/quay-builder-qemu-v3-13-pull-request.yaml

Lines changed: 646 additions & 0 deletions
Large diffs are not rendered by default.

.tekton/quay-builder-qemu-v3-13-push.yaml

Lines changed: 643 additions & 0 deletions
Large diffs are not rendered by default.

Containerfile.quay-builder-qemu

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Containerfile for konflux builds
2+
# Based on Dockerfile but with some necessary changes:
3+
# 1. Use registry base images
4+
# 2. fetch qemu artifact from cachi2 instead of downloading from internet
5+
FROM registry.redhat.io/ubi8/ubi:8.10-1752733233 AS builder
6+
7+
WORKDIR /app
8+
9+
RUN INSTALL_PKGS="\
10+
gzip \
11+
" && \
12+
yum -y --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False install $INSTALL_PKGS && \
13+
yum -y update && \
14+
yum -y clean all
15+
16+
COPY start.sh /app/start.sh
17+
18+
RUN cp /cachi2/output/deps/generic/rhcos-qemu.$(uname -m).qcow2.gz .
19+
RUN gunzip rhcos-qemu.$(uname -m).qcow2.gz
20+
21+
FROM registry.redhat.io/ubi8/ubi:8.10-1752733233
22+
23+
RUN mkdir -p /userdata
24+
WORKDIR /userdata
25+
26+
COPY --from=builder /app/rhcos-qemu.*.qcow2 /userdata/coreos_production_qemu_image.qcow2
27+
COPY --from=builder /app/start.sh /userdata/start.sh
28+
29+
RUN INSTALL_PKGS="\
30+
openssh-clients \
31+
qemu-kvm \
32+
libgcrypt-devel \
33+
" && \
34+
yum -y --setopt=tsflags=nodocs --setopt=skip_missing_names_on_install=False install $INSTALL_PKGS && \
35+
yum -y update && \
36+
yum -y clean all
37+
38+
RUN chgrp -R 0 /userdata && \
39+
chmod -R g=u /userdata
40+
41+
ENTRYPOINT ["/bin/bash", "/userdata/start.sh"]

artifacts.lock.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
metadata:
3+
version: "1.0"
4+
artifacts:
5+
- download_url: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.12/builds/412.86.202305030814-0/x86_64/rhcos-412.86.202305030814-0-qemu.x86_64.qcow2.gz
6+
checksum: sha256:d96caa2a78dc134f2068212a6ca8f171a036792c6afbc7a406c18c2978527585
7+
filename: rhcos-qemu.x86_64.qcow2.gz
8+
- download_url: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.12/builds/412.86.202305030814-0/aarch64/rhcos-412.86.202305030814-0-qemu.aarch64.qcow2.gz
9+
checksum: sha256:3704c737a40a85af06e83c2c8c6bc7cad0c1dc46397dddc7bf61df0a7d4d44db
10+
filename: rhcos-qemu.aarch64.qcow2.gz
11+
- download_url: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.12/builds/412.86.202305030814-0/ppc64le/rhcos-412.86.202305030814-0-qemu.ppc64le.qcow2.gz
12+
checksum: sha256:86d0b036aedbbff7c45187526f9a9c04ffea6457f76349f23b12accab3b8f43d
13+
filename: rhcos-qemu.ppc64le.qcow2.gz
14+
- download_url: https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.12/builds/412.86.202305030814-0/s390x/rhcos-412.86.202305030814-0-qemu.s390x.qcow2.gz
15+
checksum: sha256:82283e6c71f8b71be1d9156c0f0aabfd8fd44f9524f3b6da06b95054de3393f3
16+
filename: rhcos-qemu.s390x.qcow2.gz

0 commit comments

Comments
 (0)