-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Drew Robinson <[email protected]>
- Loading branch information
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
ahoyapi: v2 | ||
commands: | ||
vup: | ||
cmd: "vagrant up" | ||
usage: Start the vagrant box if one exists. | ||
|
||
vdown: | ||
cmd: "vagrant down" | ||
usage: Stop the vagrant box if one exists. | ||
|
||
ps: | ||
cmd: docker compose ps "$@" | ||
usage: List the running Docker Compose containers. | ||
|
||
start: | ||
cmd: docker compose start "$@" | ||
usage: Start the Docker Compose containers. | ||
|
||
stop: | ||
cmd: docker compose stop "$@" | ||
usage: Stop the Docker Compose containers. | ||
|
||
restart: | ||
cmd: docker compose restart "$@" | ||
usage: Restart the Docker Compose containers. | ||
|
||
drush: | ||
cmd: docker compose run cli drush --root=docroot "$@" | ||
usage: Run drush commands in the cli service container. | ||
|
||
bash: | ||
cmd: docker compose run "$1" bash | ||
usage: Start a shell in the container (like ssh without actual ssh). | ||
|
||
sqlc: | ||
cmd: "docker compose run cli drush --root=docroot sqlc" | ||
usage: Connect to the default mysql database. Supports piping of data into the command. | ||
|
||
behat: | ||
cmd: docker compose run cli bash -c "cd docroot/test && composer install --prefer-source --no-interaction && bin/behat -p docker $@" | ||
usage: Run the behat tests within the container. | ||
|
||
behat-init: | ||
cmd: 'docker compose run cli bash -c "cd docroot/test && composer install --prefer-source --no-interaction"' | ||
usage: Use composer to install behat dependencies. | ||
|
||
#This command overrides the up command in the docker.ahoy.yml to test the "last in wins" feature of ahoy | ||
up: | ||
cmd: "docker compose up -d" | ||
usage: Start the Docker Compose containers. |