File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,12 @@ jobs:
117117 working-directory : terraform
118118 run : terraform apply tfplan
119119
120- - name : Get db public IP
120+ - name : Get Terraform outputs
121121 id : db
122122 working-directory : terraform
123- run : echo "public_ip=$(terraform output -raw db_host)" >> $GITHUB_OUTPUT
123+ run : |
124+ echo "public_ip=$(terraform output -raw db_host)" >> $GITHUB_OUTPUT
125+ echo "api_url=$(terraform output -raw cloud_run_service_url)" >> $GITHUB_OUTPUT
124126
125127 - name : Check if tickets table exists
126128 id : check_table
@@ -158,3 +160,11 @@ jobs:
158160 - name : Skipped table creation (existent tickets table)
159161 if : steps.check_table.outputs.table_exist == 't'
160162 run : echo ""
163+
164+ run-integration-tests :
165+ needs : deploy
166+ uses : ./.github/workflows/integration-tests.yml
167+ with :
168+ deployment_env : ${{ inputs.deployment_env }}
169+ db_host : ${{ steps.db.outputs.public_ip }}
170+ api_url : ${{ steps.db.outputs.api_url }}
You can’t perform that action at this time.
0 commit comments