Commit Graph

299 Commits

Author SHA1 Message Date
ganfra 475a3a2861 Release : use a different concurrency group for enterprise build. 2024-08-28 17:01:36 +02:00
Benoit Marty 1fbb36eb72 Update Gradle: Change the token used by the action so workflows are triggered in the resulting PR 2024-08-20 10:25:36 +02:00
Benoit Marty a748aa7b20 Update Gradle: add label PR-Dependencies to PR it creates. 2024-08-20 10:18:08 +02:00
Benoit Marty abd1a51453 Update Gradle: ddd workflow_dispatch 2024-08-20 09:33:37 +02:00
Benoit Marty fae13290eb Gradle update action: Use JDK 17 and skip early in forks. 2024-08-20 09:24:21 +02:00
renovate[bot] 250f0706fb Update gradle/actions action to v4 (#3265)
* Update gradle/actions action to v4

* Remove unnecessary gradle validation after action update to v4

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-08-09 15:03:14 +02:00
Jorge Martin Espinosa cbad91e4c4 Fix CI for forks (#3226)
* Try with a different condition for forks

* Skip danger in forks, the fallback token won't let it write comments in PRs anyway
2024-07-19 17:46:56 +02:00
Jorge Martin Espinosa 5eef7c13b0 Only add private SSH keys and clone submodules in the original repo (#3225) 2024-07-19 17:25:49 +02:00
Jorge Martin Espinosa b0cebf5ca0 Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty 5218b75275 Fix Element Enterprise nightly build: towncrier is gone. 2024-07-02 14:28:59 +02:00
Benoit Marty 6c4e7ec85e Merge pull request #3025 from element-hq/feature/bma/elementEnterprise
Element enterprise (EE) foundations
2024-07-01 17:08:40 +02:00
Benoit Marty 7d3c447145 Do not clone submodules in forks. 2024-07-01 12:20:15 +02:00
Benoit Marty 790c0aa0c0 Fix typo 2024-06-27 14:00:43 +02:00
Benoit Marty 124e31933c Iterate on pr notice. 2024-06-27 12:06:59 +02:00
Benoit Marty a565a0396f Remove towncrier invocation when building nightly. 2024-06-27 11:52:38 +02:00
Benoit Marty 8a609c4ab5 Add label PR-Misc to PR created to sync SAS strings. 2024-06-27 11:43:02 +02:00
Benoit Marty e13f9affd6 Add label PR-i18n to PR created during Localazy sync. 2024-06-27 11:42:10 +02:00
Benoit Marty 44cd30233c Skip build Element Enterprise on forks. 2024-06-27 09:35:33 +02:00
Benoit Marty b6dc9a5452 Remove useless if, this workflow is not triggered when pushing the main branch. 2024-06-27 09:34:49 +02:00
Benoit Marty b345f0eb8e Run tests on Element Enterprise modules. 2024-06-26 11:59:44 +02:00
Benoit Marty 51b98aa5c4 Apply quality checks to Element Enterprise modules. 2024-06-26 11:59:43 +02:00
Benoit Marty 607599d89f Use deploy key to build Element Enterprise 2024-06-26 11:59:43 +02:00
Benoit Marty 08ea193a95 Use deploy key to build Element Enterprise 2024-06-26 11:59:42 +02:00
Benoit Marty 237917419a CI: release Element Enterprise 2024-06-26 11:59:42 +02:00
Benoit Marty dffd7fc39a CI: build Element Enterprise nightly 2024-06-26 11:59:42 +02:00
Benoit Marty dccb3877d8 CI: build Element Enterprise 2024-06-26 11:59:41 +02:00
renovate[bot] b90521e53f Update danger/danger-js action to v12.3.3 (#3059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 15:38:49 +02:00
renovate[bot] 13b5170a7d Update danger/danger-js action to v12.3.2 2024-06-19 08:14:28 +00:00
Benoit Marty 303642bb8e Fix script on CI 2024-06-14 10:27:03 +02:00
Benoit Marty d43d0cda9e Add Python script to check for invalid dependencies - keeping the existing errors to check that the CI works as expected. 2024-06-14 09:29:23 +02:00
Jorge Martin Espinosa c9e0db26d8 Try to workaround OOM errors and the runners dying (#3013)
* Try to workaround OOM errors and the runner dying

* Some more tweaks:

- Add `-XX:MaxMetaspaceSize` (https://github.com/gradle/gradle/issues/19750)
- Remove `-PpreDexEnable` as it's deprecated and no longer used.
- Remove `--max-workers` as gradle will automatically use the optimal amount.

* Remove `--max-workers` in recording screenshots too
2024-06-12 15:35:51 +02:00
Benoit Marty 060b733ce4 shellcheck: only fails on warnings for now. 2024-06-11 17:51:32 +02:00
Benoit Marty 0ddf2ba7b2 shellcheck: only fails on error for now. 2024-06-11 17:50:45 +02:00
Benoit Marty e0da4d6bf0 Add shellcheck to quality checks 2024-06-11 15:22:12 +02:00
ganfra d162e5e838 CI : try to fix the release script for fdroid 2024-06-07 13:46:42 +02:00
renovate[bot] c612b25def Update danger/danger-js action to v12.3.1 2024-06-05 07:23:05 +00:00
Jorge Martin Espinosa 58c05ade65 Try fixing OOM by changing GC and adding RAM to the kotlin compiler (#2965)
* Try fixing OOM by changing GC and adding RAM to the kotlin compiler

* Add gradle cache to build apk job in maestro flow.

- Remove unnecessary dependency in `:features:call` module.

* Fix sonar in nightly reports

* Bump heap size of nightly reports
2024-06-03 11:28:51 +02:00
Jorge Martin Espinosa bb672d3bc7 Bump max heap size for building the debug APK for Maestro (#2960)
* Bump max heap size for building the debug APK for Maestro
* Enable `sonar.gradle.skipCompile`
* Fix sonar job
* Bump the MaxMetaspaceSize
* Don't try to upload failed test results to codecov, it doesn't work
2024-05-31 14:44:33 +00:00
Benoit Marty af76843b9c Merge pull request #2908 from element-hq/renovate/danger-danger-js-12.x
Update danger/danger-js action to v12.3.0
2024-05-27 12:16:56 +02:00
renovate[bot] 3f7e689a65 Update danger/danger-js action to v12.3.0 2024-05-24 08:03:41 +00:00
Benoit Marty 294ecad159 Update GA name 2024-05-23 16:51:39 +02:00
ganfra 06d5376adc CI : fix release workflow - concurrency group 2024-05-22 11:46:42 +02:00
Benoit Marty d2a43392bb Let the CI build APKs for FDroid release. 2024-05-21 14:30:19 +02:00
Jorge Martin Espinosa 29723a691e Try to fix CI quality flow (#2880)
* Fix CI quality step:
    - Remove the `onCheck` property in the different Kover verify variants in case they caused this.
    - Try splitting quality flow per check to avoid OOM issues.
2024-05-20 12:15:43 +02:00
renovate[bot] bb96eea4bd Update kotlin to v0.8.0 (#2854)
* Update kotlin to v0.8.0

* Adapt our setup to `v0.8.0`'s changes

* Make sure verification tasks run on `check` tasks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-05-17 17:07:19 +02:00
Benoit Marty 594d47ee0d Use Python 3.12 to be able to use match structure. 2024-05-13 12:08:05 +02:00
Jorge Martin Espinosa 0ed4109c70 Split Maestro CI flow in 2 jobs. (#2823)
* Split Maestro CI flow in 2 jobs.

This way, if the Maestro test fails for some runtime reason we don't have to build the APK again to re-test it.
2024-05-09 10:25:53 +02:00
renovate[bot] 740571baf3 Update danger/danger-js action to v12.2.0 (#2804)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-06 17:25:28 +02:00
Benoit Marty 6ff1af3276 Add Explicit list of supported languages, generated from Localazy data. 2024-05-06 14:51:19 +02:00
Jorge Martin Espinosa 988057925a Split building the debug APK in CI (#2774)
* Split building the debug APK in CI

* Split building the debug APK in CI

* Upload only universal APK to save time
2024-04-30 18:42:30 +02:00