mt8 / shifter-artifact-helper

Artifact helper tool for Shifter

Home Page:https://www.getshifter.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'.

About

Artifact helper tool for Shifter

https://www.getshifter.io


Languages

Language:PHP 82.8%Language:CSS 14.6%Language:JavaScript 1.6%Language:HTML 0.6%Language:Ruby 0.4%Language:Dockerfile 0.0%Language:Makefile 0.0%Language:Shell 0.0%