-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1054 from rvykydal/run-rpm-ostree-container-rhel9…
…-also-on-fedora Run rpm ostree container rhel9 also on fedora
- Loading branch information
Showing
7 changed files
with
56 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ostreecontainer --no-signature-verification --transport=registry --url=quay.io/centos-bootc/fedora-bootc:eln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ostreecontainer --no-signature-verification --transport=registry --url=quay.io/centos-bootc/centos-bootc:stream9 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#test name: rpm-ostree-container-silverblue | ||
# https://github.com/rhinstaller/anaconda/pull/4617 | ||
|
||
# Test that ostreecontainer ks command works on Silverblue. | ||
# Tests only installation of the palyload. | ||
# Does not test that the installation is bootable. | ||
|
||
# Use the default settings. | ||
%ksappend common/common_no_payload.ks | ||
|
||
# Set up the RPM OSTree source. | ||
ostreecontainer --no-signature-verification --transport=registry --stateroot=fedora-silverblue --remote=fedora-silverblue --url=quay.io/fedora/fedora-silverblue:rawhide | ||
|
||
%post | ||
|
||
if ! ostree remote list | grep -q "fedora-silverblue"; then | ||
echo "Unexpected name fedora-silverblue in \"$(ostree remote list)\"" >> /root/RESULT | ||
fi | ||
|
||
# Check the url of the remote. | ||
url="$(ostree remote show-url fedora-silverblue)" | ||
|
||
if [ "${url}" != "quay.io/fedora/fedora-silverblue:rawhide" ]; then | ||
echo "Unexpected URL: ${url}" >> /root/RESULT | ||
fi | ||
|
||
if [ ! -e /root/RESULT ]; then | ||
echo SUCCESS > /root/RESULT | ||
fi | ||
|
||
# Write the result into logs. | ||
cat /root/RESULT | ||
%end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters