Skip to content

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
live-github-bot[bot] committed Nov 29, 2024
2 parents 1349589 + 3152b8f commit 931d91c
Show file tree
Hide file tree
Showing 550 changed files with 7,162 additions and 20,243 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release-create-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,23 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-toolchain@develop
- name: install dependencies
run: pnpm i -F "ledger-live"
- name: Move minor updates to patch for hotfix branch
# For more info about why we do this, see this doc:
# https://ledgerhq.atlassian.net/wiki/spaces/WALLETCO/pages/4710989838/LL+Incident+Recovery+-+Hotfix+in+all+cases
if: ${{ startsWith(github.ref_name, 'hotfix') }}
uses: LedgerHQ/ledger-live/tools/actions/composites/adjust-changeset-level@develop
with:
from_level: minor
to_level: patch
- name: Move major updates to patch for hotfix branch
# For more info about why we do this, see this doc:
# https://ledgerhq.atlassian.net/wiki/spaces/WALLETCO/pages/4710989838/LL+Incident+Recovery+-+Hotfix+in+all+cases
if: ${{ startsWith(github.ref_name, 'hotfix') }}
uses: LedgerHQ/ledger-live/tools/actions/composites/adjust-changeset-level@develop
with:
from_level: major
to_level: patch

- name: enter prerelease mode
run: pnpm changeset pre enter hotfix
- name: commit
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ jobs:
run: |
git add .
git commit -m 'update sortByMarketcap snapshot' || echo "No changes in snapshot of sortByMarketcap.test.ts"
- name: Move patch updates to minor
# For more info about why we do this, see this doc:
# https://ledgerhq.atlassian.net/wiki/spaces/WALLETCO/pages/4710989838/LL+Incident+Recovery+-+Hotfix+in+all+cases
uses: LedgerHQ/ledger-live/tools/actions/composites/adjust-changeset-level@develop
with:
from_level: patch
to_level: minor
- name: enter prerelease mode
run: pnpm changeset pre enter next
- name: commit
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/release-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,30 @@ jobs:
id: post-mobile-version
with:
path: ${{ github.workspace }}/apps/ledger-live-mobile
- name: Move patch updates to minor for release branch
# For more info about why we do this, see this doc:
# https://ledgerhq.atlassian.net/wiki/spaces/WALLETCO/pages/4710989838/LL+Incident+Recovery+-+Hotfix+in+all+cases
if: ${{ startsWith(github.ref_name, 'release') }}
uses: LedgerHQ/ledger-live/tools/actions/composites/adjust-changeset-level@develop
with:
from_level: patch
to_level: minor
- name: Move minor updates to patch for hotfix branch
# For more info about why we do this, see this doc:
# https://ledgerhq.atlassian.net/wiki/spaces/WALLETCO/pages/4710989838/LL+Incident+Recovery+-+Hotfix+in+all+cases
if: ${{ startsWith(github.ref_name, 'hotfix') }}
uses: LedgerHQ/ledger-live/tools/actions/composites/adjust-changeset-level@develop
with:
from_level: minor
to_level: patch
- name: Move major updates to patch for hotfix branch
# For more info about why we do this, see this doc:
# https://ledgerhq.atlassian.net/wiki/spaces/WALLETCO/pages/4710989838/LL+Incident+Recovery+-+Hotfix+in+all+cases
if: ${{ startsWith(github.ref_name, 'hotfix') }}
uses: LedgerHQ/ledger-live/tools/actions/composites/adjust-changeset-level@develop
with:
from_level: major
to_level: patch
- name: commit (from release branch)
if: ${{ startsWith(github.ref_name, 'release') }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-desktop-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
unit-tests:
name: "Desktop Unit Tests"
env:
NODE_OPTIONS: "--max-old-space-size=7168"
NODE_OPTIONS: "--max-old-space-size=7168 --no-network-family-autoselection"
FORCE_COLOR: 3
CI_OS: ubuntu-22.04
runs-on: ubuntu-22.04
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,15 @@ permissions:
id-token: write
contents: read

env:
SPECULOS_IMAGE_TAG: ghcr.io/ledgerhq/speculos:0.11
COINAPPS: ${{ github.workspace }}/coin-apps

jobs:
detox-tests-ios:
name: "LLM - iOS Detox Tests"
runs-on: [m1, ARM64]
if: ${{ !inputs.speculos_tests }}
env:
NODE_OPTIONS: "--max-old-space-size=7168"
LANG: en_US.UTF-8
Expand Down Expand Up @@ -89,7 +94,7 @@ jobs:
id: detox-build
with:
path: ${{ github.workspace }}/apps/ledger-live-mobile/ios/build/Build/Products/Release-iphonesimulator
key: ${{ runner.os }}-detox-${{ hashFiles('apps/ledger-live-mobile/ios/Podfile.lock', 'apps/ledger-live-mobile/ios/ledgerlivemobile.xcodeproj/project.pbxproj', 'apps/ledger-live-mobile/detox.config.js') }}
key: ${{ runner.os }}-detox-${{ hashFiles('apps/ledger-live-mobile/ios/Podfile.lock', 'apps/ledger-live-mobile/ios/ledgerlivemobile.xcodeproj/project.pbxproj', 'apps/ledger-live-mobile/detox.config.js', 'apps/ledger-live-mobile/.env.mock') }}
accessKey: ${{ env.AWS_ACCESS_KEY_ID }}
secretKey: ${{ env.AWS_SECRET_ACCESS_KEY }}
sessionToken: ${{ env.AWS_SESSION_TOKEN}}
Expand Down Expand Up @@ -121,10 +126,21 @@ jobs:
- name: Build JS Bundle app for Detox test run
if: steps.detox-build.outputs.cache-hit == 'true'
run: pnpm mobile e2e:ci -p ios --bundle
- name: Setup Speculos image and Coin Apps
if: ${{ inputs.speculos_tests }}
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-speculos_image@develop
with:
coinapps_path: ${{ env.COINAPPS }}
speculos_tag: ${{ env.SPECULOS_IMAGE_TAG }}
bot_id: ${{ secrets.GH_BOT_APP_ID }}
bot_key: ${{ secrets.GH_BOT_PRIVATE_KEY }}
- name: Test iOS app
id: detox
timeout-minutes: 75
run: pnpm mobile e2e:ci -p ios -t
run: pnpm mobile e2e:ci -p ios -t $([[ "$INPUT_SPECULOS" == "true" ]] && printf %s '--speculos')
env:
SEED: ${{ secrets.SEED_QAA_B2C }}
INPUT_SPECULOS: ${{ inputs.speculos_tests }}
- name: Delete iOS simulator
if: ${{ always() && steps.simulator.outputs.id }}
run: |
Expand Down Expand Up @@ -180,8 +196,6 @@ jobs:
AVD_CORES: 4
AVD_RAM_SIZE: 4096M
AVD_OPTIONS: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
SPECULOS_IMAGE_TAG: ghcr.io/ledgerhq/speculos:0.9.5
COINAPPS: ${{ github.workspace }}/coin-apps
outputs:
status: ${{ steps.detox.outcome }}
steps:
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/test-ui-e2e-only-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ on:
required: false
type: string
default: "B2CQA-2461"
enable_send_test:
description: Enable broadcast
required: false
type: boolean
default: false

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name != 'develop' && github.ref || github.run_id }}
Expand All @@ -60,8 +55,7 @@ jobs:
FORCE_COLOR: 3
CI_OS: "ubuntu-latest"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
SPECULOS_IMAGE_TAG: ghcr.io/ledgerhq/speculos:0.9.5
ENABLE_BROADCAST_TEST: ${{ inputs.enable_send_test }}
SPECULOS_IMAGE_TAG: ghcr.io/ledgerhq/speculos:0.11
runs-on: [ledger-live-4xlarge]
strategy:
fail-fast: false
Expand All @@ -73,16 +67,6 @@ jobs:
with:
ref: ${{ inputs.ref || github.sha }}

