Skip to content

Commit

Permalink
substep
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Feb 18, 2024
1 parent c71111a commit ca296aa
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .drevops/tests/bats/_helper.workflow.bash
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,18 @@ assert_ahoy_build() {

# export DREVOPS_DOCKER_VERBOSE="1"

ahoy reset
ahoy up --build --force-recreate
ahoy composer install --prefer-dist
docker compose exec cli mkdir -p .data
docker compose cp -L .data/db.sql cli:/app/.data/db.sql
ahoy provision
sync_to_host
substep "Reset"
run ahoy reset
substep "Build stack"
run ahoy up --build --force-recreate
substep "Install dev dependencies"
run ahoy composer install --prefer-dist
substep "Copy database file to the container"
run docker compose exec cli mkdir -p .data
run docker compose cp -L .data/db.sql cli:/app/.data/db.sql
substep "Provision"
run ahoy provision
run sync_to_host

# Assert that lock files were created.
assert_file_exists "composer.lock"
Expand Down

0 comments on commit ca296aa

Please sign in to comment.