File tree 1 file changed +10
-5
lines changed
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ EXTENSION_RPMS=(
21
21
unbound-libs
22
22
python3-libs
23
23
)
24
+ CRIO_RPMS=(
25
+ cri-o
26
+ cri-tools
27
+ )
24
28
CRIO_VERSION=" 1.18"
25
29
26
30
# fetch binaries and configure working env, prow doesn't allow init containers or a second container
@@ -52,12 +56,8 @@ rm -rf /etc/yum.repos.d
52
56
ostree --repo=/srv/repo checkout " ${REF} " --subpath /usr/etc/yum.repos.d --user-mode /etc/yum.repos.d
53
57
dnf clean all
54
58
55
- # enable crio
56
- sed -i ' s/enabled=0/enabled=1/g' /etc/yum.repos.d/fedora-updates-testing-modular.repo
57
- dnf module enable -y cri-o:${CRIO_VERSION}
58
-
59
59
# prepare a list of repos to download packages from
60
- REPOLIST=" --enablerepo=fedora --enablerepo=updates --enablerepo=updates-testing-modular "
60
+ REPOLIST=" --enablerepo=fedora --enablerepo=updates"
61
61
for i in " ${! REPOS[@]} " ; do
62
62
REPOLIST=" ${REPOLIST} --repofrompath=repo${i} ,${REPOS[$i]} "
63
63
done
74
74
# inject cri-o, hyperkube RPMs and MCD binary in the ostree commit
75
75
mkdir /tmp/working
76
76
pushd /tmp/working
77
+ # enable crio
78
+ sed -i ' s/enabled=0/enabled=1/g' /etc/yum.repos.d/fedora-updates-testing-modular.repo
79
+ dnf module enable -y cri-o:${CRIO_VERSION}
80
+ yumdownloader --archlist=x86_64 --disablerepo=' *' --destdir=/tmp/rpms --enablerepo=updates-testing-modular cri-o cri-tools
81
+
77
82
for i in $( find /tmp/rpms/ -iname * .rpm) ; do
78
83
echo " Extracting $i ..."
79
84
rpm2cpio $i | cpio -div
You can’t perform that action at this time.
0 commit comments