aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
Commit message (Collapse)AuthorAgeFilesLines
* Switch from `npm` to `yarn` (#6843)Mark Stacey2019-07-314-72/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a solution to the constant lockfile churn issues we've had with `npm`, the project now uses `yarn` to manage dependencies. The `package-lock.json` file has been replaced with `yarn.lock`, which was created using `yarn import`. It should approximate the contents of `package-lock.json` fairly well, though there may be some changes due to deduplication. The codeowners file has been updated to reference this new lockfile. All documentation and npm scripts have been updated to reference `yarn` rather than `npm`. Note that running scripts using `npm run` still works fine, but it seemed better to switch those to `yarn` as well to avoid confusion. The `npm-audit` Bash script has been replaced with `yarn-audit`. The output of `yarn audit` is a bit different than `npm audit` in that it returns a bitmask to describe which severity issues were found. This made it simpler to check the results directly from the Bash script, so the associated `npm-audit-check.js` script was no longer required. The output should be exactly the same, and the information is still sourced from the same place (the npm registry). The new `yarn-audit` script does have an external dependency: `jq`. However, `jq` is already assumed to be present by another CI script, and is present on all CI images we use. `jq` was not added to `package.json` as a dependency because there is no official package on the npm registry, just wrapper scripts. We don't need it anywhere exept on CI anyway. The section in `CONTRIBUTING` about how to develop inside the `node_modules` folder was removed, as the advice was a bit dated, and wasn't specific to this project anyway.
* Run `test-deps` in parallel with `prep-deps-npm` (#6909)Mark Stacey2019-07-261-3/+1
| | | | `test-deps` runs `npm audit`, which doesn't require the dependencies to be installed. `npm audit` just uses the lockfile.
* Fix `npm-audit` script (#6908)Mark Stacey2019-07-253-3/+9
| | | | | | | | | | | | | | | | | | | | | | | The npm audit script was auditing all dependencies, then filtering the results to just the advisories concerning production dependencies. This was done by checking the boolean `dev` and `optional` properties of each `findings` entry in each advisory. The `dev` and `optional` properties are now missing, which is resulting in dev advisories being mistakenly identified as affecting production. This check has been removed, and instead the `--production` flag is used when calling `npm audit`. This accomplishes the same goal without relying as much upon the audit output format. The `--production` flag was added in `npm` `v6.10.0`, so `npm` has been updated to the current latest stable (`v6.10.2`) for the `test-deps` job. It was also updated on the `prep-deps-npm` job to ensure consistency in behaviour. The other jobs only use `npm run` which hasn't changed substantially in some time, so compatibility isn't really a concern for those. `audit.json` has also been added to `.gitignore`. It was accidentally checked in once while working on this branch.
* Add scripts to automate GitHub releases (#6653)Whymarrh Whitby2019-07-186-1/+276
| | | | | | | | | | * ci: Rename full_test to test_and_release * ci: Add scripts to automate GH releases * Add .bak files to .gitignore * ci: Add reviewer to the auto version PR
* Remove Drizzle tests (#6855)Mark Stacey2019-07-161-18/+0
| | | | | | | The Drizzle tests have not been used for some time. They were used to ensure compatibility with newer versions of `web3` v1. If we want to re-add tests to ensure compatibility with newer `web3` versions, we should find some way of doing that more reliably than was done here - these tests were somewhat flaky and unreliable.
* Update version of Firefox used on CI (#6841)Mark Stacey2019-07-151-1/+1
|
* Remove job-screens CI job (#6823)Whymarrh Whitby2019-07-091-22/+0
| | | | | * Remove job-screens CI job * Remove unused dependencies, now that job-screens is gone
* Increase CircleCI `addons-linter` memory (#6802)Mark Stacey2019-07-041-1/+1
| | | | | | `addons-linter` will occasionally run out of heap space. This provides 3 GB of heap for that script rather than the default ~1.5 GB. The CircleCI containers have 4GB of memory, so this should leave plenty of extra space for non-heap memory.
* Merge pull request #6765 from MetaMask/masterDan Finlay2019-07-021-10/+10
|\ | | | | Using admin privilege to bypass code owner review because it has already [been reviewed](https://github.com/MetaMask/metamask-extension/pull/6763) and those code owners are out today.
| * Fix whitespaceDan Finlay2019-07-021-1/+1
| |
| * Re-enable sourcemaps publishingDan Finlay2019-07-021-15/+15
| |
| * Disable release script from CircleCIDan Finlay2019-07-021-13/+13
| | | | | | | | | | | | | | | | | | | | The MetaMask bot is currently failing to publish docs updates, and it is [blocking our ability to release new versions](https://github.com/MetaMask/metamask-extension/pull/6765). While we should pursue a proper fix, I think it's worth disabling in the meanwhile so this glitch doesn't interfere with our regular release cadence further.
* | Update to Node.js v10Mark Stacey2019-06-271-16/+16
| | | | | | | | | | | | The only package that needed to be updated was `sha3`. It has been updated to v1.2.3, which is a maintenance release that supports up to Node.js v12.
* | ci: Update to Node 8.16 Docker imagesWhymarrh Whitby2019-06-201-16/+16
|/
* ci: Enable npm audit checkWhymarrh Whitby2019-06-073-13/+49
|
* ci: Add build:test Gulp task for e2e buildWhymarrh Whitby2019-03-291-4/+4
|
* ci: Skip updating npm@6 as it is defaultWhymarrh Whitby2019-03-131-2/+2
|
* Update Node minor versionWhymarrh Whitby2019-03-131-15/+15
|
* ci: Use npm ci for fast(er) installsWhymarrh Whitby2019-03-121-8/+1
|
* circleci - disable npm dep cache (#6288)kumavis2019-03-121-7/+7
|
* mascara - remove from project (#6283)kumavis2019-03-121-27/+0
|
* ci: Use cache version from circle environment var (#6286)kumavis2019-03-121-2/+2
|
* Remove unused CI jobs, rename e2e beta jobsWhymarrh Whitby2019-02-211-10/+10
|
* Disable npm audit (#6188)Thomas Huang2019-02-211-13/+13
|
* Skip drizzle tests unit issue with ci is determined (#5982)Thomas Huang2019-01-171-18/+18
|
* circleci: Replace nsp with npm auditWhymarrh Whitby2018-12-071-1/+1
| | | | Refs #4751
* circleci: Disable npm audit when installing packagesWhymarrh Whitby2018-12-061-1/+1
| | | | | | Auditing packages when installing here doesn't help anyone as the summary isn't visible and vulnerabilities don't produce a non-zero exit code. We will have `npm audit` as an extra CI job.
* ci: Drop old UI e2e tests from CircleCIWhymarrh Whitby2018-11-211-41/+0
|
* Remove Mascara from CircleCI configWhymarrh Whitby2018-11-211-13/+0
|
* Disable mascara testsbitpshr2018-11-061-13/+13
|
* CI - job-publish-release - fix github commandkumavis2018-11-021-2/+2
| | | correctly set github username and email
* deploy - docs - publish via npm script (#5580)kumavis2018-10-231-1/+1
|
* tests - integration - Add Drizzle tests (#5467)Bruno Barbieri2018-10-101-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added drizzle app for testing * working * clean up * clean up script * make build step required * add drizzle-tests to .eslintignore * clean up drizzle run script * lint * use truffle unbox * undo eslintignore changes * revert change * dont use global * dont need this steps * use the new account flow * restore package-lock.json
* add mozilla lint jobbrunobar792018-09-261-0/+15
|
* Fix gh-pages jobBruno Barbieri2018-09-261-2/+2
|
* Update Firefox version for e2e testsWhymarrh Whitby2018-09-121-1/+1
|
* ci: Use workspaces instead of caches for passing data downstreamWhymarrh Whitby2018-08-181-89/+47
| | | | | | | | | | | | | CircleCI no longer allows external PR builds to save caches so jobs that depend on cached data from a upstream job will no longer get the files they need. This change replaces our usages of caches for passing data downstream with workspaces, which appear to be the more correct feature to use. References: - https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs - https://circleci.com/blog/deep-diving-into-circleci-workspaces/
* ci: Install any npm@6Whymarrh Whitby2018-08-181-1/+1
|
* ci: Use Firefox 61.0.2Whymarrh Whitby2018-08-181-1/+1
|
* ci: Disable Firefox updatesWhymarrh Whitby2018-08-182-1/+24
|
* ci: Don't cache Firefox installWhymarrh Whitby2018-08-184-61/+28
| | | | | | | | | Two important notes: 1. The time it takes to download is negligble compared to e2e test runs 2. Since we cannot use environment variables in CircleCI cache keys we can't cache the download correctly and have it update when we switch firefox versions—this isn't the end of the world because of point 1
* test npm i --no-savebrunobar792018-07-221-2/+1
|
* test npm cibrunobar792018-07-221-12/+2
|
* bump cache versionbrunobar792018-07-221-26/+26
|
* added node version requirementsbrunobar792018-07-221-26/+36
|
* Revert package-lock changesbitpshr2018-07-191-14/+14
|
* Version Circle cache keys for easy flushingbitpshr2018-07-191-13/+13
|
* Added missing stepBruno Barbieri2018-07-071-0/+2
|
* dont cache what's already cachedBruno Barbieri2018-07-071-1/+1
|
* Firefox tests fixBruno Barbieri2018-07-071-0/+2
|
* Update firefox versionBruno Barbieri2018-07-071-2/+2
|
* lets cache firefox 61Bruno Barbieri2018-07-071-1/+1
|
* Forgot this is linux bashBruno Barbieri2018-07-071-1/+1
|
* Update config.ymlBruno Barbieri2018-07-071-1/+1
|
* Update config.ymlBruno Barbieri2018-07-071-1/+1
|
* Update firefox-download.shBruno Barbieri2018-07-071-2/+3
|
* Fix indentationBruno Barbieri2018-07-071-1/+1
|
* Firefox cache working properlyBruno Barbieri2018-07-071-2/+2
|
* oopsBruno Barbieri2018-07-071-1/+1
|
* tmp commit to force firefox updateBruno Barbieri2018-07-071-13/+8
|
* Update firefox-download.shBruno Barbieri2018-07-071-4/+3
|
* Add firefox binary to cache pathBruno Barbieri2018-07-071-0/+1
|
* Allow firefox binary to be cachedBruno Barbieri2018-07-071-4/+11
|
* Update config.yml to allow firefox download cachingBruno Barbieri2018-07-071-6/+8
|
* Final approachBruno Barbieri2018-07-071-6/+2
|
* Fix indentation againBruno Barbieri2018-07-071-1/+1
|
* Fix indentationBruno Barbieri2018-07-071-1/+1
|
* Run npm install only when neededBruno Barbieri2018-07-071-1/+4
|
* simpler approachBruno Barbieri2018-07-071-9/+2
|
* Fallback to using the latest cache if no exact match is foundBruno Barbieri2018-07-071-1/+4
|
* Check for changes on package-lock.json and exit with errorBruno Barbieri2018-07-071-0/+5
|
* try npm install instead of npm ciBruno Barbieri2018-07-061-1/+1
|
* Update config.ymlBruno Barbieri2018-07-061-1/+1
|
* Fix indentationBruno Barbieri2018-07-061-4/+4
|
* Update config.ymlBruno Barbieri2018-07-061-2/+6
|
* Update config.ymlBruno Barbieri2018-07-061-3/+0
|
* Update config.ymlBruno Barbieri2018-07-061-1/+1
|
* use sudo to install npmBruno Barbieri2018-07-061-1/+1
|
* Another updateBruno Barbieri2018-07-061-23/+22
|
* use package-lock only for the initial restoreBruno Barbieri2018-07-061-17/+21
|
* Proper caching of node_modulesBruno Barbieri2018-07-061-22/+18
|
* npm 6 fresh lock + node 8 (#4675)Bruno Barbieri2018-07-031-20/+20
| | | | | | | * run npm install with npm 6 and node 8 * npm audit fix --force * bump node version on circleci docker img * bump lodash
* ci - breakout firefox helpers into scriptskumavis2018-06-023-23/+19
|
* ci - run e2e:beta testskumavis2018-06-021-4/+53
|
* Merge branch 'develop' into ci-publish-releasekumavis2018-05-221-1/+1
|\
| * CI - remove node security test as blocker for buildskumavis2018-05-221-2/+1
| |
* | ci - add docs publish to job-publish-releasekumavis2018-05-191-0/+9
| |
* | ci - add prep-docs jobkumavis2018-05-191-0/+18
| |
* | ci - add job-publish-releasekumavis2018-05-191-0/+21
| |
* | ci - rename job-publish to job-publish-prereleasekumavis2018-05-191-2/+2
| |
* | ci - clean - whitespace fixkumavis2018-05-191-4/+3
|/
* Merge branch 'develop' into e2e-testsThomas2018-05-041-0/+15
|\
| * Adds nsp check to CircleCI testsAlexander Tseung2018-05-031-0/+15
| |
* | Ci FirefoxThomas2018-05-031-5/+1
| |
* | FirefoxThomas2018-05-021-4/+42
|/
* ci - complete all tests before running extraskumavis2018-04-101-10/+11
|
* ci - job-publish - publish source+sourcemaps to sentry if new releasekumavis2018-04-041-0/+3
|
* ci - rename job-announce to job-publishkumavis2018-04-041-2/+2
|
* ci - announce - add sourcemaps to artifactskumavis2018-04-041-0/+3
|
* ci - load npm deps by revision to always get latest for buildkumavis2018-04-041-12/+16
|
* ci - breakout announce job to upload builds and screenshotskumavis2018-03-311-13/+35
|
* ci - build:announce - fix script pathkumavis2018-03-311-1/+1
|
* ci - build:announce - fix shell script pathkumavis2018-03-311-1/+1
|
* ci - build:announce - break out into shell scriptkumavis2018-03-311-32/+1
|
* ci - build:announce - rewrite github comment to include walkthrough gifkumavis2018-03-311-9/+23
|
* Merge branch 'master' of github.com:MetaMask/metamask-extension into ci-screenskumavis2018-03-311-0/+26
|\
| * Merge branch 'master' of github.com:MetaMask/metamask-extension into ↵kumavis2018-03-301-0/+3
| |\ | | | | | | | | | ci-artifacts
| * | ci - build:announce - fix links to extension buildskumavis2018-03-291-4/+5
| | |
| * | ci - build:announce - fix linkkumavis2018-03-291-5/+5
| | |
| * | ci - build:announce - link all buildskumavis2018-03-291-2/+9
| | |
| * | ci - artifacts - upload extension builds, dont upload extension sourcekumavis2018-03-291-1/+4
| | |
| * | ci - upload whole dist + fix announce mascara urlkumavis2018-03-291-3/+3
| | |
| * | ci - artifacts - simplify result pathkumavis2018-03-291-0/+1
| | |
| * | ci - announce QA build to GitHub pull requestkumavis2018-03-291-0/+12
| | |
| * | ci - upload mascara build as artifactkumavis2018-03-291-2/+1
| | |
| * | ci - publish dist as artifactkumavis2018-03-291-0/+3
| | |
* | | ci - run screenshotterkumavis2018-03-301-0/+21
| |/ |/|
* | ci - upload e2e test artifactskumavis2018-03-301-0/+3
|/
* ci - end by flowing all required tests into a single jobkumavis2018-03-281-2/+2
|
* ci - end by flowing all required tests into a single jobkumavis2018-03-281-7/+8
|
* ci - end by flowing all required tests into a single jobkumavis2018-03-281-0/+16
|
* ci - run e2e tests after build stepkumavis2018-03-281-18/+21
|
* Revert "Revert "Ci - introduce a build job""kumavis2018-03-281-0/+17
|
* ci - run e2e jobskumavis2018-03-281-0/+17
|
* ci - wrap env var in quoteskumavis2018-03-111-4/+4
|
* ci - split integration tests into parallel firefox and chrome runskumavis2018-03-111-4/+54
|
* ci - adjust scss cache keykumavis2018-03-101-3/+3
|
* ci - cache firefox against Revisionkumavis2018-03-101-3/+3
|
* ci - cache firefox install under build numberkumavis2018-03-101-3/+3
|
* ci - split download and install firefox stepskumavis2018-03-101-14/+32
|
* ci - install firefox58 and cachekumavis2018-03-101-1/+17
|
* ci - prep-deps - install latest firefoxkumavis2018-03-101-2/+4
|
* ci - optimize - dont update npmkumavis2018-03-101-4/+1
|
* ci - integration tests need to generate scss cache keykumavis2018-03-101-1/+9
|
* ci - fix typokumavis2018-03-101-1/+2
|
* test - breakout npm script for building for integration testskumavis2018-03-101-2/+2
|
* ci - fix config formattingkumavis2018-03-101-2/+2
|
* ci - add prep-scss to flowkumavis2018-03-101-0/+3
|
* ci - parallize flat + mascara integration testskumavis2018-03-101-8/+49
|
* ci - breakup npm test into parallel processeskumavis2018-03-101-6/+33
|
* ci - restore node_modules before testkumavis2018-03-101-2/+4
|
* ci - test on all brancheskumavis2018-03-101-17/+0
|
* ci - update circle configkumavis2018-03-101-13/+15
|
* ci - introduce circle ci 2.0kumavis2018-03-101-0/+52