1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00
metamask-extension/.circleci/scripts
Mark Stacey 20b2c5f004
Fix LavaMoat config check (#10514)
The CI script to ensure no LavaMoat policy changes are required has
been failing despite there being no changes. It turns out that the
command used to check for changes (`git diff-index`) was failing
despite the lack of changes because the file was written again by
`yarn lavamoat:auto` but git hadn't gotten around to updating its index
since the write occurred, so it was considering it as changed until it
verified it wasn't [1].

The command has been replaced by `git diff --exit-code --quiet`, which
should do exactly the same thing except that it forces git to update
its internal cache to verify whether changes are present.

[1]: https://stackoverflow.com/questions/34807971/why-does-git-diff-index-head-result-change-for-touched-files-after-git-diff-or-g
2021-02-25 11:13:47 -03:30
..
chrome-install.sh Update to Node v14 (#9514) 2021-02-03 13:45:38 +08:00
create-lavamoat-viz.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
deps-install.sh Add Lavamoat to build system (#9939) 2021-02-22 22:43:29 +08:00
firefox-install.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
firefox.cfg ci: Disable Firefox updates 2018-08-17 18:41:12 -02:30
release-bump-changelog-version.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
release-bump-manifest-version.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
release-create-gh-release.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
release-create-master-pr.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
release-create-release-pr.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
show-changelog.awk Add scripts to automate GitHub releases (#6653) 2019-07-17 22:51:47 -07:00
test-run-e2e.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30
validate-allow-scripts.sh Fix LavaMoat config check (#10514) 2021-02-25 11:13:47 -03:30
validate-lavamoat-policy.sh Fix LavaMoat config check (#10514) 2021-02-25 11:13:47 -03:30
yarn-audit.sh Use .sh file extension for all Bash scripts (#10499) 2021-02-23 12:56:41 -03:30