File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 chmod 600 /home/testuser/.ssh/authorized_keys
4949 "
5050
51- - name : Wait for SSH to be ready
52- run : |
53- for i in {1..30}; do
54- if ssh -o StrictHostKeyChecking=no -o ConnectTimeout=5 -i /tmp/test_key testuser@localhost "echo 'SSH ready'" 2>/dev/null; then
55- echo "SSH is ready"
56- break
57- fi
58- echo "Waiting for SSH... ($i/30)"
59- sleep 2
60- done
61-
6251 - name : Run deployment test
6352 run : |
64- cd infra
65- uv run python deploy.py settings/dev.yaml
53+ uv run python infra/deploy.py infra/configs/dev.yaml
6654
6755 - name : Start services and test /ping endpoints
6856 run : |
Original file line number Diff line number Diff line change 1+ connection :
2+ host : localhost
3+ user : testuser
4+ private_key_filename : /tmp/test_key
5+
6+ remote_base_path : /tmp/hyperleda_test
7+ configs_env : test
8+ ads_token : test_token
9+ postgres_password : test_password
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def get_spec(params: EnvParams) -> deployment.RemoteSpec:
5858 ),
5959 deployment .RemoteFile (
6060 "postgres/dockerfile" ,
61- "postgres/dockerfile"
61+ "postgres/dockerfile" ,
6262 ),
6363 deployment .RemoteDirectory (
6464 "infra/configs/nginx" ,
You can’t perform that action at this time.
0 commit comments