Skip to content

Conversation

Add a setup script that spawns a docker container before running test Easy for contributors now to test, no need for a local instance
ssh24 added 2 commits May 12, 2017 08:59
Currently, it sets the config if we set CI=true
Only seed the database if user specifies CI=true OR when the tests actually run on the CI
@ssh24 ssh24 force-pushed the add-docker-setup branch 2 times, most recently from 3473629 to 6c5d032 Compare May 12, 2017 14:12
@ssh24 ssh24 force-pushed the add-docker-setup branch from 6c5d032 to 61daf34 Compare May 12, 2017 14:14
2. Under Login Roles, add a user called ```strongloop```.

__Change configuration for database connection__
## Running tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there any reason we remove the info about how to run the tests locally without docker?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI=true pre seeds the database. We do not need to do any additional configuration.

@ssh24 ssh24 merged commit 2dd0427 into master May 12, 2017
@ssh24 ssh24 deleted the add-docker-setup branch May 12, 2017 20:28
kjdelisle pushed a commit that referenced this pull request May 15, 2017
 * Add docker setup (#256) (Sakib Hasan) * Allow explicit numeric datatype (#254) (Sakib Hasan) * Allow non-id serial properties (#198) (zbarbuto) * Revert PR #246 (#248) (Sakib Hasan) * Add loopback-connector as peer dependencies (#246) (Russ Tyndall) * Fix operations on ended transactions (zbarbuto) * dbdefaults: Cleanup InvalidDefault def after test (Kevin Delisle) * Reuse the data source to avoid too many clients (Raymond Feng)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants