fix: reproducable ssh-add
continuous-integration/drone/push Build is passing

This commit is contained in:
devydave
2026-10-30 00:10:09 +01:00
parent c77e0f1923
commit 0835c4ea22
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -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
+1 -1
View File
@@ -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"