Skip to content

Commit

Permalink
test: add workaround for issue JIRA#RHEL-4992
Browse files Browse the repository at this point in the history
ostree-fdo-container.sh ostree-simplified-ionstaller.sh and
ostree-fdo-aio.sh will install latest fdo packages
  • Loading branch information
henrywang committed Sep 19, 2023
1 parent 4f28d28 commit 8d75dcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ostree-fdo-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ case "${ID}-${VERSION_ID}" in
OSTREE_REF="rhel/9/${ARCH}/edge"
OS_VARIANT="rhel9-unknown"
BOOT_ARGS="uefi"
sudo wget http://download-node-02.eng.bos.redhat.com/rhel-9/nightly/RHEL-9/RHEL-9.3.0-20230915.0/compose/AppStream/x86_64/os/Packages/fdo-{admin-cli,client,init,manufacturing-server,owner-cli,owner-onboarding-server,rendezvous-server}-0.4.12-4.el9_2.x86_64.rpm -P /var/www/html/packages
sudo createrepo_c /var/www/html/packages
sudo restorecon -Rv /var/www/html/packages
;;
"centos-9")
OSTREE_REF="centos/9/${ARCH}/edge"
Expand Down
5 changes: 5 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ sudo composer-cli status show
sudo mkdir -p /var/www/html/packages
sudo curl -s -o /var/www/html/packages/greenboot-failing-unit-1.0-1.el8.noarch.rpm https://kite-webhook-prod.s3.amazonaws.com/greenboot-failing-unit-1.0-1.el8.noarch.rpm

# workaround for bug https://issues.redhat.com/browse/RHEL-4992
if [[ "$VERSION_ID" == "9.3" ]]; then
sudo wget http://download-node-02.eng.bos.redhat.com/rhel-9/nightly/RHEL-9/RHEL-9.3.0-20230915.0/compose/AppStream/x86_64/os/Packages/fdo-{admin-cli,client,init,manufacturing-server,owner-cli,owner-onboarding-server,rendezvous-server}-0.4.12-4.el9_2.x86_64.rpm -P /var/www/html/packages
fi

# RHEL for Edge package CI test
if [ -e packages/package_ci_trigger ]; then
source packages/package_ci_trigger
Expand Down

0 comments on commit 8d75dcd

Please sign in to comment.