Commit Graph

57 Commits

Author SHA1 Message Date
joel.poyet 33d04f0303 Add a fastlane pipeline that releases HealthChat to TestFlight (#2)
element-x-ios had no release machinery at all: no fastlane, no Gemfile, and none of
its workflows built or uploaded anything. Upstream ships via Xcode Cloud, which
needs Element's private Enterprise submodule and so is unavailable here, while the
legacy element-ios fork already proves a fastlane pipeline against the same Apple
team, certificate and App Store Connect key.

Tagging healthchat-v<version> now builds a signed App Store IPA on the org's Mac
Studio and uploads it to TestFlight. Release notes come from a new
HEALTHCHAT_CHANGES.md, because upstream's own tooling owns CHANGES.md.

The lane deliberately does not pin Xcode. The runner carries a single globally
selected version, and naming an absent one does not fail fast — it sends xcodes
into a multi-GB authenticated download that no CI secret can satisfy. Each run logs
xcodebuild -version instead, which is the only record of what compiled a build.

Everything here is fork-owned, since upstream has no fastlane directory, so none of
it can conflict on rebase.
2026-09-22 18:21:48 +02:00
Stefan Ceriu bce9119bc3 Replace the last of the fastlane lanes with swift tooling
- move more sharable code to CI static methods
- merge `release_to_github` and `prepare_next_release` into one single command as they had dependencies on each other
- remove all traces of ruby and fastlane
2026-03-11 10:06:44 +02:00
renovate[bot] d3846f1888 Update dependency fastlane to v2.232.2 (#5153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-27 15:03:17 +00:00
Doug 2ee095554b Update the Gemfile.lock with Ruby 4.0 (#5101)
It was trying to downgrade a bunch of things from 2.4.0 to 1.6.8 🤨
2026-02-13 15:58:45 +00:00
renovate[bot] 992cec91d6 Update dependency fastlane to v2.232.1 2026-02-11 09:18:29 +02:00
renovate[bot] 9468d7f7d1 Update dependency fastlane to v2.232.0 (#5063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-06 23:08:27 +00:00
Doug 5a0dd23cb4 Update the enterprise submodule. (#4989) 2026-01-23 11:24:59 +00:00
renovate[bot] 8ff16e9133 Update dependency fastlane to v2.231.1 2026-01-21 15:43:49 +01:00
renovate[bot] 20e15f0e3e Update dependency fastlane to v2.231.0 (#4967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-19 10:29:35 +00:00
Doug f41424436c Update fastlane (and all other gems). (#4960) 2026-01-15 08:40:23 +00:00
Doug 4273044146 Use the new Icon Composer .icon format. (#4612) 2025-10-10 20:00:03 +01:00
Stefan Ceriu 2c7e4aff41 Update ruby depdendencies 2025-09-24 13:46:10 +03:00
Doug 5b3e045e3c Expose isLiveKitRTCSupported on the ClientProxy. (#4238) 2025-06-23 11:21:36 +01:00
renovate[bot] c6c32079f6 Update dependency fastlane to v2.228.0 2025-06-10 08:38:58 +03:00
Stefan Ceriu 06e7919b56 Remove support for building Alpha/PR (adhoc) builds.
We've haven't really been using these and they're proving to be quite a chore to keep running.
Also, we recently needed an external demo build and we chose to go with custom build on top of testflight instead.

As such it's been decided that we can go ahead and remove them.
2025-05-12 15:07:46 +03:00
renovate[bot] 482aae1ddb Update dependency fastlane to v2.227.2 2025-05-06 08:15:27 +03:00
renovate[bot] 8344006ee0 Update dependency fastlane to v2.227.1 2025-04-09 08:27:39 +03:00
Doug 177e1dd154 Add overrides for OIDC configuration. (#3910)
* Add overrides for OIDC configuration.

* Make sure we're linting more than just the main app.

* Fix the bundle command.
2025-03-19 11:18:20 +00:00
renovate[bot] e6598a8a19 Update dependency fastlane to v2.227.0 (#3900)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-14 08:53:41 +00:00
Doug 082b4b260c Include missing gems until Fastlane is updated for Ruby 3.4 (#3663) 2025-01-06 16:17:12 +00:00
renovate[bot] 016cdc687a chore(deps): update dependency fastlane to v2.226.0 (#3621)
* chore(deps): update dependency fastlane to v2.226.0

* Actually update it 🙄

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2024-12-16 10:37:51 +00:00
renovate[bot] 92ca7b5f3c Update dependency fastlane to v2.226.0 2024-12-13 09:58:33 +02:00
renovate[bot] 5e2ddf6402 Update dependency fastlane to v2.226.0 2024-12-12 08:28:16 +02:00
renovate[bot] 4931ad0ed3 Update dependency fastlane to v2.226.0 2024-12-11 13:36:53 +02:00
renovate[bot] ee2da536af Update dependency fastlane to v2.226.0 (#3600)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-11 08:58:08 +00:00
renovate[bot] dbe6485690 Update dependency fastlane to v2.225.0 2024-10-21 08:36:47 +03:00
renovate[bot] 8ba62f5ca0 chore(deps): update dependency fastlane to v2.224.0 (#3370) 2024-10-07 10:16:14 +01:00
renovate[bot] df6d0a999f chore(deps): update dependency fastlane to v2.223.1 (#3340)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 11:41:21 +01:00
renovate[bot] 3b8da1c92d chore(deps): update dependency fastlane to v2.223.0 2024-09-27 09:32:21 +03:00
renovate[bot] 9518e8a219 Update dependency fastlane to v2.222.0 (#3097)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 08:24:31 +01:00
Doug cdd763efd4 Add a certificate validator hook. (#3069)
* Add a certificate validator hook.

* General tidy up of AppHooks.

* Don't worry about the generic call links.
2024-07-19 17:05:54 +01:00
renovate[bot] bdaa50c28c Update dependency fastlane to v2.221.1 2024-06-20 08:29:33 +01:00
renovate[bot] 1ce8a743a1 Update dependency fastlane to v2.221.0 2024-06-18 12:36:41 +03:00
renovate[bot] 56eb524552 Update dependency fastlane to v2.220.0 2024-05-17 17:53:50 +03:00
Stefan Ceriu 83f5ae9192 Prefire multiple devices (#2543)
* Update Prefire, setup multiple snapshot devices and languages
Squashed commits:
[28cb4ae6d] Switch to macos-14, iOS 17 and the iPhone 15 simulator
[080fc82cb] Update snapshots
[c874ca9c7] Bump Compound and Prefire, reduce perceptual precission to 0.98
[a59b8a54c] Update snapshots after adding iPad and pseudolanguage snapshotting
[f30cc3277] Setup multi-language snapshotting
[aeb11c7e7] Update prefire template, setup multiple snapshot devices

* Update ruby dependencies and fastlane plugins

* Bump Compound, switch back to the original prefire - version 2.0.4

* Remove preview test simulator version specifiers
2024-03-12 13:08:54 +02:00
Doug 5f0c782ce2 Use xcresultparser in all workflows. (#2510)
* Fix integration tests.
2024-02-28 18:01:20 +00:00
Stefan Ceriu a2414256d4 Update ruby dependencies 2024-02-06 11:50:24 +02:00
Doug 56a9820ded Add remaining iOS 17 introspections. (#1806)
* Update compound.

* Update Ruby gems.

* Skip smudging in Fastlane.

* Link Git LFS for Xcode in setup-project.
2023-09-29 17:29:27 +01:00
Stefan Ceriu 612a28b7e2 Release script fixes: prevent sed from incorrectly matching other versions, correctly increment the path version past .9 which would previously increment the minor 2023-09-20 18:17:32 +03:00
Alfonso Grillo a7256bb486 Move Map Libre API key to Xcode Cloud (#1313)
* Add config_production lane

* Add maplibre to .gitignore

* Add setupMapLibreKey

* Add documentation

* Fix failing UTs

* Fix more UTs

* Cleanup

* Add secrets.xcconfig

* Cleanup gitignore file

* Update post-checkout hook

* Cleanup SetupProject

* Update project

* Remove leftover in SetupProject

* Cleanup project.yml

* Add fastlane-plugin-xcconfig

* Improve test

* Update docs
2023-07-14 10:19:38 +02:00
Stefan Ceriu 35f7ad199e Switch the diawi fastlane plugin to another source after original removal, update gems 2023-05-26 15:00:58 +03:00
Stefan Ceriu 521eeb2ecf Fix missing UI tests simulator (#860)
* Fix UI and integration tests missing simulators (older)

* Update fastlane and dependencies
2023-05-09 07:43:44 +03:00
Stefan Ceriu b0a7d05a8c BrowserStack support (#561)
* BrowserStack support

* Add fastlane step to automatically upload builds to BrowserStack

* Add error log for when Application Groups are not available

* Use better applicationSupportDirectory API
2023-02-10 16:52:15 +02:00
Stefan Ceriu ac77743c7a Add retry decryption encrypted timeline item debug menu option (#384)
* Fixed a couple of warnings (+2 squashed commits)
Squashed commits:
[21fbc3b0] Add changelog
[abb092c6] Add retry decryption encrypted timeline item debug menu option

* Cleanup room list state computations

* Bump the RustSDK to v1.0.25-alpha

* Fix brew CI errors: remove imagemagick and brew lock file entirely

* Fix release script version bumping

* Bump ruby dependencies
2022-12-22 13:59:38 +02:00
Stefan Ceriu 80babf1cd8 Xcode Cloud Support (#234)
* Removed now unnecessary code from alpha builds
* Add nightly build configuration
* Update ruby dependencies
* Stop changing the app name for PRs and Nightly, the icon is sufficient
* Add ITSAppUsesNonExemptEncryption flag as per https://developer.apple.com/documentation/bundleresources/information_property_list/itsappusesnonexemptencryption and https://stackoverflow.com/questions/35841117/missing-compliance-status-in-testflight
* Updated app groups to reflect various environments: production, nightly and PR. Remove keychain access group as they should be inferred from the access groups
2022-10-24 16:00:17 +03:00
Stefan Ceriu 7204ca5d45 Add xcode-install gem 2022-10-14 15:14:48 +03:00
Stefan Ceriu 78df4abc7f #49, #123 - Setup UI integration and performance testing (#148) 2022-08-18 16:32:29 +03:00
ismailgulek 2cb6dc1cd9 Screenshot tests (#130)
* #9 Add snapshot testing library

* #9 Create script to boot test simulators

* #9 Create the UI test plan

* #9 Create shared schemes for test targets

* #9 Disable split view for UI tests

* #9 Fix fastlane dependencies

* #9 Add snapshot testing to the application

* #9 assert screenshots

* #9 fix swipe gestures on iPad

* #9 Fix accessing items in session verification screen

* #9 Workaround for flaky unit test

* #9 Specify scheme for alpha build

* #9 Add reference screenshots

* Update python script path and check assets for png check

* Update script path

* Use static timezone for simulator time

* Fix build after SwiftFormat

* Add changelog

* Upload failed screenshots artifact

* Always upload artifacts

* Update boot simulator script

* Update simulator overridden time

* Install pytz before tests

* Get time from Ruby script

* Disable SwiftUI animation when running UI tests

* Update screenshots after animation setting

* Include reference images in the artifact

* Update matching precision

* Update image matching precision & revert artifact content

* Include Xcode result in the artifact

* Update test output directory

* Disable gradient on splash screen for tests

* Tap next button explicitly

* Wait a bit before checking alert

* Wait 1 second

* Run SwiftFormat on project

* Ignore temporary screenshots

* Fix most of the PR remarks

* Fix conflicts

* Bump Python version to 3

* Update reference screenshots for authentication screens

* Update SwiftFormat

* Fix flakey session verification test.

* Update scheme.

Co-authored-by: Doug <douglase@element.io>
2022-08-11 15:02:47 +03:00
Stefan Ceriu 2bb3dac803 Bump fastlane and dependencies 2022-07-25 14:48:24 +03:00
Stefan Ceriu 0a199ee611 Drop Mac catalyst support, update app version and tag format, update fastlane plugins 2022-07-01 14:46:04 +03:00