Skip to content

Commit

Permalink
add SHA suffix to cloudsql instance
Browse files Browse the repository at this point in the history
  • Loading branch information
hsachdevah committed Mar 5, 2024
1 parent cdff57e commit 8ba32a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ steps:
-var=ray_service_account=ray-sa-$SHORT_SHA \
-var=rag_service_account=rag-sa-$SHORT_SHA \
-var=jupyter_service_account=jupyter-sa-$SHORT_SHA \
-var=cloudsql_instance=pgvector-instance-$SHORT_SHA \
-auto-approve -no-color -lock=false
echo "pass" > /workspace/rag_tf_result.txt
Expand Down Expand Up @@ -241,7 +242,6 @@ steps:
cd /workspace/applications/rag/tests
python3 test_frontend.py "127.0.0.1:8081"
echo "pass" > /workspace/rag_frontend_result.txt
waitFor: ['cleanup jupyterhub']
allowFailure: true

- id: 'cleanup rag'
Expand Down Expand Up @@ -283,6 +283,7 @@ steps:
-var=ray_service_account=ray-sa-$SHORT_SHA \
-var=rag_service_account=rag-sa-$SHORT_SHA \
-var=jupyter_service_account=jupyter-sa-$SHORT_SHA \
-var=cloudsql_instance=pgvector-instance-$SHORT_SHA \
-auto-approve -no-color
allowFailure: true
Expand Down

0 comments on commit 8ba32a7

Please sign in to comment.