Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/release/v22.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
lambertkevin committed Apr 7, 2022
2 parents 77dfa66 + 0ed12b7 commit 1e72d95
Show file tree
Hide file tree
Showing 238 changed files with 26,890 additions and 27,605 deletions.
3 changes: 0 additions & 3 deletions .circleci.disabled/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,3 @@ jobs:
paths:
- ~/.cache/yarn
- run: yarn ci-lint
- run:
command: yarn ci-test-cli
no_output_timeout: 1h
2 changes: 0 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
src/data/icons
src/data/flags

src/libcore/types/*.js
src/families/*/types.js
src/libcore/platforms/*.js
src/generated
src/load/tokens/
mobile-test-app/
5 changes: 2 additions & 3 deletions .github/workflows/bot-cosmos-mooncake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Bot 'Cosmos JS'
on:
push:
branches:
- cosmos-js
- family/cosmos

jobs:
start-runner:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
GITHUB_RUN_ID: ${{ github.run_id }}
GITHUB_WORKFLOW: ${{ github.workflow }}
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
SLACK_CHANNEL: live-ft-atom-js
SLACK_CHANNEL: ci-atom-ll
BOT_FILTER_FAMILY: cosmos
EXPERIMENTAL_CURRENCIES_JS_BRIDGE: cosmos
run: mkdir botreport; COINAPPS=$PWD/coin-apps yarn ci-test-bot
Expand All @@ -80,4 +80,3 @@ jobs:
with:
name: botreport
path: botreport/

79 changes: 79 additions & 0 deletions .github/workflows/bot-solana-silicium.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Bot 'Solana on Silicium'
on:
push:
branches:
- family/solana

jobs:
start-runner:
name: "start ec2 instance (Linux)"
if: ${{ always() }}
uses: ledgerhq/actions/.github/workflows/start-linux-runner.yml@main
secrets:
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

stop-runner:
name: "stop ec2 instance (Linux)"
needs: [start-runner, run-bot]
uses: ledgerhq/actions/.github/workflows/stop-linux-runner.yml@main
if: ${{ always() }}
with:
label: ${{ needs.start-runner.outputs.label }}
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
secrets:
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}

run-bot:
needs: [start-runner]
runs-on: ${{ needs.start-runner.outputs.label }}
steps:
- name: prepare runner
run: |
sudo growpart /dev/nvme0n1 1
sudo resize2fs /dev/nvme0n1p1
- uses: actions/checkout@v2
- name: Retrieving coin apps
uses: actions/checkout@v2
with:
repository: LedgerHQ/coin-apps
token: ${{ secrets.PAT }}
path: coin-apps
- uses: actions/setup-node@master
with:
node-version: 14.x
- name: install yarn
run: npm i -g yarn
- name: pull docker image
run: docker pull ghcr.io/ledgerhq/speculos
- name: kill apt-get
run: sudo killall -w apt-get apt || echo OK
- name: Install linux deps
run: sudo apt-get install -y libusb-1.0-0-dev jq
- name: Install dependencies
run: |
yarn global add yalc
yarn --frozen-lockfile
yarn ci-setup-cli
- name: BOT
env:
SEED: ${{ secrets.SEED3 }}
BOT_REPORT_FOLDER: botreport
VERBOSE_FILE: botreport/logs.txt
GITHUB_SHA: ${GITHUB_SHA}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_RUN_ID: ${{ github.run_id }}
GITHUB_WORKFLOW: ${{ github.workflow }}
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
SLACK_CHANNEL: ci-sol-ll
BOT_FILTER_FAMILY: solana
run: mkdir botreport; COINAPPS=$PWD/coin-apps yarn ci-test-bot
timeout-minutes: 120
- name: Run coverage
if: failure() || success()
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} npx codecov
- name: upload logs
if: failure() || success()
uses: actions/upload-artifact@v1
with:
name: botreport
path: botreport/
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ jobs:
yarn global add yalc
yarn --frozen-lockfile --network-timeout 100000
yarn ci-setup-cli
- name: Run CLI tests
run: yarn ci-test-cli
timeout-minutes: 60
cli:
strategy:
Expand All @@ -163,6 +160,3 @@ jobs:
yarn global add yalc
yarn --frozen-lockfile --network-timeout 100000
yarn ci-setup-cli
- name: Run CLI tests
run: yarn ci-test-cli
timeout-minutes: 60
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.
libcoredb/

dbdata
tmp

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,16 @@ The stack is pretty standard for a ES6 and FlowType library. The notable depende
- [Countervalues logic](./docs/countervalues.md)
- Coin integration specifics
- [Introduction](./docs/ci-intro.md)
- Bridge implementations, where to start? (JS, Libcore, Mock)
- Bridge implementations, where to start? (JS, Mock)
- Implementing the hardware wallet logic of a new coin
- [The account derivation (BIP44 and exceptions)](./docs/derivation.md)
- Advanced
- [api/socket `createDeviceSocket` and script runner](./docs/socket.md)
- env.js: live-common configuration system
- Serialization and reconciliation
- libcore typing and wrapping
- cross.js and "LiveQR" protocol
- cache.js helpers
- Tokens management and ERC20
- [Developing with lib-ledger-core bindings](./docs/adding-libcore-bindings.md)

### Developing with Ledger Live Common

Expand Down
Loading

1 comment on commit 1e72d95

@vercel
Copy link

@vercel vercel bot commented on 1e72d95 Apr 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.