Commit graph

305 commits

Author SHA1 Message Date
Benoit Marty
302edb44dc
Merge pull request #6659 from vector-im/dependabot/gradle/flipper-0.156.0
Bump flipper from 0.154.0 to 0.156.0
2022-07-29 17:14:25 +02:00
Benoit Marty
619e5dd7d1 Try to use a token from ElementBot, to let PR created from fork be able to run this step. 2022-07-29 14:56:46 +02:00
Benoit Marty
3d722118ca Avoid running this workflow twice on PR. #6690 2022-07-29 13:19:18 +02:00
Benoit Marty
66fa285910 Call the correct command for knit
See https://github.com/Kotlin/kotlinx-knit#tasks
2022-07-29 10:02:40 +02:00
Benoit Marty
4d62e75c65 Get all the reports, in all the formats 2022-07-29 10:02:40 +02:00
Benoit Marty
b77475a3d9 Gradle daemon does not stop to get killed, try to split lint check in 2 steps 2022-07-29 10:02:40 +02:00
Benoit Marty
a062093acf Merge jobs that generate XML reports together
So that Danger can report all errors from generated XML files
2022-07-29 10:02:40 +02:00
Benoit Marty
630a981864 No need for ktlint comment, Danger will inline comment 2022-07-29 10:02:40 +02:00
Benoit Marty
56691f613e Setup Danger to Element Android project. 2022-07-29 10:02:40 +02:00
Benoit Marty
8019eb55fa
Add missing ) 2022-07-22 11:43:58 +02:00
Benoit Marty
9a143d99cb Update issue triage workflow. 2022-07-21 14:24:52 +02:00
Benoit Marty
6b0f8318b7 Nightly: fix issue in towncrier command. Add missing build 2022-07-20 23:39:37 +02:00
Kat Gerasimova
069c0c7cb4
Update issue automation for the design team (#6577)
* Update issue automation for the design team

The design team would like to see all of their issues on their board for triage now

* Update triage-labelled.yml
2022-07-18 17:14:34 +03:00
Benoit Marty
4ed24b5571
Merge pull request #6478 from vector-im/feature/bma/nightly
Nightly build published on Firebase
2022-07-18 14:22:15 +02:00
Benoit Marty
7ab7d7cc80 Comment the GHA towncrier, there is a syntax error 2022-07-12 10:29:49 +02:00
Benoit Marty
d524f1a7d4 Group if together 2022-07-11 17:03:09 +02:00
Benoit Marty
6feca4badf Indentation, move comment above the block. 2022-07-11 12:41:17 +02:00
Benoit Marty
63419fcf5e Do the check on towncrier only for PR targeting develop branch 2022-07-11 12:38:45 +02:00
Benoit Marty
1fd0fe504d Format file 2022-07-11 12:37:35 +02:00
Benoit Marty
cdaec0e293 Add GitHub action to build and publish the nightly build. 2022-07-06 15:38:06 +02:00
Benoit Marty
1e0799d5b0 shorter name 2022-07-06 11:53:13 +02:00
Benoit Marty
0776d394bc Add GitHub action to check for a towncrier file 2022-07-06 11:51:30 +02:00
Benoit Marty
e44c9aa126 Try no using the gradle daemon on CI 2022-06-28 15:36:07 +02:00
Benoit Marty
dc63d41c97 Harmonize values of CI_GRADLE_ARG_PROPERTIES 2022-06-28 15:35:04 +02:00
Adam Brown
eef904b3d5 applying jvm memory settings to CI linting tasks
- should stop the task crashing on the CI
2022-06-23 16:35:37 +01:00
Adam Brown
42be961681 applying sanity test filter to the start params 2022-06-21 09:15:28 +01:00
Adam Brown
a76b6e522b splitting unit and instrumentation test tasks so that we can configure the android plugin testCoverage parameter
- there's a bug that causes the output to be invalid for unit tests
2022-06-21 09:15:27 +01:00
Benoit Marty
663812b90b Format file 2022-06-17 15:21:23 +02:00
Benoit Marty
daa571957a Replace task by much faster dependencyCheckAnalyze 2022-06-17 13:20:37 +02:00
Benoit Marty
ee23118079
Merge pull request #6298 from vector-im/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-06-15 21:52:18 +02:00
Michael Kaye
063f082fac Run exodus on all PR branches.
Build the release APK for each PR commit, run exodus against that APK.
2022-06-15 11:41:46 +01:00
dependabot[bot]
7908c4ba2e
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 23:05:19 +00:00
Michael Kaye
d84b768db3 Don't run tests in the UI folder for coverage. 2022-06-09 23:58:50 +01:00
Kat Gerasimova
8fb6957bc0 Fix triage automation 2022-06-09 13:17:01 +01:00
Michael Kaye
10125f4738
Merge pull request #6111 from vector-im/michaelk/sonarqube_fixes
Sonarqube including coverage on each PR.
2022-06-07 09:44:00 +01:00
Michael Kaye
23324990c0 Fix and/&& mixup 2022-06-06 17:55:12 +01:00
Michael Kaye
e9cb417cef We still might be flaky; retry entire test run if so. 2022-06-06 17:43:30 +01:00
Michael Kaye
56608d564e Retry ALL THE THINGS, and always send sonarqube 2022-06-06 17:08:02 +01:00
Germain Souquet
3b680e27e8 Fix label name 2022-06-01 11:46:51 +01:00
Germain Souquet
de3e0acb56 move issues with the team delight label 2022-06-01 11:37:33 +01:00
Germain Souquet
0287153e56 Remove spaces issues to delight board automation 2022-06-01 10:04:47 +01:00
Olivér Falvai
2802a714ab Fix concurrency group 2022-05-26 08:36:12 +02:00
Michael Kaye
fd5b7099af Add commented out version of building integration tests for reference. 2022-05-25 14:10:50 +01:00
Michael Kaye
ba109a486f Update to build scripts to enable sonarqube reporting including coverage. 2022-05-25 13:35:40 +01:00
Olivér Falvai
f036d35829 Merge branch 'develop' into dependency-cleanup 2022-05-19 12:27:09 +02:00
Olivér Falvai
4290945118 Enable parallelism 2022-05-19 12:09:45 +02:00
Olivér Falvai
bc050d3030 Tweak JVM memory settings 2022-05-19 12:08:17 +02:00
Olivér Falvai
464735f829 Move dependency analysis to its own job 2022-05-19 11:31:32 +02:00
Olivér Falvai
c093b3476f Limit parallel Gradle tasks 2022-05-19 10:57:06 +02:00
Olivér Falvai
86663ec073 Fine tune dependency analysis, add CI workflow 2022-05-18 18:47:52 +02:00
Michael Kaye
1c7f95c196 Add .login to get the username of the PR merger.
I dispair at the github actions docs.
2022-05-17 17:40:42 +01:00
Benoit Marty
d562ab35ad Setup Knit in the CI to check content of md files 2022-05-16 12:23:10 +02:00
Benoit Marty
7051385c3f
Merge pull request #6044 from vector-im/michaelk/ensure_github_user_in_pr_merge_message
Ensure we print the user in the post-PR merge tests.
2022-05-16 11:23:35 +02:00
Michael Kaye
251e3a0a83 Ensure we print the user in the post-PR merge tests. 2022-05-13 10:40:03 +01:00
Benoit Marty
824f029e20 "TODO:" is forbidden by Detekt 2022-05-12 17:06:52 +02:00
Benoit Marty
911bfe2081 Let GA run detekt 2022-05-12 17:02:22 +02:00
Benoit Marty
a963596a59
Merge pull request #6022 from vector-im/feature/bma/gh_pages
Gh pages
2022-05-11 14:28:19 +02:00
Michael Kaye
3769dad30e Github action should refer to result is 'success', not status is "success". 2022-05-11 11:09:01 +01:00
Benoit Marty
79982af8d1 Revert "Temporary trigger the doc generation on pull request to check the workflow"
This reverts commit 7f2484ca4c.
2022-05-11 11:47:36 +02:00
Benoit Marty
7f2484ca4c Temporary trigger the doc generation on pull request to check the workflow 2022-05-11 11:15:46 +02:00
Benoit Marty
a7d85cf9fd Setup GitHub action to generate the documentation of the SDK from develop branch 2022-05-11 11:00:24 +02:00
Michael Kaye
2f39be37a0 Check merged flag from event.pull_request 2022-05-09 15:46:07 +01:00
Michael Kaye
80263bb790 Use ' not " for quotes, and add more brackets. 2022-05-09 15:35:07 +01:00
Michael Kaye
66fe792d0e Fix typo .. -> . 2022-05-09 15:15:09 +01:00
Michael Kaye
4d1378d0a1 Fix typo - pull-request -> pull_request 2022-05-09 15:12:29 +01:00
Michael Kaye
39c2b08065
Run the PR test after merge and report to channel if it fails (#5962)
* Fork sonarqube run into a nightly build, report failures back to channel.
* Each PR triggers a build after merge, report failures back to channel.
2022-05-09 13:49:34 +00:00
Michael Kaye
fb19d6b83c Try ensuring public_baseurl set correctly. 2022-05-05 14:35:54 +01:00
Michael Kaye
3a9f0232f0 Fix nightly build test report message. 2022-05-04 16:13:44 +01:00
Michael Kaye
48554a4769 Update version to fix name of parameter 'ratelimit' 2022-05-04 14:57:08 +01:00
Benoit Marty
8ff7acaec5
Merge pull request #5832 from vector-im/feature/manu/elementx_gh_workflow
Add a GH workflow to push ElementX issues to the global board
2022-04-26 16:18:57 +02:00
Claire G
40f3165d7f update comment 2022-04-26 15:13:27 +02:00
Claire G
766059ffd1 disable update-gradle-wrapper for forks 2022-04-26 15:11:18 +02:00
manuroe
d2f6f0fa92 Add a GH workflow to push ElementX issues to the global board
https://github.com/orgs/vector-im/projects/43
2022-04-25 11:11:09 +02:00
Kat Gerasimova
e3198e5b25 Update issue labelling automation
Don't label A-Threads with Z-Labs any more because threads have been released
2022-04-25 08:41:05 +01:00
Claire G
683cc599ca disable triage-move-review-requests for forks 2022-04-22 16:19:15 +02:00
Michael Kaye
2951077979
Merge pull request #5672 from vector-im/michaelkaye/use_hookshot
Move to using hookshot to send notifications, rather than using matrix client directly.
2022-04-21 17:27:44 +01:00
Benoit Marty
4adb469b38
Merge pull request #5741 from vector-im/dependabot/github_actions/actions/upload-artifact-3
Bump actions/upload-artifact from 2 to 3
2022-04-12 17:01:22 +02:00
dependabot[bot]
77dd697f53
Bump actions/upload-artifact from 2 to 3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:08:54 +00:00
dependabot[bot]
4779dd1b0b
Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:08:51 +00:00
Michael Kaye
a648a06ad1 Update to latest setup-matrix-synapse 2022-04-06 10:07:58 +01:00
Michael Kaye
acc9874bdf Move to using hookshot to send notifications, rather than logging into matrix room. 2022-03-30 16:46:44 +01:00
Adam Brown
abbf798ccf
Merge pull request #5655 from vector-im/dependabot/github_actions/peter-evans/find-comment-2
Bump peter-evans/find-comment from 1 to 2
2022-03-29 12:00:24 +01:00
Adam Brown
dedbce8458
Merge pull request #5654 from vector-im/dependabot/github_actions/peter-evans/create-pull-request-4
Bump peter-evans/create-pull-request from 3 to 4
2022-03-29 12:00:15 +01:00
Adam Brown
181c20d601
Merge pull request #5656 from vector-im/dependabot/github_actions/peter-evans/create-or-update-comment-2
Bump peter-evans/create-or-update-comment from 1 to 2
2022-03-29 11:59:59 +01:00
dependabot[bot]
6269a3357b
Bump peter-evans/create-or-update-comment from 1 to 2
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:38 +00:00
dependabot[bot]
01bb49d963
Bump peter-evans/find-comment from 1 to 2
Bumps [peter-evans/find-comment](https://github.com/peter-evans/find-comment) from 1 to 2.
- [Release notes](https://github.com/peter-evans/find-comment/releases)
- [Commits](https://github.com/peter-evans/find-comment/compare/v1...v2)

---
updated-dependencies:
- dependency-name: peter-evans/find-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:35 +00:00
dependabot[bot]
a7cd03d578
Bump peter-evans/create-pull-request from 3 to 4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 23:04:32 +00:00
Michael Kaye
3182c60d13 Quoe 'schedule' correctly. 2022-03-24 13:42:25 +00:00
Michael Kaye
164ac0ee80
Update nightly.yml
Clean up formatting of if
2022-03-24 13:40:52 +00:00
Michael Kaye
3525d82733 Make test use quoted strings 2022-03-24 13:39:28 +00:00
Michael Kaye
f7f115e4dc Be clearer on which test run we're running & don't run sonarqube on release branches. 2022-03-23 15:19:30 +00:00
Michael Kaye
669d00c02a Only run sonar on nightly runs 2022-03-23 15:15:30 +00:00
Benoit Marty
d5a89fc4aa
Merge pull request #5599 from vector-im/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2 to 3
2022-03-23 10:23:29 +01:00
dependabot[bot]
13d0b23663
Bump michaelkaye/setup-matrix-synapse from 0.3.0 to 0.4.0
Bumps [michaelkaye/setup-matrix-synapse](https://github.com/michaelkaye/setup-matrix-synapse) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/michaelkaye/setup-matrix-synapse/releases)
- [Commits](https://github.com/michaelkaye/setup-matrix-synapse/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: michaelkaye/setup-matrix-synapse
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:03:32 +00:00
dependabot[bot]
6fd207764d
Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:03:30 +00:00
Michael Kaye
4a8aeadbcf
Merge pull request #5471 from vector-im/michaelk/ci_script_improvements
CI Script improvements
2022-03-21 15:06:11 +00:00
Michael Kaye
c687252fb6
Update .github/workflows/nightly.yml 2022-03-21 14:31:17 +00:00
Michael Kaye
9a532fc47f Use different tags for unit tests and android test compilation.
Otherwise we will cancel one in favour of the other.
2022-03-11 16:47:40 +00:00
Benoit Marty
02ea1c0e7c
Add space between icon and name
Also remove extra space for the text_template
2022-03-11 14:39:38 +01:00
Michael Kaye
9a112bb010 Remove confetti from build failed message.
(there will be red icons if the build has failed in the body anyway)
2022-03-11 08:45:27 +00:00