Skip to content

Commit

Permalink
tests/container: Drop Ignition override
Browse files Browse the repository at this point in the history
These hardcoded package versions just ruin CI.  We're
unlikely to break this.

Eventually what we'll want to do is set up something like
a COPR that auto-regenerates "dummy" changes.
  • Loading branch information
cgwalters committed Oct 2, 2023
1 parent 313e008 commit eb8dd11
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions ci/test-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,30 +71,7 @@ if ! grep -qFe "not yet implemented" err.txt; then
assert_not_reached "unexpected error"
fi

# Test overrides
versionid=$(grep -E '^VERSION_ID=' /etc/os-release)
versionid=${versionid:11} # trim off VERSION_ID=
case $versionid in
38)
url_suffix=2.15.0/4.fc39/x86_64/ignition-2.15.0-4.fc39.x86_64.rpm
# 2.15.0-3
koji_url="https://koji.fedoraproject.org/koji/buildinfo?buildID=2158585"
koji_kernel_url="https://koji.fedoraproject.org/koji/buildinfo?buildID=2174317"
kver=6.2.8
krev=300
;;
*) fatal "Unsupported Fedora version: $versionid";;
esac
URL=https://kojipkgs.fedoraproject.org//packages/ignition/$url_suffix
# test replacement by URL
rpm-ostree override replace $URL
rpm-ostree override remove ignition
# test local RPM install
curl -Lo ignition.rpm $URL
rpm-ostree install ignition.rpm
rpm -q ignition

# And verify it's uninstalled
# Verify dnf wrapper
dnf -y uninstall kexec-tools
if rpm -q kexec-tools; then fatal "failed to remove kexec-tools"; fi

Expand Down

0 comments on commit eb8dd11

Please sign in to comment.