From eb367460b2871080accafee5d7560cb89d0b1464 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Fri, 26 Apr 2024 08:55:52 +0800 Subject: [PATCH] test: update test to use update compose to align with rhel-bootc image Signed-off-by: Xiaofeng Wang --- tests/integration/files/rhel-9.template | 4 ++-- tests/integration/install-upgrade.sh | 4 ++-- tests/integration/mockbuild.sh | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/integration/files/rhel-9.template b/tests/integration/files/rhel-9.template index f82c22d76..6b735b92b 100644 --- a/tests/integration/files/rhel-9.template +++ b/tests/integration/files/rhel-9.template @@ -1,10 +1,10 @@ [rhel-9x-baseos] -baseurl=http://REPLACE_ME/rhel-9/nightly/RHEL-9/REPLACE_COMPOSE_ID/compose/BaseOS/$basearch/os/ +baseurl=http://REPLACE_ME/rhel-9/composes/RHEL-9/REPLACE_COMPOSE_ID/compose/BaseOS/$basearch/os/ enabled=1 gpgcheck=0 [rhel-9x-appstream] -baseurl=http://REPLACE_ME/rhel-9/nightly/RHEL-9/REPLACE_COMPOSE_ID/compose/AppStream/$basearch/os/ +baseurl=http://REPLACE_ME/rhel-9/composes/RHEL-9/REPLACE_COMPOSE_ID/compose/AppStream/$basearch/os/ enabled=1 gpgcheck=0 diff --git a/tests/integration/install-upgrade.sh b/tests/integration/install-upgrade.sh index 7ada4656d..02a0e87fb 100755 --- a/tests/integration/install-upgrade.sh +++ b/tests/integration/install-upgrade.sh @@ -52,12 +52,12 @@ case "$TEST_OS" in yum_repos: rhel-9x-baseos: name: rhel-9x-baseos - baseurl: http://${DOWNLOAD_NODE}/rhel-9/nightly/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/BaseOS/${ARCH}/os/ + baseurl: http://${DOWNLOAD_NODE}/rhel-9/composes/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/BaseOS/${ARCH}/os/ enabled: true gpgcheck: false rhel-9x-appstream: name: rhel-9x-appstream - baseurl: http://${DOWNLOAD_NODE}/rhel-9/nightly/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/AppStream/${ARCH}/os/ + baseurl: http://${DOWNLOAD_NODE}/rhel-9/composes/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/AppStream/${ARCH}/os/ enabled: true gpgcheck: false EOF diff --git a/tests/integration/mockbuild.sh b/tests/integration/mockbuild.sh index 48e85f47f..8435b51ef 100755 --- a/tests/integration/mockbuild.sh +++ b/tests/integration/mockbuild.sh @@ -34,19 +34,19 @@ case "$TEST_OS" in tee -a /etc/mock/templates/"$TEMPLATE" > /dev/null << EOF [BaseOS] name=Red Hat Enterprise Linux - BaseOS -baseurl=http://${DOWNLOAD_NODE}/rhel-9/nightly/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/BaseOS/\$basearch/os/ +baseurl=http://${DOWNLOAD_NODE}/rhel-9/composes/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/BaseOS/\$basearch/os/ enabled=1 gpgcheck=0 [AppStream] name=Red Hat Enterprise Linux - AppStream -baseurl=http://${DOWNLOAD_NODE}/rhel-9/nightly/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/AppStream/\$basearch/os/ +baseurl=http://${DOWNLOAD_NODE}/rhel-9/composes/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/AppStream/\$basearch/os/ enabled=1 gpgcheck=0 [CRB] name = Red Hat Enterprise Linux - CRB -baseurl = http://${DOWNLOAD_NODE}/rhel-9/nightly/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/CRB/\$basearch/os/ +baseurl = http://${DOWNLOAD_NODE}/rhel-9/composes/RHEL-9/${CURRENT_COMPOSE_RHEL94}/compose/CRB/\$basearch/os/ enabled = 1 gpgcheck = 0 """