Skip to content

Commit

Permalink
Merge pull request #7884 from LedgerHQ/chore/backport-turbo-changes
Browse files Browse the repository at this point in the history
chore: update turbo.json config to allow envs to be passed
  • Loading branch information
valpinkman committed Sep 24, 2024
2 parents be1d33b + f9811e0 commit 14dac72
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 18 deletions.
6 changes: 6 additions & 0 deletions .changeset/olive-drinks-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"ledger-live-desktop": patch
"live-mobile": patch
---

Update turbo.json to accept envs
64 changes: 46 additions & 18 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,49 @@
{
"$schema": "https://turborepo.org/schema.json",
"globalDependencies": ["turbo.json"],
"globalEnv": [
"ANDROID_HOME",
"ANDROID_KEYSTORE_FILE",
"ANDROID_KEYSTORE_PASS",
"ANDROID_KEY_ALIAS",
"ANDROID_KEY_PASS",
"ANDROID_SDK_ROOT",
"ANALYTICS_TOKEN",
"APPLECONNECT_API_KEY_CONTENT",
"APPLECONNECT_API_KEY_ID",
"APPLECONNECT_API_ISSUER_ID",
"APPLEID",
"APPLEID_PASSWORD",
"APP_IDENTIFIER",
"APP_NAME",
"AZURE_APP_ID",
"AZURE_SECRET",
"BRAZE_ANDROID_API_KEY",
"BRAZE_API_KEY",
"BRAZE_CUSTOM_ENDPOINT",
"BRAZE_IOS_API_KEY",
"CI_KEYCHAIN_PASSWORD",
"DEVELOPER_TEAM_ID",
"ENVFILE",
"FASTLANE_PASSWORD",
"FIREBASE_API_KEY",
"FIREBASE_APP_ID",
"FIREBASE_AUTH_DOMAIN",
"FIREBASE_MESSAGING_SENDER_ID",
"FIREBASE_PROJECT_ID",
"FIREBASE_STORAGE_BUCKET",
"GENERATE_METAFILES",
"GH_TOKEN",
"GIT_REPO_URL",
"GIT_REPO_USER",
"MATCH_PASSWORD",
"MY_APP_BUNDLE_ID",
"SENTRY_AUTH_TOKEN",
"SENTRY_ENVIRONMENT",
"SENTRY_PROJECT",
"SHORT_BUNDLE_ID",
"SUPPLY_UPLOAD_MAX_RETRIES"
],
"ui": "tui",
"tasks": {
"build": {
Expand Down Expand Up @@ -31,24 +74,10 @@
"cache": false
},
"android:apk:local": {
"dependsOn": ["^build"],
"env": [
"ANDROID_KEYSTORE_PASS",
"ANDROID_KEY_ALIAS",
"ANDROID_KEY_PASS",
"ANDROID_KEYSTORE_FILE",
"ANDROID_HOME"
]
"dependsOn": ["^build"]
},
"android:apk": {
"dependsOn": ["^build"],
"env": [
"ANDROID_KEYSTORE_PASS",
"ANDROID_KEY_ALIAS",
"ANDROID_KEY_PASS",
"ANDROID_KEYSTORE_FILE",
"ANDROID_HOME"
]
"dependsOn": ["^build"]
},
"ios:local:ipa": {
"dependsOn": ["^build"]
Expand Down Expand Up @@ -88,8 +117,7 @@
},
"ledger-live-desktop#build": {
"dependsOn": ["^build"],
"cache": false,
"env": ["GENERATE_METAFILES"]
"cache": false
},
"@ledgerhq/icons-ui#build": {
"dependsOn": ["^build"],
Expand Down

0 comments on commit 14dac72

Please sign in to comment.