- name: Setup broadcast environment variables
id: set-env
run: |
day=$(date +%u)
if [ $day -eq 1 ] || "$ENABLE_BROADCAST_TEST" = "1" ; then
echo "ENABLE_TRANSACTION_BROADCAST=1" >> $GITHUB_ENV
else
echo "DISABLE_TRANSACTION_BROADCAST=1" >> $GITHUB_ENV
fi
- name: Setup caches
id: caches
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
Expand Down
24 changes: 24 additions & 0 deletions apps/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @ledgerhq/live-cli

## 24.8.2

### Patch Changes

- Updated dependencies [[`0b51d37`](https://github.com/LedgerHQ/ledger-live/commit/0b51d37762c73a88d7204d1fcc3bb60a110568ed), [`724fa8b`](https://github.com/LedgerHQ/ledger-live/commit/724fa8b29cbda74a729c5756f91c5c9b745fdbdb), [`cd565e3`](https://github.com/LedgerHQ/ledger-live/commit/cd565e3b6e0735f4f00a67f26279e22b17cef846), [`daa059a`](https://github.com/LedgerHQ/ledger-live/commit/daa059a90eb4381a0936c4a3703e8061db24072a), [`2747ffb`](https://github.com/LedgerHQ/ledger-live/commit/2747ffb4cf5a9756eed992015ce9204da232aeab), [`517fa44`](https://github.com/LedgerHQ/ledger-live/commit/517fa44bbc40425995bf840ecab60773d022a30d), [`5c4455f`](https://github.com/LedgerHQ/ledger-live/commit/5c4455f80b03991843e16c80c5af5a019db25227)]:
- @ledgerhq/coin-framework@0.20.0
- @ledgerhq/live-common@34.15.0
- @ledgerhq/coin-bitcoin@0.8.9
- @ledgerhq/live-countervalues@0.2.14
- @ledgerhq/live-wallet@0.7.6
- @ledgerhq/device-core@0.4.8

## 24.8.2-next.0

### Patch Changes

- Updated dependencies [[`0b51d37`](https://github.com/LedgerHQ/ledger-live/commit/0b51d37762c73a88d7204d1fcc3bb60a110568ed), [`724fa8b`](https://github.com/LedgerHQ/ledger-live/commit/724fa8b29cbda74a729c5756f91c5c9b745fdbdb), [`cd565e3`](https://github.com/LedgerHQ/ledger-live/commit/cd565e3b6e0735f4f00a67f26279e22b17cef846), [`daa059a`](https://github.com/LedgerHQ/ledger-live/commit/daa059a90eb4381a0936c4a3703e8061db24072a), [`2747ffb`](https://github.com/LedgerHQ/ledger-live/commit/2747ffb4cf5a9756eed992015ce9204da232aeab), [`517fa44`](https://github.com/LedgerHQ/ledger-live/commit/517fa44bbc40425995bf840ecab60773d022a30d), [`5c4455f`](https://github.com/LedgerHQ/ledger-live/commit/5c4455f80b03991843e16c80c5af5a019db25227)]:
- @ledgerhq/coin-framework@0.20.0-next.0
- @ledgerhq/live-common@34.15.0-next.0
- @ledgerhq/coin-bitcoin@0.8.9-next.0
- @ledgerhq/live-countervalues@0.2.14-next.0
- @ledgerhq/live-wallet@0.7.6-next.0
- @ledgerhq/device-core@0.4.8-next.0

## 24.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ledgerhq/live-cli",
"version": "24.8.1",
"version": "24.8.2",
"description": "ledger-live CLI version",
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 931d91c

Please sign in to comment.