Skip to content

Commit

Permalink
cloudbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Mar 1, 2024
1 parent 2993a40 commit 654799c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ steps:
- name: gcr.io/cloud-builders/docker
entrypoint: docker-compose
args:
- up
- 'up'
- '--exit-code-from=pytest'
- '--abort-on-container-exit'
env:
- 'COMMIT_SHA=$COMMIT_SHA'
options:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
ports:
- "6379:6379"

app:
pytest:
image: "us-central1-docker.pkg.dev/dara-c1b52/cloudbuild-pytest/gooey-server:$COMMIT_SHA"
depends_on:
- redis
Expand Down

0 comments on commit 654799c

Please sign in to comment.