File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -exuo pipefail
3
3
4
- # Debug PACKIT_COPR_PROJECT and PACKIT_COPR_RPMS
5
- echo " $PACKIT_COPR_PROJECT and $PACKIT_COPR_RPMS "
6
-
7
4
source ./shared_lib.sh
8
5
dump_runner
9
6
deploy_libvirt_network
@@ -96,14 +93,19 @@ podman ps -a
96
93
TEST_IMAGE_NAME=" bootc-workflow-test"
97
94
TEST_IMAGE_URL=" ${REGISTRY_IP} :${REGISTRY_PORT} /${TEST_IMAGE_NAME} :${QUAY_REPO_TAG} "
98
95
96
+ # Debug PACKIT_COPR_PROJECT and PACKIT_COPR_RPMS
97
+ echo " $PACKIT_COPR_PROJECT and $PACKIT_COPR_RPMS "
98
+
99
+ # Generate bootc copr repo file
100
+ sed " s|REPLACE_COPR_PROJECT|${PACKIT_COPR_PROJECT} |; s|REPLACE_TEST_OS|${TEST_OS} |" files/bootc.repo.template | tee " ${TEMPDIR} " /bootc.repo > /dev/null
101
+
99
102
# Configure continerfile
100
103
greenprint " Create $TEST_OS installation Containerfile"
101
104
tee " $INSTALL_CONTAINERFILE " > /dev/null << EOF
102
105
FROM "$TIER1_IMAGE_URL "
103
- COPY build/ bootc-2*. ${ARCH} .rpm .
106
+ COPY bootc.repo /etc/yum.repos.d/
104
107
COPY domain.crt /etc/pki/ca-trust/source/anchors/
105
- RUN dnf -y update ./bootc-2*.${ARCH} .rpm && \
106
- rm -f ./bootc-2*.${ARCH} .rpm && \
108
+ RUN dnf -y update bootc && \
107
109
update-ca-trust
108
110
EOF
109
111
Original file line number Diff line number Diff line change
1
+ [bootc]
2
+ name=bootc
3
+ baseurl=https://download.copr.fedorainfracloud.org/results/REPLACE_COPR_PROJECT/REPLACE_TEST_OS-$basearch/
4
+ enabled=1
5
+ gpgcheck=0
6
+ repo_gpgcheck=0
You can’t perform that action at this time.
0 commit comments