Skip to content

Commit a223695

Browse files
replace scp with ssh
1 parent b4e191b commit a223695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tool/ovh/download-result.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
gcloud compute scp --project=$PROJECT --zone=$ZONE $USER@$MACHINE_NAME:'~/typedb-benchmark/results.log' result-$MACHINE_NAME.log
1+
openstack server ssh $MACHINE_NAME -4 --address-type Ext-Net -- -i $OS_PRIVATE_KEY -l ubuntu -o StrictHostKeychecking=no "cat ~/typedb-benchmark/results.log" > result-$MACHINE_NAME.log
22
# resolve typedb folder using glob '*', as there's exactly one typedb folder
33
if [[ $DB =~ typedb ]]; then
4-
gcloud compute scp --project=$PROJECT --zone=$ZONE $USER@$MACHINE_NAME:"~/typedb-benchmark/typedb-all-linux-x86_64-*/log" result-$MACHINE_NAME-server.log
4+
openstack server ssh $MACHINE_NAME -4 --address-type Ext-Net -- -i $OS_PRIVATE_KEY -l ubuntu -o StrictHostKeychecking=no "cat ~/typedb-benchmark/typedb-all-linux-x86_64-*/log" > result-$MACHINE_NAME-server.log
55
fi
66

0 commit comments

Comments
 (0)