mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
15 lines
369 B
Bash
Executable File
15 lines
369 B
Bash
Executable File
#!/bin/bash -e
|
|
# Patch/PR testing wrapper that sets the corresponding TARGET
|
|
#
|
|
|
|
if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then
|
|
TARGET="$0"
|
|
TARGET="${TARGET#./}"
|
|
TARGET="${TARGET%.*}"
|
|
TARGET="${TARGET#*.}"
|
|
echo "TARGET=$TARGET"
|
|
export TARGET
|
|
cp automation/check-patch.yumrepos hack/build/docker/builder/fedora.repo
|
|
exec automation/test.sh
|
|
fi
|