Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
468864b
updated yml segmented code cov
sethkfman Apr 14, 2021
e8c7ec4
updated yml triggers
sethkfman Apr 14, 2021
924f8a4
updated yml triggers
sethkfman Apr 14, 2021
ff403a9
updated yml triggers
sethkfman Apr 14, 2021
7ab21c7
updated yml codecov
sethkfman Apr 14, 2021
6141117
switched to ci
sethkfman Apr 14, 2021
ffd17cd
switched to ci
sethkfman Apr 14, 2021
3f9e8d2
test deploy
sethkfman Apr 14, 2021
c7b15dc
test deploy ios
sethkfman Apr 14, 2021
df695d1
format
sethkfman Apr 14, 2021
b8fcf67
imported env variables
sethkfman Apr 14, 2021
b947f9f
added env variables
sethkfman Apr 14, 2021
b9c3979
added env variables
sethkfman Apr 14, 2021
6d1c87d
reconfigured build triggers
sethkfman Apr 14, 2021
fd1f739
reconfigured build triggers
sethkfman Apr 14, 2021
6f403f1
reconfigured build triggers
sethkfman Apr 14, 2021
5252eb6
removed fastlane from build scripts and added commnets to bitrise scr…
sethkfman Apr 14, 2021
bd46f63
testing android artifact upload
sethkfman Apr 15, 2021
34080c4
commented out code that is not needed
sethkfman Apr 15, 2021
6f7cc37
added android deploy paths
sethkfman Apr 15, 2021
77ef282
test
estebanmino Apr 15, 2021
0196446
Revert "test"
estebanmino Apr 15, 2021
59db53d
updated android deploy paths
sethkfman Apr 15, 2021
41959f5
bitrise-yml-bump-version
estebanmino Apr 15, 2021
f1a8230
bump_version_minor
estebanmino Apr 15, 2021
6c959db
workflow
estebanmino Apr 15, 2021
350c947
PROJECT_LOCATION
estebanmino Apr 15, 2021
e19c946
bump_version_minor
estebanmino Apr 15, 2021
8923778
new_version_name
estebanmino Apr 15, 2021
e0eb5ad
space
estebanmino Apr 15, 2021
f0d0874
Revert "space"
estebanmino Apr 15, 2021
15932c4
2.1.1
estebanmino Apr 15, 2021
450fcb2
new_version_name
estebanmino Apr 15, 2021
a315582
torevert
estebanmino Apr 15, 2021
3932f53
Revert "torevert"
estebanmino Apr 15, 2021
29bea42
d
estebanmino Apr 15, 2021
96286db
revert
estebanmino Apr 15, 2021
bbd777b
env
estebanmino Apr 15, 2021
454191b
ios
estebanmino Apr 15, 2021
2611315
test android build
sethkfman Apr 15, 2021
cd6fba4
bump_version_minor
estebanmino Apr 15, 2021
06a0f37
temporarily creating debug android build for testing
sethkfman Apr 15, 2021
7f7f09a
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 15, 2021
fcdea4e
merge
estebanmino Apr 15, 2021
255e9e1
VERSION_NAME
estebanmino Apr 15, 2021
76c47c3
Merge branch 'bitrise-yml-bump-version' into bitrise_yml_new
estebanmino Apr 15, 2021
9fccca0
e2e testing
sethkfman Apr 16, 2021
65fa0f4
modified build script to generate debug app for testing
sethkfman Apr 16, 2021
30beb66
added pod file install into code prep
sethkfman Apr 16, 2021
5b02a78
moved pod install to e2e workflow
sethkfman Apr 16, 2021
c2c898b
update e2e
sethkfman Apr 16, 2021
0cfbdf6
updated e2e
sethkfman Apr 16, 2021
d41762e
updated e2e script
sethkfman Apr 16, 2021
b67fc3a
added back envs
sethkfman Apr 16, 2021
0c73930
updated e2e
sethkfman Apr 16, 2021
1ec498c
updated e2e
sethkfman Apr 16, 2021
f1bc6ff
updated code_setup & e2e
sethkfman Apr 16, 2021
f812530
updated detox script
sethkfman Apr 16, 2021
5de7724
added test deploy
sethkfman Apr 16, 2021
1afc301
commented out steps for testing
sethkfman Apr 16, 2021
a41b16f
updated build announce to use bitrise script
sethkfman Apr 16, 2021
bacebfa
added bitrise announcement script
sethkfman Apr 16, 2021
f99b17a
refactored bitrise scripts to reflect the notion workflows
sethkfman Apr 19, 2021
5472fd5
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 19, 2021
206e236
added new yarn step to audit dependencies
sethkfman Apr 19, 2021
0dbbb0d
removing scripts and using yarn e2e test
sethkfman Apr 19, 2021
2ada81c
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 19, 2021
9199cd2
moved the trigger
sethkfman Apr 19, 2021
ba2034a
updated yarn audit command
sethkfman Apr 19, 2021
bfd4da3
updated e2e
sethkfman Apr 19, 2021
cfd143d
updated e2e
sethkfman Apr 19, 2021
6c125ab
updated build scripts to generate release and added dependency for an…
sethkfman Apr 20, 2021
b60bd61
test-android-build
estebanmino Apr 20, 2021
6cf791c
generic-file-storage
estebanmino Apr 20, 2021
db69ef5
file-downloader
estebanmino Apr 20, 2021
3fea9a4
Revert "file-downloader"
estebanmino Apr 20, 2021
1684f16
Download keystore
estebanmino Apr 20, 2021
b8f45c4
moved keystore download up in the workflow
sethkfman Apr 20, 2021
357c76a
updated keystore pull script
sethkfman Apr 20, 2021
f10b38c
updated keystore pull script
sethkfman Apr 20, 2021
aef4551
added file downloader
sethkfman Apr 20, 2021
0c7062f
added file downloader
sethkfman Apr 20, 2021
dd591a6
uploaded keystore file android test
sethkfman Apr 20, 2021
6581e69
updated android release
sethkfman Apr 20, 2021
614832a
updated release build to pull keystore from bitrise
sethkfman Apr 20, 2021
5b43163
update android bitrise deploy
sethkfman Apr 20, 2021
1b932c3
added android e2e workflow and updated release signing config
sethkfman Apr 20, 2021
6e16d13
commented out e2e
sethkfman Apr 20, 2021
eb03273
uncommented e2e setup
sethkfman Apr 20, 2021
43ff564
uncommented e2e
sethkfman Apr 20, 2021
e1f30c8
updated file format
sethkfman Apr 20, 2021
6d3b124
uncommented e2e
sethkfman Apr 21, 2021
dc1f8ca
comment e2e
sethkfman Apr 21, 2021
8b57bf6
uncommented e2e
sethkfman Apr 21, 2021
b36c8b2
formatting bitrise file
sethkfman Apr 21, 2021
5197854
updated build scripts to use release
sethkfman Apr 21, 2021
ced9639
swaped password for release
sethkfman Apr 21, 2021
ddd9d9a
test ios release
sethkfman Apr 21, 2021
6ff8535
updated yarn steps
sethkfman Apr 21, 2021
6713a15
update slack bot script
sethkfman Apr 21, 2021
13d8da3
added group test release
sethkfman Apr 21, 2021
29b18dd
run android test release
sethkfman Apr 21, 2021
6f3b039
updated announce script
sethkfman Apr 21, 2021
658d0c5
update triggers and typos
sethkfman Apr 21, 2021
84040e9
update to test ios build
sethkfman Apr 22, 2021
c3daa9e
updated build type for pre-release
sethkfman Apr 22, 2021
29a7bba
ios app generation
sethkfman Apr 22, 2021
b7c50ea
ios app generation
sethkfman Apr 22, 2021
6d92174
updated iOS builds
sethkfman Apr 22, 2021
c6a068b
use bitrise xcode deploy
sethkfman Apr 22, 2021
d99c393
update ios release steps
sethkfman Apr 22, 2021
31f27bc
added deploy to itunes connect
sethkfman Apr 22, 2021
5cdc97f
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 22, 2021
efc4481
formatting
sethkfman Apr 22, 2021
141f98e
updated node version
sethkfman Apr 22, 2021
644fb58
udpated node version
sethkfman Apr 22, 2021
f7734a8
Bitrise yml bump version (#2535)
estebanmino Apr 22, 2021
b41d781
iOS build update
sethkfman Apr 22, 2021
413b922
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 22, 2021
c4751bd
iOS build update
sethkfman Apr 22, 2021
1e3acaa
added android and ios in a single release build
sethkfman Apr 22, 2021
543a549
added android and ios in a single release build
sethkfman Apr 22, 2021
2717d84
updated iOS release
sethkfman Apr 23, 2021
c4de639
updated iOS release
sethkfman Apr 23, 2021
34d3b6c
updated iOS release
sethkfman Apr 23, 2021
a6fd000
updated iOS release
sethkfman Apr 23, 2021
f0a85d5
added android to test_release
sethkfman Apr 23, 2021
da43de6
test iOS build with export options
sethkfman Apr 23, 2021
cdc939b
test iOS build with export options
sethkfman Apr 23, 2021
2f03d31
setup android release build
sethkfman Apr 23, 2021
2c7d080
fix action condition (#2576)
estebanmino Apr 23, 2021
7d82f2a
updated export options to include provisioning profile and added depl…
sethkfman Apr 23, 2021
b1e8f71
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 23, 2021
8a2525e
bump_version
estebanmino Apr 23, 2021
7f62aa1
start_release_builds
estebanmino Apr 23, 2021
96badcb
androidthenios
estebanmino Apr 23, 2021
99fdc09
cachepull
estebanmino Apr 23, 2021
6a7f592
before_run
estebanmino Apr 23, 2021
d41cb5f
deploy-to-itunesconnect
estebanmino Apr 23, 2021
dec29fa
onefirsttheother
estebanmino Apr 23, 2021
f72fa16
iosfirst
estebanmino Apr 23, 2021
2a41c2b
comments
estebanmino Apr 23, 2021
01f3554
updated slack announce script
sethkfman Apr 23, 2021
ca537cd
uncommented deploy and slack announce
sethkfman Apr 23, 2021
eee0dab
testing full release (#2582)
sethkfman Apr 23, 2021
302a26e
update ios deploy step
sethkfman Apr 23, 2021
8a5d9c0
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 23, 2021
4f8033d
removed test comment (#2584)
sethkfman Apr 23, 2021
35231f8
testing android google play staging
sethkfman Apr 23, 2021
6958489
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 23, 2021
58e86ea
increased versionCode & PROJECT VERSION
sethkfman Apr 23, 2021
eca08f1
added iOS build
sethkfman Apr 23, 2021
795104f
added test comment (#2585)
sethkfman Apr 23, 2021
801d2b8
run android only deploy
sethkfman Apr 23, 2021
8092c18
run ios only deploy
sethkfman Apr 24, 2021
d6d789e
run ios only deploy
sethkfman Apr 24, 2021
26988c5
run ios only deploy
sethkfman Apr 24, 2021
c090326
Release/testbuild patch (#2589)
sethkfman Apr 26, 2021
be9dc37
removed fastlane files and minor tweaks to scripts
sethkfman Apr 26, 2021
dee3059
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 26, 2021
337e9f6
updated e2e tests
sethkfman Apr 26, 2021
e758c8a
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 26, 2021
0a76745
updated e2e tests
sethkfman Apr 26, 2021
71e1510
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 26, 2021
3a4fc8d
updated yarn steps e2e
sethkfman Apr 26, 2021
7b809eb
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman Apr 26, 2021
f015720
updated android scripts
sethkfman Apr 26, 2021
ff598e1
updated build scrips and yml
sethkfman Apr 26, 2021
0086f2e
updated e2e builds
sethkfman Apr 26, 2021
e19ce5a
remove CircleCi yml
sethkfman Apr 26, 2021
ca14c50
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 27, 2021
e368ee0
added circleci script back
sethkfman Apr 27, 2021
a9fde07
added emulator print out command
sethkfman Apr 28, 2021
a0b3df9
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 30, 2021
3a67b8f
updated ios e2e test steps
sethkfman Apr 30, 2021
be06c28
Merge branch 'develop' into bitrise_yml_new
sethkfman Apr 30, 2021
788b1b2
removed devices
sethkfman Apr 30, 2021
910959f
added creation of emulator to script
sethkfman Apr 30, 2021
aedbc7f
added creation of emulator to script
sethkfman Apr 30, 2021
1bc521c
added creation of emulator to script
sethkfman Apr 30, 2021
5152454
added creation of emulator to script
sethkfman May 1, 2021
cc4009d
added creation of emulator to script
sethkfman May 3, 2021
3f16399
removed starting emulators
sethkfman May 5, 2021
db5b5b6
updated emulator name
sethkfman May 5, 2021
a845705
merged develop
sethkfman May 5, 2021
96f0cac
Merge branch 'bitrise_yml_new' into feature/e2e_bitrise
sethkfman May 5, 2021
331cdb2
avd list
sethkfman May 5, 2021
0e8c486
avd creation
sethkfman May 5, 2021
31d56d3
updated bitrise to tigger for v2.3.0 release build test
sethkfman May 5, 2021
c062b92
completed develop merge
sethkfman May 5, 2021
d5fab6e
Merge branch 'develop' into bitrise_yml_new
sethkfman May 5, 2021
0b349b1
updated bundler version
sethkfman May 5, 2021
f37d953
updated build script
sethkfman May 5, 2021
efe2906
updated build script
sethkfman May 5, 2021
b7066bd
updated change log with hide zero balance change (#2623)
sethkfman May 5, 2021
0d7593e
updated version name
sethkfman May 5, 2021
10f5cd9
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman May 5, 2021
d97fa6f
paralleling e2e tests
sethkfman May 5, 2021
60ba07e
updated android emulator name
sethkfman May 5, 2021
ed34ab5
added build comments and verbose logging for tests
sethkfman May 5, 2021
6ee3e53
added build comments and refactored test inits
sethkfman May 5, 2021
9b4a3e0
testing parallel deploys
sethkfman May 5, 2021
44dfbed
added comments
sethkfman May 5, 2021
c7a20f7
formatting
sethkfman May 6, 2021
c0bf255
moved code snipets
sethkfman May 6, 2021
cb31b89
modified build triggers
sethkfman May 6, 2021
8e1a818
modified build triggers
sethkfman May 6, 2021
aa057bf
added deploy steps for parallel deploy
sethkfman May 6, 2021
8c6e63c
updated triggers
sethkfman May 6, 2021
a0c1bdf
updated trigger
sethkfman May 6, 2021
9d8f63c
updated change log
sethkfman May 6, 2021
6850e3c
merged with develop
sethkfman May 6, 2021
fe71ede
develop merge
sethkfman May 6, 2021
821f028
stop caching
sethkfman May 6, 2021
2be09dc
update build triggers
sethkfman May 6, 2021
f16adde
update build triggers
sethkfman May 6, 2021
5563cb2
update audit script
sethkfman May 6, 2021
420d2a3
testing parallel deployment
sethkfman May 6, 2021
12a114d
testing parallel deployment
sethkfman May 6, 2021
92706ac
testing parallel deployment
sethkfman May 7, 2021
163b0d9
disable release in circleCI
sethkfman May 7, 2021
72598d3
testing parallel deployment
sethkfman May 7, 2021
b13b360
updated deploy directory
sethkfman May 7, 2021
ef5ddd5
updated deploy step
sethkfman May 7, 2021
4830090
deploy apk
sethkfman May 7, 2021
8ffe8ce
Merge branch 'develop' into bitrise_yml_new
sethkfman May 7, 2021
3c4452e
updated changelog (#2648)
sethkfman May 7, 2021
e3ee8fd
updated deploy scripts
sethkfman May 7, 2021
2479045
Merge branch 'bitrise_yml_new' of github.com:MetaMask/metamask-mobile…
sethkfman May 7, 2021
7149b42
remove code coverage
sethkfman May 7, 2021
42bef85
merged develop
sethkfman May 10, 2021
9375e66
Merge branch 'develop' into bitrise_yml_new
sethkfman May 13, 2021
64ba3de
updated provisioning profile name
sethkfman May 13, 2021
47fd899
updated provisioning profile name
sethkfman May 13, 2021
6a48a02
updated version for test 2.3.1
sethkfman May 14, 2021
e5dfb03
updated provisioning profile
sethkfman May 17, 2021
870d5a2
update provisioning profile
sethkfman May 18, 2021
6f23025
added fastlane and gemfiles back
sethkfman May 21, 2021
15430d1
merged develop
sethkfman May 21, 2021
f0786b6
disabled circle CI and added back slack bot announcement
sethkfman May 21, 2021
f30af62
commented all CI related tasks
sethkfman May 21, 2021
844baef
revert bitrise specific scripting
sethkfman May 21, 2021
7d6b45d
commented out bitrise release triggers
sethkfman May 21, 2021
2ee870d
Merge branch 'develop' into feature/bitrise_circleCI_hybrid
sethkfman Jun 1, 2021
0df5f1d
Merge branch 'develop' into feature/bitrise_circleCI_hybrid
sethkfman Jun 2, 2021
411cdfd
removed ci commneted code
sethkfman Jun 2, 2021
763e7a7
reverted script changes
sethkfman Jun 2, 2021
19c1636
minor syntax tweaks to scripts
sethkfman Jun 2, 2021
b5e038f
updated the bitrise version to match package
sethkfman Jun 2, 2021
4adee8e
Merge branch 'develop' into feature/bitrise_circleCI_hybrid
sethkfman Jun 2, 2021
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
28 changes: 0 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,40 +195,12 @@ jobs:
workflows:
full_test:
jobs:
- test-deps:
requires:
- prep-node-deps
- prep-deps:
filters:
branches:
only:
- main
- develop
- prep-node-deps:
filters:
branches:
ignore:
- main
- develop
- lint:
requires:
- prep-node-deps
- test-unit:
requires:
- prep-node-deps
# - test-e2e-ios:
# requires:
# - prep-node-deps
# - test-unit
- all-tests-pass:
requires:
- test-deps
- lint
- test-unit
# - test-e2e-ios
# - upload-coverage:
# requires:
# - test-unit
- publish-pre-release-ios:
requires:
- prep-deps
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/bump-version-name.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Bump version name
on:
# push:
# branches:
# - develop
pull_request:
branches:
- develop
- main
- bitrise_yml_new
types: [opened]
jobs:
bump-version-name:
runs-on: ubuntu-latest
if: "contains(github.head_ref, 'release/')"
steps:
- uses: actions/checkout@v2
- name: Bump script
env:
HEAD_REF: ${{ github.head_ref }}
run: |
./scripts/bump-version.sh "$HEAD_REF"
git diff
git config user.name github-actions
git config user.email github-actions@github.com
git add bitrise.yml
git add package.json
git commit -m "Bump version name"
git push origin HEAD:"$HEAD_REF" --force
312 changes: 312 additions & 0 deletions bitrise.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,312 @@
---
format_version: '8'
default_step_lib_source: 'https://github.com/bitrise-io/bitrise-steplib.git'
project_type: react-native
trigger_map:
# - push_branch: 'develop'
# workflow: start_release_builds
# - push_branch: 'main'
# workflow: start_release_builds
- pull_request_source_branch: '*'
workflow: ci_test
workflows:
# Code Setups
setup:
steps:
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@4: {}
code_setup_cache:
before_run:
- setup
steps:
- cache-pull@2: {}
- nvm@1:
inputs:
- node_version: '14'
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: install --network-timeout 300000 --frozen-lockfile --network-concurrency 1
title: Yarn Install
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: audit:ci
title: Audit Dependencies
- yarn@0:
title: Lint
inputs:
- cache_local_deps: 'yes'
- command: lint
is_always_run: true
- cache-push@2: {}
code_setup:
before_run:
- setup
steps:
- nvm@1:
inputs:
- node_version: '14'
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: install --network-timeout 300000 --frozen-lockfile --network-concurrency 1
title: Yarn Install
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: audit:ci
title: Audit Dependencies
- yarn@0:
title: Lint
inputs:
- cache_local_deps: 'yes'
- command: lint
is_always_run: true
# CI Steps
ci_test:
before_run:
- code_setup_cache
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:
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
curl -sL https://sentry.io/get-cli/
title: Install Test Dependencies (Sentry)
is_always_run: false
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: global add detox-cli
title: Install Detox CLI
android_e2e_test:
before_run:
- code_setup
- e2e_setup
steps:
- install-missing-android-tools@2:
inputs:
- gradlew_path: $PROJECT_LOCATION/gradlew
- avd-manager@1:
inputs:
- api_level: '29'
- profile: pixel
- wait-for-android-emulator@1: {}
- 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_cache
- e2e_setup
steps:
- 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
- yarn@0:
inputs:
- cache_local_deps: 'yes'
- command: test:e2e:ios
title: E2E Tests on iOS
is_always_run: false
start_e2e_tests:
steps:
- build-router-start@0:
inputs:
- workflows: |-
android_e2e_test
ios_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
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash echo 'weew - everything passed!'
title: All Tests Passed
is_always_run: false
# Parallel Build & Deploy Steps
start_release_builds:
steps:
- build-router-start@0:
inputs:
- workflows: |-
android_test_release_step
ios_test_release_step
- wait_for_builds: 'true'
- abort_on_fail: 'yes'
- access_token: $BITRISE_START_BUILD_ACCESS_TOKEN
- build-router-wait@0:
inputs:
- abort_on_fail: 'yes'
- build_artifacts_save_path: $BITRISE_DEPLOY_DIR
- access_token: $BITRISE_START_BUILD_ACCESS_TOKEN
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: $BITRISE_DEPLOY_DIR/app-release.apk
title: Bitrise Deploy APK
- yarn@0:
inputs:
- command: build:announce
title: Accouncing pre-release
is_always_run: false
android_test_release_step:
before_run:
- code_setup
steps:
- change-android-versioncode-and-versionname@1:
inputs:
- new_version_name: $VERSION_NAME
- build_gradle_path: $PROJECT_LOCATION_ANDROID/app/build.gradle
- file-downloader@1:
inputs:
- source: $BITRISEIO_ANDROID_KEYSTORE_URL
- destination: android/keystores/release.keystore
- install-missing-android-tools@2:
inputs:
- gradlew_path: $PROJECT_LOCATION/gradlew
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
jq 'del(.engines)' package.json > new.json && mv new.json package.json
node -v
METAMASK_ENVIRONMENT='production' yarn build:android:pre-release:bundle
title: Build Android Pre-Release Bundle
is_always_run: false
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/apk/release/app-release.apk
title: Bitrise Deploy APK
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/apk/release/sha512sums.txt
title: Bitrise Deploy Checksum
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: $PROJECT_LOCATION/app/build/outputs/bundle/release/app-release.aab
title: Bitrise Deploy AAB
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: sourcemaps/android/index.js.map
title: Bitrise Deploy Sourcemaps
- google-play-deploy@3:
inputs:
- app_path: $PROJECT_LOCATION/app/build/outputs/bundle/release/app-release.aab
- 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
ios_test_release_step:
before_run:
- code_setup_cache
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@1:
inputs:
- content: |-
#!/usr/bin/env bash
curl -sL https://sentry.io/get-cli/ | bash
title: Install Sentry CLI
is_always_run: false
- cocoapods-install@2: {}
- script@1:
inputs:
- content: |-
#!/usr/bin/env bash
jq 'del(.engines)' package.json > new.json && mv new.json package.json
node -v
METAMASK_ENVIRONMENT='production' yarn build:ios:pre-release
title: iOS Sourcemaps & Build
is_always_run: false
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: ios/build/output/MetaMask.ipa
title: Deploy iOS IPA
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: ios/build/MetaMask.xcarchive
title: Deploy Symbols File
- deploy-to-bitrise-io@1:
inputs:
- deploy_path: sourcemaps/ios/index.js.map
title: Deploy Source Map
- deploy-to-itunesconnect-application-loader@1:
inputs:
- ipa_path: ios/build/output/MetaMask.ipa
app:
envs:
- opts:
is_expand: false
PROJECT_LOCATION: android
- 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: 2.4.0
- opts:
is_expand: false
ANDROID_APK_LINK: ''
- opts:
is_expand: false
ANDROID_AAP_LINK: ''
- opts:
is_expand: false
IOS_APP_LINK: ''
Loading