-
Notifications
You must be signed in to change notification settings - Fork 21
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
Docker/setup #227
Docker/setup #227
Conversation
docker.setup.js
Outdated
// we don't pass any node flags, so we can call _mocha instead the wrapper | ||
const mochaBin = require.resolve('mocha/bin/_mocha'); | ||
|
||
process.env.CLOUDANT_DATABASE = 'test-db'; |
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 we change this to testdb
? Most of our default db names are testdb
😄
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.
@agnes512 sure whatever name makes more sense to lb-next tests~
docker.setup.js
Outdated
const fs = require('fs-extra'); | ||
|
||
// we don't pass any node flags, so we can call _mocha instead the wrapper | ||
const mochaBin = require.resolve('mocha/bin/_mocha'); |
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.
@agnes512 I will remove this broken line :p
e7312cc
to
a91ff11
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.
👍 🚢
0faa2c9
to
a3a7e25
Compare
a3a7e25
to
141fdc1
Compare
* chore: update copyright year (Agnes Lin) * replace couchdb3 docker img with a stable version (Agnes Lin) * docs: add partition document (#232) (Janny) * fixup!: fix the dependency version (#233) (Janny) * feat: query with partition field (#230) (Janny) * chore: improve issue and PR templates (Nora) * feat: add partitioned find (#229) (Janny) * add docker setup script (#227) (Janny) * feat: partitioned index (#225) (Janny) * fix CODEOWNERS file (Diana Lau) * update docker image (#224) (Janny)
Description
Status: code works but need cleanup.
Setup a couchdb 3 docker image for travis testing (without running tests in this repo).
My test app runs ping tests successfully on travis and get the exported env configs, see jannyHou/test-couchdb-travis#1
This script is created to unblock loopbackio/loopback-next#3437
Related issues
Checklist
guide