Skip to content

Commit 5a5de0e

Browse files
committed
Updated deploy scripts for the new veracruz-server binaries
1 parent 01ac5cd commit 5a5de0e

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

deploy_linux_pnm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERACRUZ_PATH="${VERACRUZ_PATH:-$HOME/veracruz}"
77
# Binaries
88
POLICY_GENERATOR_PATH="${POLICY_GENERATOR_PATH:-$VERACRUZ_PATH/workspaces/host/target/$PROFILE/generate-policy}"
99
CLIENT_PATH="${CLIENT_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-client}"
10-
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-server}"
10+
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/$BACKEND-veracruz-server}"
1111
RUNTIME_MANAGER_PATH="${RUNTIME_MANAGER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-runtime/target/$PROFILE/$BACKEND-runtime-manager}"
1212
NATIVE_MODULE_SANDBOXER_PATH="${NATIVE_MODULE_SANDBOXER_PATH:-$VERACRUZ_PATH/native-module-sandboxer/build/native-module-sandboxer}"
1313

@@ -90,7 +90,7 @@ set -- "${ARGS[@]}"
9090

9191

9292
echo "=============Killing components"
93-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
93+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
9494
$PROXY_CLEANUP_SCRIPT_PATH || true
9595

9696

@@ -229,5 +229,5 @@ RUST_LOG=error $CLIENT_PATH $POLICY_PATH \
229229

230230

231231
echo "=============Killing components"
232-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
232+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
233233
$PROXY_CLEANUP_SCRIPT_PATH || true

deploy_linux_wasm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERACRUZ_PATH="${VERACRUZ_PATH:-$HOME/veracruz}"
77
# Binaries
88
POLICY_GENERATOR_PATH="${POLICY_GENERATOR_PATH:-$VERACRUZ_PATH/workspaces/host/target/$PROFILE/generate-policy}"
99
CLIENT_PATH="${CLIENT_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-client}"
10-
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-server}"
10+
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/$BACKEND-veracruz-server}"
1111
RUNTIME_MANAGER_PATH="${RUNTIME_MANAGER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-runtime/target/$PROFILE/$BACKEND-runtime-manager}"
1212

1313
# Attestation
@@ -89,7 +89,7 @@ set -- "${ARGS[@]}"
8989

9090

9191
echo "=============Killing components"
92-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
92+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
9393
$PROXY_CLEANUP_SCRIPT_PATH || true
9494

9595

@@ -222,5 +222,5 @@ RUST_LOG=error $CLIENT_PATH $POLICY_PATH \
222222

223223

224224
echo "=============Killing components"
225-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
225+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
226226
$PROXY_CLEANUP_SCRIPT_PATH || true

deploy_nitro_pnm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERACRUZ_PATH="${VERACRUZ_PATH:-$HOME/veracruz}"
77
# Binaries
88
POLICY_GENERATOR_PATH="${POLICY_GENERATOR_PATH:-$VERACRUZ_PATH/workspaces/host/target/$PROFILE/generate-policy}"
99
CLIENT_PATH="${CLIENT_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-client}"
10-
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-server}"
10+
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/$BACKEND-veracruz-server}"
1111
EIF_PATH="${EIF_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-runtime/runtime_manager.eif}"
1212
PCR0_PATH="${PCR0_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-runtime/PCR0}"
1313
NATIVE_MODULE_SANDBOXER_PATH="${NATIVE_MODULE_SANDBOXER_PATH:-$VERACRUZ_PATH/native-module-sandboxer/build/native-module-sandboxer}"
@@ -92,7 +92,7 @@ set -- "${ARGS[@]}"
9292

9393

9494
echo "=============Killing components"
95-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
95+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
9696
$PROXY_CLEANUP_SCRIPT_PATH || true
9797
nitro-cli terminate-enclave --all || exit
9898

@@ -232,6 +232,6 @@ RUST_LOG=error $CLIENT_PATH $POLICY_PATH \
232232

233233

234234
echo "=============Killing components"
235-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
235+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
236236
$PROXY_CLEANUP_SCRIPT_PATH || true
237237
nitro-cli terminate-enclave --all || exit

deploy_nitro_wasm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERACRUZ_PATH="${VERACRUZ_PATH:-$HOME/veracruz}"
77
# Binaries
88
POLICY_GENERATOR_PATH="${POLICY_GENERATOR_PATH:-$VERACRUZ_PATH/workspaces/host/target/$PROFILE/generate-policy}"
99
CLIENT_PATH="${CLIENT_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-client}"
10-
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/veracruz-server}"
10+
SERVER_PATH="${SERVER_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-host/target/$PROFILE/$BACKEND-veracruz-server}"
1111
EIF_PATH="${EIF_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-runtime/runtime_manager.eif}"
1212
PCR0_PATH="${PCR0_PATH:-$VERACRUZ_PATH/workspaces/$BACKEND-runtime/PCR0}"
1313

@@ -91,7 +91,7 @@ set -- "${ARGS[@]}"
9191

9292

9393
echo "=============Killing components"
94-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
94+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
9595
$PROXY_CLEANUP_SCRIPT_PATH || true
9696
nitro-cli terminate-enclave --all || exit
9797

@@ -231,6 +231,6 @@ RUST_LOG=error $CLIENT_PATH $POLICY_PATH \
231231

232232

233233
echo "=============Killing components"
234-
killall -9 proxy_attestation_server veracruz-server veracruz-client runtime_enclave_binary
234+
killall -9 proxy_attestation_server $BACKEND-veracruz-server veracruz-client runtime_enclave_binary
235235
$PROXY_CLEANUP_SCRIPT_PATH || true
236236
nitro-cli terminate-enclave --all || exit

0 commit comments

Comments
 (0)