Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support/trigger workflows ledger runners #8611

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-desktop-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
id: setup-caches
with:
install-proto: ${{ matrix.config.name != 'linux' }} # ledger-live-4xlarge has proto pre-installed
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:

report:
needs: build-desktop-app
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
if: ${{ !cancelled() && (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call' || github.event_name == 'pull_request')}}
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-mobile-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: caches
with:
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
skip-pod-cache: "false"
skip-turbo-cache: "false"
skip-turbo-cache: true
turbo-server-token: ${{ secrets.TURBOREPO_SERVER_TOKEN }}
- uses: nick-fields/retry@v3
name: install dependencies
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build-web-tools-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
env:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -30,8 +30,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-final-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: caches
with:
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-bridge-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-cli-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
outputs:
fail: ${{ steps.diff.outputs.diff }}
test-fail: ${{ steps.test.outcome }}
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -34,7 +34,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-design-system-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
FORCE_COLOR: 3
CI_OS: ubuntu-22.04

runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge

steps:
- uses: actions/checkout@v4
Expand All @@ -48,7 +48,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/test-desktop-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
CI_OS: ubuntu-22.04
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -44,8 +44,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
NODE_OPTIONS: "--max-old-space-size=7168 --no-network-family-autoselection"
FORCE_COLOR: 3
CI_OS: ubuntu-22.04
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -86,8 +85,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -122,7 +120,7 @@ jobs:
id: caches
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
with:
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -172,7 +170,7 @@ jobs:
path: apps/ledger-live-desktop/allure-results
report:
needs: [codechecks, unit-tests, e2e-tests-linux]
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
if: ${{ !cancelled() }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-libs-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
id: setup-caches
with:
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
FORCE_COLOR: 3
CI_OS: ubuntu-22.04

runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -84,7 +84,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

test-docs:
name: "Test Docs"
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
outputs:
fail: ${{ steps.diff.outputs.diff }}
steps:
Expand All @@ -130,7 +130,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-mobile-e2e-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
with:
skip-pod-cache: "false"
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-mobile-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
env:
NODE_OPTIONS: "--max-old-space-size=7168"
FORCE_COLOR: 3
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -41,7 +41,7 @@ jobs:
id: setup-caches
with:
install-proto: true
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ui-e2e-only-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
id: caches
uses: LedgerHQ/ledger-live/tools/actions/composites/setup-caches@develop
with:
skip-turbo-cache: "false"
skip-turbo-cache: true
accountId: ${{ secrets.AWS_ACCOUNT_ID_PROD }}
roleName: ${{ secrets.AWS_CACHE_ROLE_NAME }}
region: ${{ secrets.AWS_CACHE_REGION }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/turbo-affected-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ permissions:
jobs:
turbo-affected:
name: "Determine Affected"
runs-on: ubuntu-22.04
runs-on: ledger-live-4xlarge
outputs:
affected: ${{ steps.affected.outputs.affected }}
packages: ${{ steps.affected.outputs.packages }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

[![gitpoap badge](https://public-api.gitpoap.io/v1/repo/LedgerHQ/ledger-live/badge)](https://www.gitpoap.io/gh/LedgerHQ/ledger-live)

## About
## About

`ledger-live` is a **monorepository** whose purpose is to centralize all the JavaScript code related to the [**Ledger Live**](https://www.ledger.com/ledger-live) applications in one place.

Expand Down
2 changes: 1 addition & 1 deletion apps/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ledger-live CLI
# ledger-live CLI

> Please be advised this software is experimental and shall not create any obligation for Ledger to continue to develop, offer, support or repair any of its features. The software is provided “as is.” Ledger shall not be liable for any damages whatsoever including loss of profits or data, business interruption arising from using the software.

Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-desktop/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**[We are hiring, join us! 👨‍💻👩‍💻](https://jobs.lever.co/ledger/?department=Tech)**

# Ledger Live (desktop)
# Ledger Live (desktop)

- Related: [ledger-live-mobile](https://github.com/LedgerHQ/ledger-live/tree/develop/apps/ledger-live-mobile)
- Backed by: [ledger-live-common](https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledger-live-common)
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-mobile/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**[We are hiring, join us! 👨‍💻👩‍💻](https://jobs.lever.co/ledger/?department=Tech)**

# ledger-live-mobile
# ledger-live-mobile

- Related: [ledger-live-desktop](https://github.com/LedgerHQ/ledger-live/tree/develop/apps/ledger-live-desktop)
- Backed by: [ledger-live-common](https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledger-live-common)
Expand Down
2 changes: 1 addition & 1 deletion apps/web-tools/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Web Tools
# Web Tools

**Production hosted at https://live.ledger.tools/**

Expand Down
2 changes: 1 addition & 1 deletion libs/ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

##### Status: while perfectly useable the libraries are still in alpha state and are subject to breaking changes without notice :fire:.

## About
## About

**The `ui` umbrella is a comprised of the following packages:**

Expand Down
2 changes: 1 addition & 1 deletion tools/actions/composites/setup-caches/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Setup Caches"
name: "Setup Caches"
description: "Setup caches for faster running time"
inputs:
install-proto:
Expand Down
Loading