Commit Graph

78 Commits

Author SHA1 Message Date
Jorge Martin Espinosa 7e37bf4a36 Try adding a memory limit for the kotlin compiler (#3377)
* Try adding a memory limit for the kotlin compiler

* Tweak values for all flows
2024-09-04 19:33:50 +00: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
Benoit Marty 7d3c447145 Do not clone submodules in forks. 2024-07-01 12:20:15 +02:00
Benoit Marty 51b98aa5c4 Apply quality checks to Element Enterprise modules. 2024-06-26 11:59:43 +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
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
renovate[bot] 3f7e689a65 Update danger/danger-js action to v12.3.0 2024-05-24 08:03:41 +00: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
Benoit Marty 594d47ee0d Use Python 3.12 to be able to use match structure. 2024-05-13 12:08:05 +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
renovate[bot] a427d2ea6c Update danger/danger-js action to v12 2024-04-16 19:44:41 +00:00
Jorge Martin Espinosa 57e6db8144 Move Konsist tests to quality checks (#2558)
* Move `Konsist` tests to quality checks

This should also help us avoid running them for every single test task, including Kover.

* Fix upload report path filter
2024-03-15 18:03:13 +01:00
Benoit Marty cc6aeb057e Add a script to check invalid screenshot(s). 2024-03-07 13:49:58 +01:00
Jorge Martin Espinosa edf01cf8a7 Bump CI max JVM heap size and CPU usage (#2444)
* Bump CI max JVM heap size and CPU usage

* Bump Heap size a bit more for `build`

* Bump Heap size for tests too
2024-02-27 11:26:56 +01:00
Benoit Marty eba1571ad0 Migrate form gradle/gradle-build-action to gradle/actions/setup-gradle
https://github.com/gradle/gradle-build-action
2024-02-01 14:53:28 +01:00
renovate[bot] 6a96bcb07a Update gradle/gradle-build-action action to v3 2024-01-31 11:34:52 +00:00
renovate[bot] a98749bad7 Update gradle/gradle-build-action action to v2.12.0 2024-01-24 22:25:02 +00:00
renovate[bot] 275e56b39e Update gradle/gradle-build-action action to v2.11.1 2023-12-20 06:42:17 +00:00
renovate[bot] cabea138cb Update actions/upload-artifact action to v4 (#2034)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 18:58:03 +01:00
renovate[bot] 7ccfb810d6 Update gradle/gradle-build-action action to v2.11.0 2023-12-13 07:34:48 +00:00
renovate[bot] fc784d3587 Update danger/danger-js action to v11.3.1 2023-12-07 17:39:06 +00:00
renovate[bot] 2ea79709d1 Update actions/setup-java action to v4 2023-11-29 16:04:07 +00:00
renovate[bot] 2ba771dcb7 Update gradle/gradle-build-action action to v2.10.0 2023-11-27 09:30:38 +00:00
renovate[bot] 9e66180d20 Update kotlin (#1697)
* Update kotlin

* Lower Sonar RAM usage, remove redundant `Dkotlin.daemon.jvm.options`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-11-08 12:58:14 +00:00
Jorge Martin Espinosa b57fddf19c Lower max RAM usage for gradle to avoid CI issues (#1766) 2023-11-08 09:45:55 +00:00
Jorge Martin Espinosa 1f5a135072 Use Parallel GC and bump RAM usage (#1734)
* Use Parallel GC and bump RAM usage

* Build only `app` project in `Build APKs (debug)` flow.

* Remove redundant JNA dependency
2023-11-03 10:34:49 +01:00
renovate[bot] 7a158f06b3 Update gradle/gradle-build-action action to v2.9.0 2023-10-01 01:04:40 +00:00
renovate[bot] ee901c70a2 Update gradle/gradle-build-action action to v2.8.1 (#1426)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 21:10:42 +02:00
renovate[bot] ea0103dccf Update danger/danger-js action to v11.3.0 2023-09-22 16:42:07 +00:00
Benoit Marty 3d0c5e729b Merge pull request #1220 from vector-im/renovate/actions-checkout-4.x
Update actions/checkout action to v4
2023-09-11 16:41:30 +02:00
Benoit Marty 995d4e9f6d Just try using actions/checkout@v4 2023-09-11 14:51:12 +02:00
Jorge Martin Espinosa e19b27badf De-duplicate sonar job in the CI (#1238)
* De-duplicate sonar job in the CI

* Remove workaround for `src/*/kotlin` folders

* Downgrade the sonarqube plugin version

* Try increasing workers for this job, since it's quite slow

* Warn about regression in latest sonarqube release

* Forbid backups to prevent cryptographic issues
2023-09-07 11:19:13 +00:00
renovate[bot] ff3fd793ff Update actions/checkout action to v4 2023-09-04 12:50:03 +00:00
renovate[bot] 6596f5ec48 Update gradle/gradle-build-action action to v2.8.0 2023-08-28 19:24:00 +00:00
renovate[bot] 18f82c7329 Update gradle/gradle-build-action action to v2.7.1 2023-08-19 02:06:53 +00:00
Jorge Martín ccacb118a1 Revert merge queue CI optimizations 2023-08-17 17:17:03 +02:00
renovate[bot] 456bc09edf Update danger/danger-js action to v11.2.8 (#1008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 09:47:09 +00:00
Jorge Martin Espinosa b14c741422 CI improvements (#1012) 2023-07-31 21:05:28 +02:00
Jorge Martin Espinosa ca3e284991 Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue.

* Try to simplify check

* Remove expression syntax from `if`s
2023-07-31 15:19:51 +00:00