Skip to content

Commit

Permalink
validate service is up
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-dull committed Sep 30, 2024
1 parent 18dd2b0 commit 16777e6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
run: |
docker run -d --name ${{ env.INSTANCE_NAME }} ${{ env.DOCKER_IMAGE_NAME }}:${{ env.CODELINE }}
- name: Validate PyTerraBackTYL is up
run: |
[ $(curl -sS http://localhost:2442/state | jq -r .backend_module) == "pyshelve_backend.PyShelveBackend" ]
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3
with:
Expand All @@ -42,7 +46,7 @@ jobs:
cd .github/build_tests
terraform init
terraform plan
terraform apply
terraform apply --auto-approve
- name: Clean Up
# Hopefully this is being nice to GHA infra and not wasted CPU cycles
Expand Down

0 comments on commit 16777e6

Please sign in to comment.