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

Commit 057eeed

Browse files
committed
Merge remote-tracking branch 'ledgerhq/develop' into HEAD
2 parents 517c770 + d5fd297 commit 057eeed

26 files changed

Lines changed: 1141 additions & 1161 deletions

File tree

.github/workflows/bot-staging-explorer-btc.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: BOT
6666
env:
6767
SHOW_LEGACY_NEW_ACCOUNT: "1"
68-
DEBUG_HTTP_RESPONSE: "1"
6968
SEED: ${{ secrets.SEED2 }}
7069
BOT_REPORT_FOLDER: botreport
7170
VERBOSE_FILE: botreport/logs.txt

.github/workflows/bot-staging-explorer-eth.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
6565
- name: BOT
6666
env:
6767
SHOW_LEGACY_NEW_ACCOUNT: "1"
68-
DEBUG_HTTP_RESPONSE: "1"
6968
SEED: ${{ secrets.SEED2 }}
7069
BOT_REPORT_FOLDER: botreport
7170
VERBOSE_FILE: botreport/logs.txt
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: Bot 'XRP on Mère Denis'
2+
on:
3+
push:
4+
branches:
5+
- family/ripple
6+
7+
jobs:
8+
start-runner:
9+
name: "start ec2 instance (Linux)"
10+
if: ${{ always() }}
11+
uses: ledgerhq/actions/.github/workflows/start-linux-runner.yml@main
12+
secrets:
13+
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
14+
15+
stop-runner:
16+
name: "stop ec2 instance (Linux)"
17+
needs: [start-runner, run-bot]
18+
uses: ledgerhq/actions/.github/workflows/stop-linux-runner.yml@main
19+
if: ${{ always() }}
20+
with:
21+
label: ${{ needs.start-runner.outputs.label }}
22+
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}
23+
secrets:
24+
CI_BOT_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
25+
26+
run-bot:
27+
needs: [start-runner]
28+
runs-on: ${{ needs.start-runner.outputs.label }}
29+
steps:
30+
- name: prepare runner
31+
run: |
32+
sudo growpart /dev/nvme0n1 1
33+
sudo resize2fs /dev/nvme0n1p1
34+
- uses: actions/checkout@v2
35+
- name: Retrieving coin apps
36+
uses: actions/checkout@v2
37+
with:
38+
repository: LedgerHQ/coin-apps
39+
token: ${{ secrets.PAT }}
40+
path: coin-apps
41+
- uses: actions/setup-node@master
42+
with:
43+
node-version: 14.x
44+
- name: install yarn
45+
run: npm i -g yarn
46+
- name: pull docker image
47+
run: docker pull ghcr.io/ledgerhq/speculos
48+
- name: kill apt-get
49+
run: sudo killall -w apt-get apt || echo OK
50+
- name: Install linux deps
51+
run: sudo apt-get install -y libusb-1.0-0-dev jq
52+
- name: Install dependencies
53+
run: |
54+
yarn global add yalc
55+
yarn --frozen-lockfile
56+
yarn ci-setup-cli
57+
- name: BOT
58+
env:
59+
SEED: ${{ secrets.SEED1 }}
60+
VERBOSE_FILE: bot-tests.txt
61+
GITHUB_SHA: ${GITHUB_SHA}
62+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63+
GITHUB_RUN_ID: ${{ github.run_id }}
64+
GITHUB_WORKFLOW: ${{ github.workflow }}
65+
SLACK_API_TOKEN: ${{ secrets.SLACK_API_TOKEN }}
66+
SLACK_CHANNEL: ci-xrp-ll
67+
BOT_FILTER_FAMILY: ripple
68+
EXPERIMENTAL_CURRENCIES_JS_BRIDGE: ripple
69+
run: COINAPPS=$PWD/coin-apps yarn ci-test-bot
70+
timeout-minutes: 120
71+
- name: Run coverage
72+
if: failure() || success()
73+
run: CODECOV_TOKEN=${{ secrets.CODECOV_TOKEN }} npx codecov
74+
- name: upload logs
75+
if: failure() || success()
76+
uses: actions/upload-artifact@v1
77+
with:
78+
name: bot-tests.txt
79+
path: bot-tests.txt

cli/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,17 @@
2424
"@ledgerhq/hw-transport-node-ble": "5.7.0"
2525
},
2626
"optionalDependencies": {
27-
"@ledgerhq/hw-transport-node-ble": "^6.24.1"
27+
"@ledgerhq/hw-transport-node-ble": "^6.27.1"
2828
},
2929
"dependencies": {
30-
"@ledgerhq/cryptoassets": "6.24.1",
30+
"@ledgerhq/cryptoassets": "6.28.2",
3131
"@ledgerhq/errors": "6.10.0",
32-
"@ledgerhq/hw-app-btc": "6.24.1",
33-
"@ledgerhq/hw-transport-http": "6.24.1",
34-
"@ledgerhq/hw-transport-mocker": "6.24.1",
35-
"@ledgerhq/hw-transport-node-hid": "6.24.1",
36-
"@ledgerhq/hw-transport-node-speculos": "6.24.1",
37-
"@ledgerhq/live-common": "22.0.0",
32+
"@ledgerhq/hw-app-btc": "6.27.1",
33+
"@ledgerhq/hw-transport-http": "6.27.1",
34+
"@ledgerhq/hw-transport-mocker": "6.27.1",
35+
"@ledgerhq/hw-transport-node-hid": "6.27.1",
36+
"@ledgerhq/hw-transport-node-speculos": "6.27.1",
37+
"@ledgerhq/live-common": "22.0.3",
3838
"@ledgerhq/logs": "6.10.0",
3939
"@walletconnect/client": "^1.7.1",
4040
"asciichart": "^1.5.25",

0 commit comments

Comments
 (0)