Skip to content

Commit

Permalink
Remove --debug from screenshot job and add parallelism back to intern…
Browse files Browse the repository at this point in the history
…al CI (cruise-automation#366)

Remove the debug output from this job - it might speed back up the
build.
  • Loading branch information
davidswinegar authored Mar 17, 2020
1 parent 2cab3c8 commit 71c2434
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,14 @@
"docs-deploy": "cp -r docs/public __temp_deploy__ && cp --remove-destination packages/webviz-core/public/index.html __temp_deploy__/app/index.html && echo 'webviz.io' > __temp_deploy__/CNAME && gh-pages -d __temp_deploy__ && rm -rf __temp_deploy__",
"publish": "lerna run clean && lerna run build && lerna publish",
"screenshot": "NODE_ENV=development storybook-chrome-screenshot -c stories --parallel 8 --inject-files stories/injected.js --browser-timeout 1200000",
"screenshot-ci": "npm run screenshot -- --parallel 1 --debug --puppeteer-launch-config '{\"executablePath\": \"/usr/bin/google-chrome\", \"headless\": false, \"args\":[\"--use-gl=swiftshader\", \"--no-sandbox\",\"--disable-setuid-sandbox\", \"--disable-dev-shm-usage\", \"--headless\", \"--mute-audio\", \"--user-agent=PuppeteerTestingChrome/80.\"]}'",
"screenshot-ci-base": "npm run screenshot -- --puppeteer-launch-config '{\"executablePath\": \"/usr/bin/google-chrome\", \"headless\": false, \"args\":[\"--use-gl=swiftshader\", \"--no-sandbox\",\"--disable-setuid-sandbox\", \"--disable-dev-shm-usage\", \"--headless\", \"--mute-audio\", \"--user-agent=PuppeteerTestingChrome/80.\"]}'",
"screenshot-ci": "npm run screenshot-ci-base -- --parallel 1",
"screenshot-proprietary-ci": "npm run screenshot-ci-base -- --parallel 2",
"screenshot-local": "npm run screenshot -- --puppeteer-launch-config '{\"headless\": false, \"--args\":[\"--user-agent=PuppeteerTestingChrome/80.\"]}'",
"screenshot-local-debug": "npm run screenshot-local -- --parallel 1 --debug",
"ci-commands-for-cruise-proprietary-repo": "npm run install-ci && NODE_ENV=production npm run build && npm run lint && npm run flow && npm test && NODE_ENV=production npm run screenshot-ci",
"ci": "npm run ci-commands-for-cruise-proprietary-repo && reg-suit run --verbose"
"ci-commands-base": "npm run install-ci && NODE_ENV=production npm run build && npm run lint && npm run flow && npm test",
"ci-commands-for-cruise-open-source-repo": "npm run ci-commands-base && NODE_ENV=production npm run screenshot-ci",
"ci-commands-for-cruise-proprietary-repo": "npm run ci-commands-base && NODE_ENV=production npm run screenshot-proprietary-ci",
"ci": "npm run ci-commands-for-cruise-open-source-repo && reg-suit run --verbose"
}
}

0 comments on commit 71c2434

Please sign in to comment.