Cleanup script and address change

This commit is contained in:
jpellizzari
2016-11-02 15:27:03 -07:00
parent 71fdc9c58b
commit ed20f1f43c
2 changed files with 3 additions and 3 deletions

View File

@@ -86,10 +86,10 @@
"clean": "rm build/app.js",
"noprobe": "../scope stop && ../scope launch --no-probe --app.window 8760h",
"loadreport": "npm run noprobe && sleep 1 && curl -X POST -H \"Content-Type: application/json\" http://$BACKEND_HOST/api/report -d",
"perf:setup" : "docker-compose -f test/perfjankie/docker-compose.yml up -d",
"perf:setup" : "docker-compose -f test/perfjankie/docker-compose.yml up -d && sleep 10",
"perf:run" : "make ../ && . test/run-jankie.sh",
"perf:cleanup" : "docker-compose -f test/perfjankie/docker-compose.yml down",
"perf" : "npm run perf:setup && npm run perf:run"
"perf" : "npm run perf:setup && npm run perf:run && npm run perf:cleanup"
},
"jest": {
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",

View File

@@ -17,7 +17,7 @@ perfjankie({
/* Identifies where the data and the dashboard are saved */
couch: {
server: 'http://local.docker:5984',
server: 'http://localhost:5984',
database: 'performance',
updateSite: !process.env.CI, // If true, updates the couchApp that shows the dashboard. Set to false in when running Continuous integration, run this the first time using command line.
// onlyUpdateSite: false // No data to upload, just update the site. Recommended to do from dev box as couchDB instance may require special access to create views.