Skip to content

Commit

Permalink
More logs
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd committed Feb 21, 2025
1 parent 37a7c51 commit 5714cf2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/aws/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ exec &> >(tee -a "$LOG_FILE")
PARAMETERIZED_CONFIG="/app/conf/config-overrides.json"
OPERATOR_CONFIG="/tmp/final-config.json"


set -o pipefail
ulimit -n 65536

Expand All @@ -27,6 +26,8 @@ echo "Starting vsock proxy..."
#!/bin/bash

URL="https://example.com"
ping example.com
curl -v https://example.com

# Send request and check response
RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" "$URL")
Expand Down
2 changes: 1 addition & 1 deletion scripts/confidential_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def run_command(command, separate_process=False):
if separate_process:
subprocess.Popen(command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
else:
subprocess.run(command,check=True,text=True)
subprocess.run(command,check=True,text=True,capture_output=False)
except Exception as e:
logging.error(f"Failed to run command: {e}", exc_info=True)
raise RuntimeError (f"Failed to start {' '.join(command)} ")

0 comments on commit 5714cf2

Please sign in to comment.