Multi-arch support for container test (#83196)

pull/83203/head
Matt Clay 7 months ago committed by GitHub
parent 3461f1d757
commit 6aa8192131
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -11,6 +11,7 @@ import functools
import json
import os
import pathlib
import platform
import pwd
import re
import secrets
@ -977,9 +978,11 @@ class DnfBootstrapper(Bootstrapper):
# In Fedora 39, the current version of containerd, 1.6.23, prevents Docker from working.
# The previously tested version, 1.6.19, did not have this issue.
# See: https://bugzilla.redhat.com/show_bug.cgi?id=2237396
arch = platform.machine()
run_command(
'dnf', 'install', '-y',
'https://kojipkgs.fedoraproject.org/packages/containerd/1.6.19/2.fc39/x86_64/containerd-1.6.19-2.fc39.x86_64.rpm'
f'https://kojipkgs.fedoraproject.org/packages/containerd/1.6.19/2.fc39/{arch}/containerd-1.6.19-2.fc39.{arch}.rpm'
)
if os_release.id == 'rhel':

Loading…
Cancel
Save