Skip to content

Commit

Permalink
Merge pull request #339 from Shopify/etienne-internal-fix-docker-to-p…
Browse files Browse the repository at this point in the history
…odman

Change Docker to Podman when using dev (only for internal use)
  • Loading branch information
EtienneBerubeShopify authored Feb 6, 2023
2 parents b3aaacf + 72b380c commit 3dc7ace
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,16 @@ up:
- bundler
- go:
version: "1.16"
- custom:
name: Docker for Mac
met?: test -e /Applications/Docker.app && which docker-compose
meet: |
echo "Docker.app not found." ;
echo "Download Docker Desktop from https://docs.docker.com/docker-for-mac/install.\nInstallation includes necessary dependencies (ie. docker-compose)";
open "https://docs.docker.com/docker-for-mac/install" ;
- podman
- custom:
name: Go Dependencies
met?: go mod download
meet: echo 'go mod failed to download dependencies'; false
- custom:
name: MySQL
met?: docker-compose -f docker-compose_8.0.yml up -d mysql-1 mysql-2
met?: podman-compose -f docker-compose_8.0.yml up -d mysql-1 mysql-2
meet: echo 'mysql failed to start'; false
down: docker-compose -f docker-compose_8.0.yml stop mysql-1 mysql-2
down: podman-compose -f docker-compose_8.0.yml stop mysql-1 mysql-2

commands:
test:
Expand Down

0 comments on commit 3dc7ace

Please sign in to comment.