mirror of
https://github.com/ceph/ceph
synced 2024-12-24 20:33:27 +00:00
2b014e159f
We have a few Python rbd-wnbd tests that are invoked explicitly by the ceph-build scripts [1]. There are a few issues with that: * it's a separate repo that has to be updated whenever we add new tests * new tests that reside in the ceph repo will not be executed by the PR check * some tests may be missing in case of older branches For this reason, we're adding a new script as part of the Ceph repo that will take care of invoking the Windows rbd-wnbd tests. The ceph-build script has already been updated accordingly [2]. [1] https://github.com/ceph/ceph-build/blob/main/scripts/ceph-windows/run_tests#L73-L80 [2] https://github.com/ceph/ceph-build/pull/2094 Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com> Co-Authored-By: Ionut Balutoiu <ibalutoiu@cloudbasesolutions.com>
12 lines
305 B
Bash
12 lines
305 B
Bash
#!/usr/bin/env bash
|
|
set -ex
|
|
|
|
DIR="$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)"
|
|
|
|
source ${DIR}/libvirt_vm/build_utils.sh
|
|
source ${DIR}/libvirt_vm/connection_info.sh
|
|
|
|
# Run the Windows tests
|
|
scp_upload ${DIR} /windows-workunits
|
|
SSH_TIMEOUT=30m ssh_exec powershell.exe -File /windows-workunits/run-tests.ps1
|