tests/cases: Rename upgrade test
And schedule on rhel-10
This commit is contained in:
parent
15c8e83b94
commit
758982907a
6 changed files with 10 additions and 7 deletions
|
|
@ -740,9 +740,12 @@ Upgrade:
|
|||
- !reference [.nightly_rules_all, rules]
|
||||
script:
|
||||
- schutzbot/deploy.sh
|
||||
- /usr/libexec/tests/osbuild-composer/upgrade8to9.sh
|
||||
variables:
|
||||
RUNNER: rhos-01/rhel-9.5-nightly-x86_64-large
|
||||
- /usr/libexec/tests/osbuild-composer/rhel-upgrade.sh
|
||||
parallel:
|
||||
matrix:
|
||||
- RUNNER:
|
||||
- rhos-01/rhel-9.5-nightly-x86_64-large
|
||||
- rhos-01/rhel-10.0-nightly-x86_64-large
|
||||
|
||||
NIGHTLY_FAIL:
|
||||
stage: finish
|
||||
|
|
|
|||
|
|
@ -285,8 +285,8 @@ install -m 0644 -vp test/data/x509/* %{buildroot}%
|
|||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/schemas
|
||||
install -m 0644 -vp pkg/jobqueue/dbjobqueue/schemas/* %{buildroot}%{_datadir}/tests/osbuild-composer/schemas/
|
||||
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/upgrade8to9
|
||||
install -m 0644 -vp test/data/upgrade8to9/* %{buildroot}%{_datadir}/tests/osbuild-composer/upgrade8to9/
|
||||
install -m 0755 -vd %{buildroot}%{_datadir}/tests/osbuild-composer/rhel-upgrade
|
||||
install -m 0644 -vp test/data/rhel-upgrade/* %{buildroot}%{_datadir}/tests/osbuild-composer/rhel-upgrade/
|
||||
|
||||
%endif
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ sudo virsh list --all > /dev/null
|
|||
|
||||
# define custom network for libvirt
|
||||
if ! sudo virsh net-info integration > /dev/null 2>&1; then
|
||||
sudo virsh net-define /usr/share/tests/osbuild-composer/upgrade8to9/integration.xml
|
||||
sudo virsh net-define /usr/share/tests/osbuild-composer/rhel-upgrade/integration.xml
|
||||
sudo virsh net-start integration
|
||||
fi
|
||||
|
||||
|
|
@ -133,7 +133,7 @@ wait_for_vm
|
|||
sudo pkill -P "$CONSOLE_PID"
|
||||
|
||||
# copy over next phases of the test and run the first one
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" /usr/share/tests/osbuild-composer/upgrade8to9/*.sh root@"$INSTANCE_ADDRESS":
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" /usr/share/tests/osbuild-composer/rhel-upgrade/*.sh root@"$INSTANCE_ADDRESS":
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" /usr/libexec/tests/osbuild-composer/shared_lib.sh root@"$INSTANCE_ADDRESS":
|
||||
sudo scp "${SSH_OPTIONS[@]}" -q -i "${SSH_KEY}" /usr/libexec/osbuild-composer-test/define-compose-url.sh root@"$INSTANCE_ADDRESS":
|
||||
# Put comment in sshd_config to keep root login after upgrade
|
||||
Loading…
Add table
Add a link
Reference in a new issue