Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
tannguyen04 committed May 20, 2024
1 parent 0d9ce19 commit db09c3d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions seed-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,16 @@ pass "Copied expanded database files to host"

stop_container "${cid}"

info "Stage test test : Build image"
docker build -t drevops/mariadb-drupal-data:latest .
docker build -t foo-db/mariadb-drupal:latest -f Dockerfile.seed .
start_container 'foo-db/mariadb-drupal:latest'
cid="$(get_started_container_id 'foo-db/mariadb-drupal:latest')"
assert_db_was_imported "${cid}"
stop_container "${cid}"
docker image rm drevops/mariadb-drupal-data:latest


info "Stage 2: Build image"

task "Build image ${DST_IMAGE} for ${DESTINATION_PLATFORMS} platform(s)."
Expand Down

0 comments on commit db09c3d

Please sign in to comment.