Skip to content

getshifter/shifter-artifact-helper

Repository files navigation

Shifter Artifact Helper

CircleCI

Artifact helper tool for Shifter –  Serverless WordPress Hosting

Integration test

Sandbox

  1. import wp data built with template theme-unit-test-data.xml.
  2. check /?urls

launch wp for test

$ docker pull getshifter/shifter_local:develop
$ make prepare
$ docker-compose build --no-cache
$ docker-compose up

open https://127.0.0.1:8443

run test for containers which is launched by docker-compose up.

$ cd integration_test
$ bundle install
$ bundle exec ruby ./entry.rb

update contents for wp

$ make prepare
$ docker-compose build --no-cache
$ docker-compose up

edit by wp-admin...

after edit.

$ docker-compose exec wp /scripts/db_export.sh

Success: Exported to '/mnt/dump/wp.sql'.