This repository has been archived by the owner on Jul 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'ledgerhq/develop' into HEAD
- Loading branch information
Showing
8 changed files
with
158 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Bot 'Polkadot on Silicium' | ||
on: | ||
push: | ||
branches: | ||
- family/polkadot | ||
|
||
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-dot-ll | ||
BOT_FILTER_FAMILY: polkadot | ||
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5944,11 +5944,6 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" | ||
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= | ||
|
||
ini@^1.3.5: | ||
version "1.3.8" | ||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" | ||
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== | ||
|
||
internal-slot@^1.0.3: | ||
version "1.0.3" | ||
resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz" | ||
|
@@ -7420,7 +7415,7 @@ multihashes@^0.4.15, multihashes@~0.4.15: | |
multibase "^0.7.0" | ||
varint "^5.0.0" | ||
|
||
nan@^2.13.2, nan@^2.14.0, nan@^2.2.1: | ||
nan@^2.13.2, nan@^2.2.1: | ||
version "2.15.0" | ||
resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee" | ||
integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ== | ||
|
@@ -7475,7 +7470,7 @@ [email protected]: | |
dependencies: | ||
whatwg-url "^5.0.0" | ||
|
||
node-gyp-build@^4.1.0, node-gyp-build@^4.2.0, node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: | ||
node-gyp-build@^4.2.0, node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: | ||
version "4.3.0" | ||
resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz" | ||
integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q== | ||
|
@@ -8719,14 +8714,12 @@ [email protected]: | |
map-obj "^4.1.0" | ||
to-snake-case "^1.0.0" | ||
|
||
sodium-native@^2.3.0: | ||
version "2.4.9" | ||
resolved "https://registry.yarnpkg.com/sodium-native/-/sodium-native-2.4.9.tgz#7a7beb997efdbd2c773a385fb959f0cead5f5162" | ||
integrity sha512-mbkiyA2clyfwAyOFIzMvsV6ny2KrKEIhFVASJxWfsmgfUEymgLIS2MLHHcGIQMkrcKhPErRaMR5Dzv0EEn+BWg== | ||
sodium-native@^3.3.0: | ||
version "3.3.0" | ||
resolved "https://registry.yarnpkg.com/sodium-native/-/sodium-native-3.3.0.tgz#50ee52ac843315866cce3d0c08ab03eb78f22361" | ||
integrity sha512-rg6lCDM/qa3p07YGqaVD+ciAbUqm6SoO4xmlcfkbU5r1zIGrguXztLiEtaLYTV5U6k8KSIUFmnU3yQUSKmf6DA== | ||
dependencies: | ||
ini "^1.3.5" | ||
nan "^2.14.0" | ||
node-gyp-build "^4.1.0" | ||
node-gyp-build "^4.3.0" | ||
|
||
source-map-support@^0.5.17, source-map-support@^0.5.6: | ||
version "0.5.21" | ||
|
@@ -8793,25 +8786,25 @@ stack-utils@^2.0.3: | |
resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz" | ||
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow= | ||
|
||
stellar-base@^7.0.0: | ||
version "7.0.0" | ||
resolved "https://registry.npmjs.org/stellar-base/-/stellar-base-7.0.0.tgz" | ||
integrity sha512-Sfk/u/6HT+8xSQ4HvTI3XgthTS3fhv/ie6Jx4OzLvg81pt09bDDN5YvRbG6v3gZdiRA0pwg2RRz5YS3ph5ePEg== | ||
stellar-base@^8.0.0: | ||
version "8.0.0" | ||
resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-8.0.0.tgz#619e5fb7951fa8abb26322e51e611169a5d1cf62" | ||
integrity sha512-MH0V94Hn/Ekq/yZxd+EQijkvfU+21zuqJAyEP8X+fhRR0IQYwGNByY003oLqIkgwqXotyofEQ76W5MoNFZmlpw== | ||
dependencies: | ||
base32.js "^0.1.0" | ||
bignumber.js "^4.0.0" | ||
crc "^3.5.0" | ||
js-xdr "^1.1.3" | ||
lodash "^4.17.21" | ||
sha.js "^2.3.6" | ||
tweetnacl "^1.0.0" | ||
tweetnacl "^1.0.3" | ||
optionalDependencies: | ||
sodium-native "^2.3.0" | ||
sodium-native "^3.3.0" | ||
|
||
stellar-sdk@^10.0.1: | ||
version "10.0.1" | ||
resolved "https://registry.npmjs.org/stellar-sdk/-/stellar-sdk-10.0.1.tgz" | ||
integrity sha512-NWvDAldw4GVFqWo1wGoR9lCyJ6xIcO2ab4YX8BQYp1Z45/Rogv3Kj3RERsso/9m+MR+d2OfTmAhIy0vruRGv/Q== | ||
stellar-sdk@^10.1.0: | ||
version "10.1.0" | ||
resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-10.1.0.tgz#91cf9ed3c84c9a9d4c8aaa6cca29bd997b7c778a" | ||
integrity sha512-8PTKuyrQ5bIbsyrLav+JE/c+rrLynBygiB4dpvG30ou7K8P6a5ainmGyVMbCzlz1OkKWoaAW5rJAkl3RhlTZkA== | ||
dependencies: | ||
"@types/eventsource" "^1.1.2" | ||
"@types/node" ">= 8" | ||
|
@@ -8824,7 +8817,7 @@ stellar-sdk@^10.0.1: | |
eventsource "^1.0.7" | ||
lodash "^4.17.21" | ||
randombytes "^2.1.0" | ||
stellar-base "^7.0.0" | ||
stellar-base "^8.0.0" | ||
toml "^2.3.0" | ||
tslib "^1.10.0" | ||
urijs "^1.19.1" | ||
|
5dff783
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ 2 txs ($3.20) for Bot 'Hedera'
Details of the 2 mutations
Spec Hedera (3)
Portfolio ($3.20)
Details of the 1 currencies