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

Commit

Permalink
Merge pull request #1954 from LedgerHQ/release/22.1.x
Browse files Browse the repository at this point in the history
Release/22.1.x
  • Loading branch information
lambertkevin authored May 12, 2022
2 parents 800ee7e + 8ea115c commit ca66535
Show file tree
Hide file tree
Showing 18 changed files with 705 additions and 899 deletions.
79 changes: 79 additions & 0 deletions .github/workflows/bot-xrp-mere-denis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Bot 'XRP on Mère Denis'
on:
push:
branches:
- family/ripple

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.SEED1 }}
VERBOSE_FILE: bot-tests.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-xrp-ll
BOT_FILTER_FAMILY: ripple
EXPERIMENTAL_CURRENCIES_JS_BRIDGE: ripple
run: 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: bot-tests.txt
path: bot-tests.txt
16 changes: 8 additions & 8 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@
"@ledgerhq/hw-transport-node-ble": "5.7.0"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-ble": "^6.24.1"
"@ledgerhq/hw-transport-node-ble": "^6.27.1"
},
"dependencies": {
"@ledgerhq/cryptoassets": "6.24.1",
"@ledgerhq/cryptoassets": "6.28.2",
"@ledgerhq/errors": "6.10.0",
"@ledgerhq/hw-app-btc": "6.24.1",
"@ledgerhq/hw-transport-http": "6.24.1",
"@ledgerhq/hw-transport-mocker": "6.24.1",
"@ledgerhq/hw-transport-node-hid": "6.24.1",
"@ledgerhq/hw-transport-node-speculos": "6.24.1",
"@ledgerhq/live-common": "22.0.0",
"@ledgerhq/hw-app-btc": "6.27.1",
"@ledgerhq/hw-transport-http": "6.27.1",
"@ledgerhq/hw-transport-mocker": "6.27.1",
"@ledgerhq/hw-transport-node-hid": "6.27.1",
"@ledgerhq/hw-transport-node-speculos": "6.27.1",
"@ledgerhq/live-common": "22.0.3",
"@ledgerhq/logs": "6.10.0",
"@walletconnect/client": "^1.7.1",
"asciichart": "^1.5.25",
Expand Down
Loading

0 comments on commit ca66535

Please sign in to comment.