This commit is contained in:
@@ -6,10 +6,6 @@ test-integration:
|
||||
test-integration-hosts:
|
||||
$(GIT_ROOT)/scripts/tests/extra_hosts
|
||||
|
||||
add_ssh_key:
|
||||
chmod 600 $(GIT_ROOT)/tests/resources/local_integration_ssh
|
||||
ssh-add $(GIT_ROOT)/tests/resources/local_integration_ssh
|
||||
|
||||
CLIENT_VM := abra-client
|
||||
vm-client-status:
|
||||
sudo systemctl status microvm@$(CLIENT_VM).service
|
||||
|
||||
@@ -33,7 +33,7 @@ git restore -- "$GIT_ROOT/tests/resources/path_to_repo"
|
||||
|
||||
read -rp "Press enter to run all tests or specify test files: " TEST_INTEGRATION_FILES
|
||||
# -t option is needed for stdin output that is checked in integration tests
|
||||
ssh -t abra@10.0.0.2 -i "$GIT_ROOT/tests/resources/local_integration_ssh" "cd abra; make -f ./nix/Makefile add_ssh_key; make test-integration TEST_INTEGRATION_FILES=$TEST_INTEGRATION_FILES"
|
||||
ssh -t abra@10.0.0.2 -i "$GIT_ROOT/tests/resources/local_integration_ssh" "cd abra; chmod 600 ./tests/resources/local_integration_ssh; ssh-add ./tests/resources/local_integration_ssh; make test-integration TEST_INTEGRATION_FILES=$TEST_INTEGRATION_FILES"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user