mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
This reverts commit b704a3d60f
.
This commit is contained in:
parent
e65b955b19
commit
85bc0460e3
@ -24,24 +24,6 @@ rc_branch_only: &rc_branch_only
|
|||||||
only:
|
only:
|
||||||
- /^Version-v(\d+)[.](\d+)[.](\d+)/
|
- /^Version-v(\d+)[.](\d+)[.](\d+)/
|
||||||
|
|
||||||
aliases:
|
|
||||||
# Shallow Git Clone
|
|
||||||
- &shallow-git-clone
|
|
||||||
name: Shallow Git Clone
|
|
||||||
command: |
|
|
||||||
#!/bin/bash
|
|
||||||
set -e
|
|
||||||
set -u
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
# Set up SSH access
|
|
||||||
# This SSH key is the current github.com SSH key as of April 2023, but it will need to be changed whenever github changes their key (probably every few years)
|
|
||||||
GITHUB_SSH_KEY="AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
echo github.com ssh-ed25519 $GITHUB_SSH_KEY >> ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
git clone --depth 1 "$CIRCLE_REPOSITORY_URL" --branch "$CIRCLE_BRANCH" .
|
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
test_and_release:
|
test_and_release:
|
||||||
jobs:
|
jobs:
|
||||||
@ -252,7 +234,7 @@ jobs:
|
|||||||
trigger-beta-build:
|
trigger-beta-build:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- when:
|
- when:
|
||||||
@ -281,7 +263,7 @@ jobs:
|
|||||||
create_release_pull_request:
|
create_release_pull_request:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -300,7 +282,7 @@ jobs:
|
|||||||
prep-deps:
|
prep-deps:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
# First try to get the specific cache for the checksum of the yarn.lock file.
|
# First try to get the specific cache for the checksum of the yarn.lock file.
|
||||||
@ -350,7 +332,7 @@ jobs:
|
|||||||
validate-lavamoat-config:
|
validate-lavamoat-config:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -365,7 +347,7 @@ jobs:
|
|||||||
prep-build:
|
prep-build:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- when:
|
- when:
|
||||||
@ -399,7 +381,7 @@ jobs:
|
|||||||
prep-build-desktop:
|
prep-build-desktop:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -423,7 +405,7 @@ jobs:
|
|||||||
prep-build-flask:
|
prep-build-flask:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- when:
|
- when:
|
||||||
@ -463,7 +445,7 @@ jobs:
|
|||||||
prep-build-test-flask:
|
prep-build-test-flask:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -484,7 +466,7 @@ jobs:
|
|||||||
prep-build-test-mv3:
|
prep-build-test-mv3:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -505,7 +487,7 @@ jobs:
|
|||||||
prep-build-test:
|
prep-build-test:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -526,7 +508,7 @@ jobs:
|
|||||||
prep-build-storybook:
|
prep-build-storybook:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -540,7 +522,7 @@ jobs:
|
|||||||
prep-build-ts-migration-dashboard:
|
prep-build-ts-migration-dashboard:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -554,7 +536,7 @@ jobs:
|
|||||||
test-yarn-dedupe:
|
test-yarn-dedupe:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -564,7 +546,7 @@ jobs:
|
|||||||
test-lint:
|
test-lint:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -577,7 +559,7 @@ jobs:
|
|||||||
test-storybook:
|
test-storybook:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -599,7 +581,7 @@ jobs:
|
|||||||
test-lint-lockfile:
|
test-lint-lockfile:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -609,7 +591,7 @@ jobs:
|
|||||||
test-lint-changelog:
|
test-lint-changelog:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- when:
|
- when:
|
||||||
@ -635,7 +617,7 @@ jobs:
|
|||||||
test-deps-audit:
|
test-deps-audit:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -645,7 +627,7 @@ jobs:
|
|||||||
test-deps-depcheck:
|
test-deps-depcheck:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -656,7 +638,7 @@ jobs:
|
|||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Re-Install Chrome
|
name: Re-Install Chrome
|
||||||
command: ./.circleci/scripts/chrome-install.sh
|
command: ./.circleci/scripts/chrome-install.sh
|
||||||
@ -693,7 +675,7 @@ jobs:
|
|||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Re-Install Chrome
|
name: Re-Install Chrome
|
||||||
command: ./.circleci/scripts/chrome-install.sh
|
command: ./.circleci/scripts/chrome-install.sh
|
||||||
@ -721,7 +703,7 @@ jobs:
|
|||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
parallelism: 4
|
parallelism: 4
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Install Firefox
|
name: Install Firefox
|
||||||
command: ./.circleci/scripts/firefox-install.sh
|
command: ./.circleci/scripts/firefox-install.sh
|
||||||
@ -758,7 +740,7 @@ jobs:
|
|||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
parallelism: 4
|
parallelism: 4
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Re-Install Chrome
|
name: Re-Install Chrome
|
||||||
command: ./.circleci/scripts/chrome-install.sh
|
command: ./.circleci/scripts/chrome-install.sh
|
||||||
@ -795,7 +777,7 @@ jobs:
|
|||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
parallelism: 8
|
parallelism: 8
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Install Firefox
|
name: Install Firefox
|
||||||
command: ./.circleci/scripts/firefox-install.sh
|
command: ./.circleci/scripts/firefox-install.sh
|
||||||
@ -831,7 +813,7 @@ jobs:
|
|||||||
benchmark:
|
benchmark:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Re-Install Chrome
|
name: Re-Install Chrome
|
||||||
command: ./.circleci/scripts/chrome-install.sh
|
command: ./.circleci/scripts/chrome-install.sh
|
||||||
@ -857,7 +839,7 @@ jobs:
|
|||||||
user-actions-benchmark:
|
user-actions-benchmark:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Re-Install Chrome
|
name: Re-Install Chrome
|
||||||
command: ./.circleci/scripts/chrome-install.sh
|
command: ./.circleci/scripts/chrome-install.sh
|
||||||
@ -883,7 +865,7 @@ jobs:
|
|||||||
stats-module-load-init:
|
stats-module-load-init:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Re-Install Chrome
|
name: Re-Install Chrome
|
||||||
command: ./.circleci/scripts/chrome-install.sh
|
command: ./.circleci/scripts/chrome-install.sh
|
||||||
@ -980,7 +962,7 @@ jobs:
|
|||||||
job-publish-release:
|
job-publish-release:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1000,7 +982,7 @@ jobs:
|
|||||||
- add_ssh_keys:
|
- add_ssh_keys:
|
||||||
fingerprints:
|
fingerprints:
|
||||||
- '3d:49:29:f4:b2:e8:ea:af:d1:32:eb:2a:fc:15:85:d8'
|
- '3d:49:29:f4:b2:e8:ea:af:d1:32:eb:2a:fc:15:85:d8'
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1015,7 +997,7 @@ jobs:
|
|||||||
- add_ssh_keys:
|
- add_ssh_keys:
|
||||||
fingerprints:
|
fingerprints:
|
||||||
- '8b:21:e3:20:7c:c9:db:82:74:2d:86:d6:11:a7:2f:49'
|
- '8b:21:e3:20:7c:c9:db:82:74:2d:86:d6:11:a7:2f:49'
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1029,7 +1011,7 @@ jobs:
|
|||||||
test-unit-mocha:
|
test-unit-mocha:
|
||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1044,7 +1026,7 @@ jobs:
|
|||||||
test-unit-jest-development:
|
test-unit-jest-development:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1061,7 +1043,7 @@ jobs:
|
|||||||
executor: node-browsers-medium-plus
|
executor: node-browsers-medium-plus
|
||||||
parallelism: 12
|
parallelism: 12
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1077,7 +1059,7 @@ jobs:
|
|||||||
upload-and-validate-coverage:
|
upload-and-validate-coverage:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- codecov/upload
|
- codecov/upload
|
||||||
@ -1092,7 +1074,7 @@ jobs:
|
|||||||
test-unit-global:
|
test-unit-global:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1102,7 +1084,7 @@ jobs:
|
|||||||
validate-source-maps:
|
validate-source-maps:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1112,7 +1094,7 @@ jobs:
|
|||||||
validate-source-maps-beta:
|
validate-source-maps-beta:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1123,7 +1105,7 @@ jobs:
|
|||||||
validate-source-maps-desktop:
|
validate-source-maps-desktop:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1139,7 +1121,7 @@ jobs:
|
|||||||
validate-source-maps-flask:
|
validate-source-maps-flask:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1155,7 +1137,7 @@ jobs:
|
|||||||
test-mozilla-lint:
|
test-mozilla-lint:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1165,7 +1147,7 @@ jobs:
|
|||||||
test-mozilla-lint-beta:
|
test-mozilla-lint-beta:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1176,7 +1158,7 @@ jobs:
|
|||||||
test-mozilla-lint-desktop:
|
test-mozilla-lint-desktop:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
@ -1192,7 +1174,7 @@ jobs:
|
|||||||
test-mozilla-lint-flask:
|
test-mozilla-lint-flask:
|
||||||
executor: node-browsers
|
executor: node-browsers
|
||||||
steps:
|
steps:
|
||||||
- run: *shallow-git-clone
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: .
|
at: .
|
||||||
- run:
|
- run:
|
||||||
|
Loading…
Reference in New Issue
Block a user