-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration tests! #13
Conversation
This allows us to specify a base (docker-compose.yml), common configuration for devel (docker-compose.override.yml), and production specific configuration (docker-compose.prod.yml). When developing, you can continue to use `docker-compose ...` commands without passing any special options. This is nice because: - We don't need to spin up some services in devel (like backups) - It will make it possible to reuse the common configuration for integration tests, which will specify their own overrides to avoid clashing with any devel volumes.
1bd18fd
to
6899615
Compare
- Define integration test config override, which basically renames all the volumes to avoid clashing with any existing volumes. - Add test setup, which starts all the services and installs mediawiki using the CLI installer. - Add an example test, which loads the Main Page. More to come. - Add integration tests to the Travis CI config.
6899615
to
f23b2ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a few lines of instructions in the README about how to use the different docker files for the production and debugging purposes. Possibly including links to relevant documentation.
Also, at the moment you are testing if mediawiki
is firing up properly, which is great! After the PR is merged please add issues that other more comprehensive tests needs to be added.
- Add info about docker-compose multiple config files - Add more instructions for running locally This is not yet in a state where it's easy to run locally. Future patches will reduce the complexity, but this is the best we can do for now.
Created #14 to track adding more integration tests. Hopefully the readme is a bit more informative now. |
Config to set Slack avatar for bot
This brings us closer to being able to deploy master automatically with confidence.