Commit Graph

94 Commits

Author SHA1 Message Date
Anant Bhasin 231863662d save npm cache 2021-08-26 18:33:32 +00:00
Anant Bhasin 406d21694e workspace attachment 2021-08-26 09:18:40 +00:00
Anant Bhasin fa1252c210 Attach workspace 2021-08-25 20:17:02 +00:00
Anant Bhasin 155ab35beb Run emu in tests 2021-08-25 19:51:58 +00:00
Anant Bhasin 79bffeffd1 case sensitive device name 2021-08-25 18:59:56 +00:00
Anant Bhasin ae18f94a14 Install yarn in test image 2021-08-25 18:35:06 +00:00
Anant Bhasin e7aa883849 Node already installed 2021-08-25 18:21:39 +00:00
Anant Bhasin ccb495d155 Gradle Java clean before build 2021-08-25 16:39:17 +00:00
Anant Bhasin 452c9816b7 Resource class for build 2021-08-25 15:35:27 +00:00
Anant Bhasin ed8e1fb284 Correct Circle Branched config 2021-08-10 20:32:41 +05:30
Anant Bhasin 4fa28efcdb split branches 2021-08-10 20:30:58 +05:30
Anant Bhasin be01ba574d Split up gradle tasks for low memory 2021-08-06 15:12:04 +05:30
Anant Bhasin 9ce1625633 Correct Command 2021-08-05 14:04:41 +05:30
Anant Bhasin 56c5687fa6 Update Config 2021-08-05 13:58:59 +05:30
Anant Bhasin 70bd757d8b correct folder 2021-08-05 13:20:50 +05:30
Anant Bhasin 94c874ca85 Correct Command 2021-08-05 13:00:06 +05:30
Anant Bhasin 02a9090d96 Split bundler from gradle 2021-08-05 11:54:37 +05:30
Anant Bhasin aedebc2fb7 Increase CircleCI no output timeout limit 2021-08-04 22:32:17 +05:30
Anant Bhasin 9c57ba9d11 Metroo Config for CircleCI E2E 2021-08-04 22:10:09 +05:30
Anant Bhasin edcc665a29 CI Setup 2021-08-04 15:59:58 +05:30
Diego Mello fb0a4ed266
Chore: Update Bugsnag (#3300)
* Remove bugsnag-react-native

* Really remove bugsnag from android

* Install @bugsnag/react-native

* Logging error on Android correctly

* Cleanup

* Fix bugsnag mock

* iOS builds

* Fix CI mistake

* Upload dSYMs to Bugsnag

* Upload source maps automatically on iOS

* Cleanup

* Enable Bugsnag on share extension

* Add test error

* Use large macos

* Bump to 4.19.0 temporarily to test on TestFlight official

* Use temp keys

* Fix upload source maps for Official iOS build

* Remove tests

* Set version back to 4.18.0
2021-07-28 17:36:06 -03:00
Diego Mello 91f770cd37
Chore: Update React Native to 0.64.2 (#3245)
* Update non-dev patches

* Update dev patches

* Update minors

* Update dev minors

* Update few non semver

* Cookies

* datepicker, netinfo, base64 and bootsplash

* Patch cookies

* Update navigation

* Device info

* mocha

* localize

* react-native-picker-select

* vector icons, xregexp, popover

* try save husky

* document picker

* Remove emotion dev

* Downgrade some libs and make sure jest is passing

* Update storybook to stable

* mocha, axios, bootsplash

* Update lint job to node 15

* Update android image to api 29 and xcode to 12.4

* building

* Fix lint

* Get rid of Storybooks errors

* Patch react-native-simple-crypto

* Remove pods from git

* Stash simple crypto

* Stash Flipper

* Remove single crypto patch

* Add manage-pods command

* Update Xcode to 12.5.0

* Fix E2E tests

* Cleanup podfile

* Fix Storybook

* Remove RN patch

* Fix iOS build release

* Fix cocoapods cache on CI

* Try to fix pods using bundle

* Update gems

* Add app_store_connect_api_key env to CI

* APP_STORE_CONNECT_API_KEY -> APP_STORE_CONNECT_API_BASE64

* Rollback to older usage of app_store_connect_api_key

* tmp

* Run manage-pods on TestFlight

* Use Podfile instead of Podfile.lock for cache

* Increase no_output_timeout from 20 minutes to 40

* Restore node modules on upload-to-testflight

* Add pod install to docs
2021-07-21 12:50:39 -03:00
Diego Mello 3d5e69b8a1
Chore: Update dependencies (#3206)
* Update non-dev patches

* Update dev patches

* Update minors

* Update dev minors

* Update few non semver

* Cookies

* datepicker, netinfo, base64 and bootsplash

* Patch cookies

* Update navigation

* Device info

* mocha

* localize

* react-native-picker-select

* vector icons, xregexp, popover

* try save husky

* document picker

* Remove emotion dev

* Downgrade some libs and make sure jest is passing

* Update storybook to stable

* mocha, axios, bootsplash

* Update lint job to node 15
2021-07-20 10:23:29 -03:00
Diego Mello 66d986e2b5
Chore: Improve QA workflow (#3285) 2021-07-19 18:04:45 -03:00
Diego Mello f7f13dabcc
[CHORE] Add job to upload Experimental to Google Play production (#3050) 2021-04-13 15:41:55 -03:00
Diego Mello e35f7fe583
[FIX] Share extension not working correctly on Official app (#2963) 2021-03-05 10:42:04 -03:00
Gung Wah 0957671056
[CHORE] Add hold step for ios and android build experimental (#2943)
* [CHORE] Add hold step for ios-build-experimental and android-build-experimental

* Android hold step

* add ios hold step

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-26 09:28:12 -03:00
Diego Mello 2f3a24824f
[CHORE] Rename Experimental iOS lane (#2717)
* Move build_fork to the end

* Rename release to build_experimental
2020-12-17 09:55:48 -03:00
Diego Mello cd76dd99d9
[CHORE] Build official apps on CI (#2701)
* Duplicated target and changed Bridging Header

* Display name

* Unnecessary dumb swift file removed

* Buildable name

* Reorder Info.plist

* Rename Official target's bundle id

* Ignore .mobileprovision

* Fix provisioning of official app

* Starting signing

* stash fastfile

* starting official ci iOS

* Uncomment Fastfile keychain

* Fix CI config

* allowProvisioningUpdates

* Changing AppIcon and Splash Screen

* Remove unnecessary folder inside of Images.xcassets

* Reorder notificationservice and shareextension plists

* Fix signing

* Manual signing style for official

* Split official signing

* Update project provisioning

* Use ENV as profile

* Output match

* Keys

* TestFlight refactor

* Setting up android

* android-official-play-build job

* Start removing unnecessary fastlane tasks on Android

* Trying to refactor Android jobs

* android-env

* Remove foss build for now

* Fork

* Fix if conditions

* Fix push

* ios-build command

* Rename Android builds

* Upload dSYMs

* Refactoring workflow

* Reorder upload-to-testflight

* upload-to-google-play-beta command

* Fix ci

* Fix android fork build

* Fix keystore

* Fix options on fastlane android

* Fix keystore

* Check isOfficial on iOS

* Check isOfficial on db

* Remove unused imports

* Database names on Android

* Tag fix

* Minor fixes

* Set IS_OFFICIAL on CI

* Fix detox

* follow review suggestions

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-12-14 13:20:32 -03:00
Graham Smith 2d6572d709
[IMPROVEMENT] Ease white labelling for Android (#2685)
* improve white labelling for Android

* Move application ID to gradle properties

* Fix CI

* Point foss sufix to main app

* Use npx on android-whitelabel script

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-12-04 13:17:29 -03:00
Diego Mello 77677b479f
[CHORE] Update Xcode to 12.1.0 (#2592)
* [CHORE] Update Xcode to 12.1.0

* Remove alpha from Xcode App Store Icon
2020-11-03 09:21:24 -03:00
Youssef Muhamad b8474286a8
[FIX] Failing iOS build on fork PR (#2558)
* Fix fastlane build for a fork PR

* Change the iOS fastlane command to build_fork
2020-10-15 10:43:12 -03:00
Diego Mello 52cfe079e8
[CHORE] Use App Store Connect API Key (#2549)
* [CHORE] Use App Store Connect API Key

* Update bundle

* rollback keychain

* Remove keychain

* Keychain is actually needed

* Update gitignore
2020-10-13 17:44:59 -03:00
Djorkaeff Alexandre 0195506549
[NEW] E2E Encryption push (Android) (#2481)
* poc push encryption android

* eof

* format code

* react-native-simple-crypto update

* prevent find sub twice

* remove storage and use ejson storage

* invalidate yarn cache

* Bump crypto and fix db path

* Fix google-services path

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-09-24 11:00:50 -03:00
Govind Dixit b80d8a0eca
[NEW] Add to F-Droid (#2171)
* create play and foss build

* update package.json to generate each build

* check1

* requested changes

* initial commit

* Update config.yml

* minor changes

* remove bugsnag from foss build

* remove bugsnag tasks from foss job

* fix stuck screen

* fixes

* update

* fix lint

* finalise 🚀

* requested changes

* share app for fdroid

* update

* use negation for builds

* requested change

* update share app

* fix issues due to latest sync

* add extra line

* fix lint

* update

* update

* fix bugsnag issue

* Update config.yml

* Fix store url

* Foss release instead of debug

* Add hold for foss

* Fix build

* requested changes

* update name and icons

* update

* fix

* Revert "Bump version to 4.11.0 (#2392)"

This reverts commit ea287980d9.

* finalise

Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-08-24 09:24:10 -03:00
Diego Mello e69c810a47
[CHORE] Remove Google Services files from repo (#2405)
* Android

* iOS
2020-08-17 14:36:23 -03:00
Diego Mello eda010f551
[CHORE] Add to internal lane instead of alpha (#2400) 2020-08-17 10:27:56 -03:00
Dan Caseley 72ec569029
[CHORE] Move Detox to Github Actions (#2340)
* Initial workflow for iOS detox tests

* Increase timeout

* Parallelise tests and optimise when to build

* Refine GH Actions logic

* Improve Detox App caching

* Upload failed test artifacts

* Rate limiting aware data setup

* Remove detox tests from Circle CI

* Revert "Rate limiting aware data setup"

This reverts commit d115604270f719de775018b9b06e89f2bfdc2dc7.

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-27 17:51:35 -03:00
Dan Caseley df6c2c5424
[TESTS] Idempotence for e2e tests (#2308)
* Idempotence for Assorted

* Idempotence for Onboarding

* Idempotence for Rooms

* Remove redundant expects

* Fixes and improvements

* Remove unneeded sleeps

* Make stable following merge

* Try solving early taps without long sleep

Try solving early taps without long sleep (cont)

Temporary CircleCI hack for quicker testing

Add screenshots to CircleCI for failed tests

Try solving early taps without long sleep (cont. 2)

Revert "Temporary CircleCI hack for quicker testing"

This reverts commit 4abef3a5827910c05b12ac8b8380275b60e8af4f.

* Fix flaky test with a fluent wait on the tap

* Add some new sleeps to workaround #2324

* Add test artifacts to gitignore

* More longpress for dodgy taps, wait for pin response

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-22 13:32:21 -03:00
Dan Caseley 6436199780
[CHORE] CircleCI Upgrades (#2269)
* Upgrade nvm

* Upgrade XCode

* Use nvm's default installed version of node (LTS)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-07-13 13:52:14 -03:00
Govind Dixit 089e4bf3eb
[NEW] Add fastlane to android module and configure CI (#2100) 2020-06-16 10:31:07 -03:00
Diego Mello d1e751bf12
[TESTS] Update and separate E2E tests (#2126)
* Tests passing until roomslist

* create room

* roominfo

* change server

* broadcast

* profile

* custom status

* forgot password

* working

* room and onboarding

* Tests separated

* config.yml refactor

* Revert "config.yml refactor"

This reverts commit 0e984d3029.

* CI

* lint

* CI refactor

* Onboarding tests

* npx detox

* Add all tests

* Save brew cache

* mac-env executor

* detox-test command

* Update readme

* Remove folder
2020-05-20 13:33:40 -03:00
Diego Mello ce51982bb0
Update all dependencies (#2008)
* Android RN 62

* First steps iOS

* Second step iOS

* iOS compiling

* "New" build system

* Finish iOS

* Flipper

* Update to RN 0.62.1

* expo libs

* Hermes working

* Fix lint

* Fix android build

* Patches

* Dev patches

* Patch WatermelonDB: https://github.com/Nozbe/WatermelonDB/pull/660

* Fix jitsi

* Update several minors

* Update dev minors and lint

* react-native-keyboard-input

* Few updates

* device info

* react-native-fast-image

* Navigation bar color

* react-native-picker-select

* webview

* reactotron-react-native

* Watermelondb

* RN 0.62.2

* Few updates

* Fix selection

* update gems

* remove lib

* finishing

* tests

* Use node 10

* Re-enable app bundle

* iOS build

* Update jitsi ios
2020-05-08 13:37:49 -03:00
Neil Agarwal 48f90fb9a8
[FIX] Remove react-native global installs (#1886)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-17 17:36:13 -03:00
Diego Mello 005e1ac46b
[FIX] Detox tests (#1790) 2020-03-03 17:27:38 -03:00
Diego Mello a62dfef3fa
[FIX] Different sourcemaps generation for Hermes (#1724)
* [FIX] Different sourcemaps generation for Hermes

* Upload sourcemaps after build
2020-02-14 16:12:06 -03:00
Exordian 8f64e65849
[FIX] Remove duplicate jetify step (#1628)
minor: also remove 'cd' calls

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-05 13:44:31 -03:00
Diego Mello 8823734d43
[NEW] Enable Hermes (#1446) 2019-12-11 16:23:16 -03:00
Djorkaeff Alexandre 7cdf6394fc [CHORE] Update CI Xcode Image (#1430) 2019-12-02 11:08:11 -03:00
Diego Mello e0f0f99990
[FIX] Use Ruby 2.4 on TestFlight upload (#1368) 2019-11-05 17:05:59 -03:00