forked from MetaMask/metamask-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitrise.yml
651 lines (641 loc) · 22.4 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
---
format_version: '8'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
project_type: react-native
#Pipelines are listed below
pipelines:
#Creates MetaMask-QA apps and stores apk/ipa in Bitrise
create_qa_builds_pipeline:
stages:
- create_build_qa: {}
- notify: {}
#Creates MetaMask apps and stores apk/ipa in Bitrise
create_release_builds_pipeline:
stages:
- create_build_release: {}
- notify: {}
#Releases MetaMask apps and stores apk/ipa into Play(Internal Testing)/App(TestFlight) Store
release_builds_to_store_pipeline:
stages:
- create_build_release: {}
- deploy_build_release: {}
- release_notify: {}
#Run E2E test suite for iOS only
run_e2e_ios_pipeline:
stages:
- run_e2e_ios_stage: {}
#Run E2E test suite for Android only
run_e2e_android_pipeline:
stages:
- run_e2e_android_stage: {}
#PR_e2e_verfication (build ios & android), run iOS (smoke), emulator Android
release_e2e_pipeline:
stages:
- run_e2e_ios_stage: {}
- run_e2e_android_stage: {}
#PR_e2e_verfication (build ios & android), run iOS (smoke), emulator Android
pr_smoke_e2e_pipeline:
stages:
- run_e2e_ios_stage: {}
# - run_e2e_android_stage: {}
#Stages refrence workflows. Those workflows cannot but utility "_this-is-a-utility"
stages:
create_build_release:
workflows:
- build_android_release: {}
- build_ios_release: {}
deploy_build_release:
workflows:
- deploy_android_to_store: {}
- deploy_ios_to_store: {}
create_build_qa:
workflows:
- build_android_qa: {}
- build_ios_qa: {}
run_e2e_ios_stage:
workflows:
- ios_e2e_test: {}
run_e2e_android_stage:
workflows:
- build_android_release: {}
- wdio_android_e2e_test: {} #Build QA -> Browserstack -> wdio_ (can be a smaller machine)
notify:
workflows:
- notify_success_on_slack: {}
release_notify:
workflows:
- release_announcing_stores: {}
workflows:
# Code Setups
setup:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@6: {}
- nvm@1.3.0:
inputs:
- node_version: '16.13.0'
code_setup:
before_run:
- setup
steps:
- restore-npm-cache@1: {}
- yarn@0:
inputs:
- command: setup
title: Yarn Setup
- yarn@0:
title: Lint
inputs:
- command: lint
- yarn@0:
inputs:
- command: audit:ci
title: Audit Dependencies
- save-npm-cache@1: {}
code_setup_dev:
before_run:
- setup
steps:
- script@1:
title: Generate `.npmrc` file for preview builds
inputs:
- content: |
#!/bin/bash
printf '%s\n\n%s' '@metamask:registry=https://npm.pkg.github.com' "//npm.pkg.github.com/:_authToken=${PACKAGE_READ_TOKEN}" > .npmrc
after_run:
- code_setup
# Slack notification utils: we have two workflows to allow choosing when to notify: on success, on failure or both.
# A workflow for instance create_qa_builds will notify on failure for each build_android_qa or build_ios_qa
# but will only notify success if both success and create_qa_builds succeeds.
# Send a Slack message on successful release
release_announcing_stores:
steps:
- yarn@0:
inputs:
- command: build:announce
title: Accouncing pre-release
is_always_run: false
meta:
bitrise.io:
stack: linux-docker-android-20.04
machine_type_id: standard
# Send a Slack message when workflow succeeds
notify_success_on_slack:
steps:
- slack@3:
inputs:
- text: "${BITRISE_APP_TITLE} ${BITRISEIO_PIPELINE_TITLE} workflow notification"
- pretext: ":large_green_circle: *${BITRISEIO_PIPELINE_TITLE} succeeded!*"
- title: "Commit #$COMMIT_SHORT_HASH $BRANCH_HEIGHT"
- title_link: https://github.com/${BITRISEIO_GIT_REPOSITORY_OWNER}/${BITRISEIO_GIT_REPOSITORY_SLUG}/commit/${COMMIT_SHORT_HASH}
- message: ${BITRISE_GIT_MESSAGE}
- fields: |
Branch|${BITRISE_GIT_BRANCH}
Workflow|${BITRISEIO_PIPELINE_TITLE}
Trigger|${WORKFLOW_TRIGGER}
Build|${BITRISE_BUILD_NUMBER}
- buttons: |
View app|${BITRISE_APP_URL}
View build|${BITRISEIO_PIPELINE_BUILD_URL}
View commit|https://github.com/${BITRISEIO_GIT_REPOSITORY_OWNER}/${BITRISEIO_GIT_REPOSITORY_SLUG}/commit/${COMMIT_SHORT_HASH}
- footer: "Bitrise ${BITRISEIO_PIPELINE_TITLE} workflow notification"
- webhook_url: https://hooks.slack.com/services/${MM_SLACK_TOKEN}/${MM_SLACK_SECRET}/${MM_SLACK_ROOM}
# Send a Slack message when workflow fails
_notify_failure_on_slack:
steps:
- slack@3:
is_always_run: true
run_if: .IsBuildFailed
inputs:
- text: "${BITRISE_APP_TITLE} ${BITRISE_TRIGGERED_WORKFLOW_TITLE} workflow notification"
- pretext_on_error: ":red_circle: *${BITRISE_TRIGGERED_WORKFLOW_TITLE} failed!*"
- title: "Commit #$COMMIT_SHORT_HASH $BRANCH_HEIGHT"
- title_link: https://github.com/${BITRISEIO_GIT_REPOSITORY_OWNER}/${BITRISEIO_GIT_REPOSITORY_SLUG}/commit/${COMMIT_SHORT_HASH}
- message: ${BITRISE_GIT_MESSAGE}
- fields: |
Branch|${BITRISE_GIT_BRANCH}
Workflow|${BITRISE_TRIGGERED_WORKFLOW_TITLE}
Trigger|${WORKFLOW_TRIGGER}
Build|${BITRISE_BUILD_NUMBER}
- buttons: |
View app|${BITRISE_APP_URL}
View build|${BITRISE_BUILD_URL}
View commit|https://github.com/${BITRISEIO_GIT_REPOSITORY_OWNER}/${BITRISEIO_GIT_REPOSITORY_SLUG}/commit/${COMMIT_SHORT_HASH}
- footer: "Bitrise ${BITRISE_TRIGGERED_WORKFLOW_TITLE} workflow notification"
- webhook_url: https://hooks.slack.com/services/${MM_SLACK_TOKEN}/${MM_SLACK_SECRET}/${MM_SLACK_ROOM}
# CI Steps
ci_test:
before_run:
- code_setup
steps:
- yarn@0:
inputs:
- args: ''
- command: test:unit --silent
title: Unit Test
is_always_run: false
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
echo 'weew - everything passed!'
title: All Tests Passed
is_always_run: false
# E2E Steps
e2e_setup:
steps:
- yarn@:
inputs:
- cache_local_deps: 'yes'
- command: global add detox-cli
title: Detox - Install CLI
android_e2e_test:
before_run:
- code_setup_dev
- e2e_setup
after_run:
- _notify_failure_on_slack
steps:
- restore-gradle-cache@1: {}
- install-missing-android-tools@2:
inputs:
- ndk_revision: $NDK_VERSION
- gradlew_path: $PROJECT_LOCATION/gradlew
- avd-manager@1:
inputs:
- api_level: '29'
- create_command_flags: '--sdcard 4096M'
- profile: pixel
- wait-for-android-emulator@1: {}
- save-gradle-cache@1: {}
- file-downloader@1:
inputs:
- source: $BITRISEIO_ANDROID_KEYSTORE_URL
- destination: android/keystores/release.keystore
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: test:e2e:android
title: E2E Tests on Android
is_always_run: false
ios_e2e_test:
before_run:
- code_setup_dev
- e2e_setup
after_run:
- _notify_failure_on_slack
steps:
- certificate-and-profile-installer@1: {}
- set-xcode-build-number@1:
inputs:
- build_short_version_string: $VERSION_NAME
- plist_path: $PROJECT_LOCATION_IOS/MetaMask/Info.plist
- script:
inputs:
- content: |-
# Add cache directory to environment variable
envman add --key BREW_APPLESIMUTILS --value "$(brew --cellar)/applesimutils"
envman add --key BREW_OPT_APPLESIMUTILS --value "/usr/local/opt/applesimutils"
brew tap wix/brew
title: Set Env Path for caching deps
- cocoapods-install@2:
is_always_run: false
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
node -v
METAMASK_ENVIRONMENT='production' yarn test:e2e:ios --testNamePattern='Smoke'
title: Detox Build & Test
is_always_run: false
- custom-test-results-export@1:
is_always_run: true
is_skippable: false
title: Export test results
inputs:
- base_path: $BITRISE_SOURCE_DIR/e2e/reports/
- test_name: E2E Tests
- search_pattern: $BITRISE_SOURCE_DIR/e2e/reports/junit.xml
- deploy-to-bitrise-io@2.2.3:
is_always_run: true
is_skippable: false
title: Deploy test report files
start_e2e_tests:
steps:
- build-router-start@0:
inputs:
- workflows: |-
ios_e2e_test
wdio_android_e2e_test
- wait_for_builds: 'true'
- access_token: $BITRISE_START_BUILD_ACCESS_TOKEN
- build-router-wait@0:
inputs:
- abort_on_fail: 'yes'
- access_token: $BITRISE_START_BUILD_ACCESS_TOKEN
build_android_release:
before_run:
- code_setup
after_run:
- _notify_failure_on_slack
steps:
- change-android-versioncode-and-versionname@1:
inputs:
- new_version_name: $VERSION_NAME
- new_version_code: $VERSION_NUMBER
- build_gradle_path: $PROJECT_LOCATION_ANDROID/app/build.gradle
- file-downloader@1:
inputs:
- source: $BITRISEIO_ANDROID_KEYSTORE_URL
- destination: android/keystores/release.keystore
- restore-gradle-cache@1: {}
- install-missing-android-tools@2:
inputs:
- ndk_revision: $NDK_VERSION
- gradlew_path: $PROJECT_LOCATION/gradlew
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
node -v
METAMASK_ENVIRONMENT='production' yarn build:android:pre-release:bundle
title: Build Android Pre-Release Bundle
is_always_run: false
- save-gradle-cache@1: {}
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: $PROJECT_LOCATION/app/build/outputs/apk/prod/release/app-prod-release.apk:BITRISE_PLAY_STORE_APK_PATH
- deploy_path: $PROJECT_LOCATION/app/build/outputs/apk/prod/release/app-prod-release.apk
title: Bitrise Deploy APK
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: $PROJECT_LOCATION/app/build/outputs/apk/prod/release/sha512sums.txt:BITRISE_PLAY_STORE_SHA512SUMS_PATH
- deploy_path: $PROJECT_LOCATION/app/build/outputs/apk/prod/release/sha512sums.txt
title: Bitrise Deploy Checksum
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: $PROJECT_LOCATION/app/build/outputs/mapping/prodRelease/mapping.txt:BITRISE_PLAY_STORE_MAPPING_PATH
- deploy_path: $PROJECT_LOCATION/app/build/outputs/mapping/prodRelease/mapping.txt
title: Bitrise ProGuard Map Files
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: $PROJECT_LOCATION/app/build/outputs/bundle/prodRelease/app-prod-release.aab:BITRISE_PLAY_STORE_ABB_PATH
- deploy_path: $PROJECT_LOCATION/app/build/outputs/bundle/prodRelease/app-prod-release.aab
title: Bitrise Deploy AAB
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: /sourcemaps/android/index.js.map:BITRISE_PLAY_STORE_SOURCEMAP_PATH
- deploy_path: sourcemaps/android/index.js.map
title: Bitrise Deploy Sourcemaps
meta:
bitrise.io:
stack: linux-docker-android-20.04
machine_type_id: elite-xl
build_android_qa:
before_run:
- code_setup_dev
after_run:
- _upload_apk_to_browserstack
- _notify_failure_on_slack
steps:
- change-android-versioncode-and-versionname@1:
inputs:
- new_version_name: $VERSION_NAME
- new_version_code: $VERSION_NUMBER
- build_gradle_path: $PROJECT_LOCATION_ANDROID/app/build.gradle
- file-downloader@1:
inputs:
- source: $BITRISEIO_ANDROID_QA_KEYSTORE_URL
- destination: android/keystores/internalRelease.keystore
- restore-gradle-cache@1: {}
- install-missing-android-tools@2:
inputs:
- ndk_revision: $NDK_VERSION
- gradlew_path: $PROJECT_LOCATION/gradlew
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
node -v
GIT_BRANCH=$BITRISE_GIT_BRANCH METAMASK_ENVIRONMENT='qa' yarn build:android:pre-release:bundle:qa
title: Build Android Pre-Release Bundle
is_always_run: false
- save-gradle-cache@1: {}
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/apk/qa/release/app-qa-release.apk
title: Bitrise Deploy APK
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/apk/qa/release/sha512sums.txt
title: Bitrise Deploy Checksum
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/mapping/qaRelease/mapping.txt
title: Bitrise ProGuard Map Files
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/bundle/qaRelease/app-qa-release.aab
title: Bitrise Deploy AAB
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: sourcemaps/android/index.js.map
title: Bitrise Deploy Sourcemaps
meta:
bitrise.io:
stack: linux-docker-android-20.04
machine_type_id: elite-xl
_upload_apk_to_browserstack:
steps:
- script@1:
title: Upload APK to Browserstack
inputs:
- content: |-
#!/usr/bin/env bash
set -e
set -x
set -o pipefail
APK_PATH=$PROJECT_LOCATION/app/build/outputs/apk/qa/release/app-qa-release.apk
CUSTOM_ID="$BITRISE_GIT_BRANCH-$VERSION_NAME-$VERSION_NUMBER"
CUSTOM_ID=${CUSTOM_ID////-}
curl -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" -X POST "https://api-cloud.browserstack.com/app-automate/upload" -F "file=@$APK_PATH" -F 'data={"custom_id": "'$CUSTOM_ID'"}' | jq -j '.app_url' | envman add --key BROWSERSTACK_APP_URL
curl -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" -X GET https://api-cloud.browserstack.com/app-automate/recent_apps | jq > browserstack_uploaded_apps.json
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: browserstack_uploaded_apps.json
title: Bitrise Deploy Browserstack Uploaded Apps
- build-router-start@0:
inputs:
- workflows: |-
wdio_android_e2e_test
- wait_for_builds: 'false'
- abort_on_fail: 'yes'
- access_token: $BITRISE_START_BUILD_ACCESS_TOKEN
- environment_key_list:
BROWSERSTACK_APP_URL
BROWSERSTACK_DEVICE
BROWSERSTACK_OS_VERSION
BROWSERSTACK_TAG_EXPRESSION
wdio_android_e2e_test:
before_run:
- code_setup
after_run:
- _notify_failure_on_slack
steps:
- script@1:
title: Run Android E2E tests on Browserstack
inputs:
- content: |-
#!/usr/bin/env bash
yarn test:wdio:android:browserstack
- script@1:
is_always_run: true
is_skippable: false
title: Add tests reports to Bitrise
inputs:
- content: |-
#!/usr/bin/env bash
cp -r $BITRISE_SOURCE_DIR/wdio/reports/junit-results/ $BITRISE_TEST_RESULT_DIR/
- deploy-to-bitrise-io@2.2.3:
is_always_run: true
is_skippable: false
inputs:
- deploy_path: $BITRISE_TEST_RESULT_DIR
title: Deploy test report files
meta:
bitrise.io:
stack: linux-docker-android-20.04
machine_type_id: standard
deploy_android_to_store:
# before_run:
# - build_android_release
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: .*
- google-play-deploy:
inputs:
- app_path: $BITRISE_PLAY_STORE_ABB_PATH
- track: internal
- service_account_json_key_path: $BITRISEIO_BITRISEIO_SERVICE_ACCOUNT_JSON_KEY_URL_URL
- package_name: $MM_ANDROID_PACKAGE_NAME
envs:
- opts:
is_expand: false
MM_ANDROID_PACKAGE_NAME: io.metamask
deploy_ios_to_store:
# before_run:
# - build_ios_release
steps:
- pull-intermediate-files@1:
inputs:
- artifact_sources: .*
- deploy-to-itunesconnect-application-loader@1:
inputs:
- ipa_path: $BITRISE_APP_STORE_IPA_PATH
build_ios_release:
before_run:
- code_setup
after_run:
- _notify_failure_on_slack
steps:
- certificate-and-profile-installer@1: {}
- set-xcode-build-number@1:
inputs:
- build_short_version_string: $VERSION_NAME
- build_version: $VERSION_NUMBER
- plist_path: $PROJECT_LOCATION_IOS/MetaMask/Info.plist
- restore-cocoapods-cache@1: {}
- cocoapods-install@2: {}
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
node -v
METAMASK_ENVIRONMENT='production' yarn build:ios:pre-release
title: iOS Sourcemaps & Build
is_always_run: false
- save-cocoapods-cache@1: {}
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: ios/build/output/MetaMask.ipa:BITRISE_APP_STORE_IPA_PATH
- deploy_path: ios/build/output/MetaMask.ipa
title: Deploy iOS IPA
- deploy-to-bitrise-io@1.6.1:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: ios/build/MetaMask.xcarchive
title: Deploy Symbols File
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: sourcemaps/ios/index.js.map:BITRISE_APP_STORE_SOURCEMAP_PATH
- deploy_path: sourcemaps/ios/index.js.map
title: Deploy Source Map
build_ios_qa:
before_run:
- code_setup_dev
after_run:
- _notify_failure_on_slack
steps:
- certificate-and-profile-installer@1: {}
- set-xcode-build-number@1:
inputs:
- build_short_version_string: $VERSION_NAME
- build_version: $VERSION_NUMBER
- plist_path: $PROJECT_LOCATION_IOS/MetaMask/MetaMask-QA-Info.plist
- restore-cocoapods-cache@1: {}
- cocoapods-install@2: {}
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
node -v
GIT_BRANCH=$BITRISE_GIT_BRANCH METAMASK_ENVIRONMENT='qa' yarn build:ios:pre-qa
title: iOS Sourcemaps & Build
is_always_run: false
- save-cocoapods-cache@1: {}
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: ios/build/output/MetaMask-QA.ipa:BITRISE_APP_STORE_IPA_PATH
- deploy_path: ios/build/output/MetaMask-QA.ipa
title: Deploy iOS IPA
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- deploy_path: ios/build/MetaMask-QA.xcarchive
title: Deploy Symbols File
- deploy-to-bitrise-io@2.2.3:
is_always_run: false
is_skippable: true
inputs:
- pipeline_intermediate_files: sourcemaps/ios/index.js.map:BITRISE_APP_STORE_SOURCEMAP_PATH
- deploy_path: sourcemaps/ios/index.js.map
title: Deploy Source Map
app:
envs:
- opts:
is_expand: false
PROJECT_LOCATION: android
- opts:
is_expand: false
NDK_VERSION: 21e
- opts:
is_expand: false
MODULE: app
- opts:
is_expand: false
VARIANT: ''
- opts:
is_expand: false
BITRISE_PROJECT_PATH: ios/MetaMask.xcworkspace
- opts:
is_expand: false
BITRISE_SCHEME: MetaMask
- opts:
is_expand: false
BITRISE_EXPORT_METHOD: enterprise
- opts:
is_expand: false
PROJECT_LOCATION_ANDROID: android
- opts:
is_expand: false
PROJECT_LOCATION_IOS: ios
- opts:
is_expand: false
VERSION_NAME: 6.5.0
- opts:
is_expand: false
VERSION_NUMBER: 1104
- opts:
is_expand: false
ANDROID_APK_LINK: ''
- opts:
is_expand: false
ANDROID_AAP_LINK: ''
- opts:
is_expand: false
IOS_APP_LINK: ''
meta:
bitrise.io:
stack: osx-xcode-14.2.x-ventura
machine_type_id: g2-m1-max.5core
trigger_map:
- push_branch: release/*
pipeline: release_e2e_pipeline
- tag: "v*.*.*-RC-*"
pipeline: release_builds_to_store_pipeline
- tag: "qa-*"
pipeline: create_qa_builds_pipeline
- tag: "dev-e2e-*"
pipeline: pr_smoke_e2e_pipeline