Skip to content

Commit

Permalink
[Internal] Change Docker to Podman when using dev
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneBerubeShopify committed Feb 2, 2023
1 parent b3aaacf commit 72b380c
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 72b380c

Please sign in to comment.