tests: enable koji.sh test on RHEL-9

This commit is contained in:
Jakub Rusz 2021-10-05 17:40:28 +02:00 committed by Alexander Todorov
parent 9e7e16c9cf
commit 1a7858c196
3 changed files with 5 additions and 11 deletions

View file

@ -261,21 +261,13 @@ Integration:
RUNNER: RUNNER:
- aws/rhel-8.4-ga-x86_64 - aws/rhel-8.4-ga-x86_64
- aws/rhel-8.5-nightly-x86_64 - aws/rhel-8.5-nightly-x86_64
- aws/rhel-9.0-beta-nightly-x86_64
INTERNAL_NETWORK: ["true"] INTERNAL_NETWORK: ["true"]
- SCRIPT: - SCRIPT:
- azure_hyperv_gen2.sh - azure_hyperv_gen2.sh
RUNNER: RUNNER:
- aws/rhel-8.5-nightly-x86_64 - aws/rhel-8.5-nightly-x86_64
INTERNAL_NETWORK: ["true"] INTERNAL_NETWORK: ["true"]
- SCRIPT:
- aws.sh
- azure.sh
- filesystem.sh
- vmware.sh
- cross-distro.sh
RUNNER:
- aws/rhel-9.0-beta-nightly-x86_64
INTERNAL_NETWORK: ["true"]
.API_TESTS: &API_TESTS .API_TESTS: &API_TESTS
TARGET: TARGET:

View file

@ -14,6 +14,9 @@ function greenprint {
# Provision the software under test. # Provision the software under test.
/usr/libexec/osbuild-composer-test/provision.sh /usr/libexec/osbuild-composer-test/provision.sh
# Make sure podman-plugins are installed
sudo dnf -y install podman-plugins
greenprint "Starting containers" greenprint "Starting containers"
sudo /usr/libexec/osbuild-composer-test/run-koji-container.sh start sudo /usr/libexec/osbuild-composer-test/run-koji-container.sh start

View file

@ -18,9 +18,8 @@ elif [[ $ID == rhel || $ID == centos ]] && [[ ${VERSION_ID%.*} == 9 ]]; then
curl -LO --insecure https://hdn.corp.redhat.com/rhel8-csb/RPMS/noarch/redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm curl -LO --insecure https://hdn.corp.redhat.com/rhel8-csb/RPMS/noarch/redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm
sudo dnf install -y ./redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm dnf-plugins-core sudo dnf install -y ./redhat-internal-cert-install-0.1-23.el7.csb.noarch.rpm dnf-plugins-core
sudo dnf copr enable -y copr.devel.redhat.com/osbuild-team/epel-el9 "rhel-9.dev-$ARCH" sudo dnf copr enable -y copr.devel.redhat.com/osbuild-team/epel-el9 "rhel-9.dev-$ARCH"
# koji is not available yet apparently
# jmespath required for json_query # jmespath required for json_query
sudo dnf install -y ansible-core python3-jmespath sudo dnf install -y ansible-core koji python3-jmespath
# json_query filter, used in our ansible playbooks, was moved to the # json_query filter, used in our ansible playbooks, was moved to the
# 'community.general' collection # 'community.general' collection