mirror of
https://github.com/dynup/kpatch
synced 2025-02-20 03:36:52 +00:00
Add support for specific commits in vagrant
Relay KPATCH_GIT and KPATCH_REV into vagrant so it can checkout specified repo/commit. Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
parent
f9e4399309
commit
3280e8e0e9
@ -273,7 +273,7 @@ kpatch_integration_tests_vagrant_distro()
|
||||
|
||||
vagrant up || { vagrant destroy -f; exit 1; }
|
||||
|
||||
local test_cmd="bash /vagrant/runtest.sh"
|
||||
local test_cmd="KPATCH_GIT=${KPATCH_GIT} KPATCH_REV=${KPATCH_REV} bash /vagrant/runtest.sh"
|
||||
if [ "${slowtest}" == "1" ]; then
|
||||
test_cmd="${test_cmd} --slow"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user