summary refs log tree commit diff
path: root/.github (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bump peaceiris/actions-gh-pages from 3.9.1 to 3.9.2 (#14861)dependabot[bot]2023-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Bump peaceiris/actions-gh-pages from 3.9.1 to 3.9.2 Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.1 to 3.9.2. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/64b46b4226a4a12da2239ba3ea5aa73e3163c75b...bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Require poetry>=1.3.2 (#14860)David Robertson2023-01-174-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Upgrade to new lockfile format Now requires poetry >= 1.2.2 to read and poetry >= 1.3.0 to write. Cheat sheet: ``` poetry --version poetry show > scratch/before pipx upgrade poetry poetry --version poetry show > scratch/after diff scratch{before,after} && echo "no change!" ``` * Use Poetry 1.3.2 when reading or writing lockfile * Remove unneeded(?) poetry dep for cibuildwheel * Update docs * Remove redundant call to setup-python * Remove outdated comments related to Poetry 1.x * Remove outdated docs line was fixed in #13082 * Minor improvements to poetry cheat sheet * Invoke setup-python-poetry with explicit version Not sure about this. It's hardcoding versions everywhere. * Changelog * Check the lockfile is version 2.0 Might one day incorporate other checks like #14742 * Typo fixes, thanks Sean Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
* Skip testing pypy-3.7-linux wheels as we don't have openssl 3.x on ↵Andrew Morgan2023-01-091-1/+1
| | | | manylinux2014 (#14802)
* Bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1 (#14791)dependabot[bot]2023-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1 Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.0 to 3.9.1. - [Release notes](https://github.com/peaceiris/actions-gh-pages/releases) - [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-gh-pages/compare/de7ea6f8efb354206b205ef54722213d99067935...64b46b4226a4a12da2239ba3ea5aa73e3163c75b) --- updated-dependencies: - dependency-name: peaceiris/actions-gh-pages dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Use `htmltest` to check links in the Synapse documentation. (#14743)reivilibre2023-01-051-0/+26
| | | | | | | | | * Add htmltest to check links in the documentation * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Bump JasonEtco/create-an-issue from 2.8.2 to 2.9.1 (#14731)dependabot[bot]2023-01-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Bump JasonEtco/create-an-issue from 2.8.2 to 2.9.1 Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.8.2 to 2.9.1. - [Release notes](https://github.com/JasonEtco/create-an-issue/releases) - [Commits](https://github.com/JasonEtco/create-an-issue/compare/3a8ba796516b57db8cb2ee6dfc65bc76cd39d56d...e27dddc79c92bc6e4562f268fffa5ed752639abd) --- updated-dependencies: - dependency-name: JasonEtco/create-an-issue dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com> Co-authored-by: reivilibre <oliverw@matrix.org> Co-authored-by: Mathieu Velten <mathieuv@matrix.org>
* Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3 (#14779)dependabot[bot]2023-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump dawidd6/action-download-artifact from 2.24.2 to 2.24.3 Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.24.2 to 2.24.3. - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/e6e25ac3a2b93187502a8be1ef9e9603afc34925...bd10f381a96414ce2b13a11bfa89902ba7cea07f) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Use env vars in GHA dependabot changelog (#14772)Erik Johnston2023-01-041-2/+5
|
* Switch to ruff instead of flake8. (#14633)Patrick Cloke2022-12-211-1/+1
| | | | | ruff is a flake8-compatible Python linter written in Rust. It supports the flake8 plugins that we use and is significantly faster in testing.
* Bump JasonEtco/create-an-issue from 2.8.1 to 2.8.2 (#14693)dependabot[bot]2022-12-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Bump JasonEtco/create-an-issue from 2.8.1 to 2.8.2 Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.8.1 to 2.8.2. - [Release notes](https://github.com/JasonEtco/create-an-issue/releases) - [Commits](https://github.com/JasonEtco/create-an-issue/compare/77399b6110ef82b94c1c9f9f615acf9e604f7f56...3a8ba796516b57db8cb2ee6dfc65bc76cd39d56d) --- updated-dependencies: - dependency-name: JasonEtco/create-an-issue dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Unit tests CI speedup (#14610)realtyem2022-12-071-3/+7
|
* Bump JasonEtco/create-an-issue from 2.5.0 to 2.8.1 (#14607)dependabot[bot]2022-12-022-2/+2
| | | | | | | | | | | | | | | | | | | | | | * Bump JasonEtco/create-an-issue from 2.5.0 to 2.8.1 Bumps [JasonEtco/create-an-issue](https://github.com/JasonEtco/create-an-issue) from 2.5.0 to 2.8.1. - [Release notes](https://github.com/JasonEtco/create-an-issue/releases) - [Commits](https://github.com/JasonEtco/create-an-issue/compare/5d9504915f79f9cc6d791934b8ef34f2353dd74d...77399b6110ef82b94c1c9f9f615acf9e604f7f56) --- updated-dependencies: - dependency-name: JasonEtco/create-an-issue dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Fix Rust lint CI (#14602)Erik Johnston2022-12-021-1/+23
|
* Fix GHA job for pushing the complement-synapse image (#14573)David Robertson2022-11-291-7/+13
| | | Co-authored-by: Michael Kaye <1917473+michaelkaye@users.noreply.github.com>
* Push complement image to a docker registry (#14509)Michael Kaye2022-11-281-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GHA workflow to build complement images of key branches. * Add changelog.d * GHA workflow to build complement images of key branches. * Add changelog.d * Update complement.yml Remove special casing for michaelk branch. * Update complement.yml Should run on master, develop not main, develop * Rename file to be more obvious * Merge did not go correctly. * Setup 5am builds of develop, limit to one run at once. * Fix crontab---run once at 5AM, not very minute between 5 and 6 * Fix cron syntax again? * Tweak workflow name * Allow manual debug runs * Tweak indentation Ctrl-Alt-L in PyCharm Co-authored-by: David Robertson <david.m.robertson1@gmail.com> Co-authored-by: David Robertson <davidr@element.io>
* Run Rust CI when Cargo.lock changes too (#14571)David Robertson2022-11-281-0/+1
| | | | | * Run Rust CI when Cargo.lock changes too * Changelog
* Bump dtolnay/rust-toolchain from 55c7845fad90d0ae8b2e83715cb900e5e861e8cb to ↵dependabot[bot]2022-11-283-13/+13
| | | | | | | | | | | | | | | | | | | | | | | e645b0cf01249a964ec099494d38d2da0f0b349f (#14557) * Bump dtolnay/rust-toolchain Bumps [dtolnay/rust-toolchain](https://github.com/dtolnay/rust-toolchain) from 55c7845fad90d0ae8b2e83715cb900e5e861e8cb to e645b0cf01249a964ec099494d38d2da0f0b349f. - [Release notes](https://github.com/dtolnay/rust-toolchain/releases) - [Commits](https://github.com/dtolnay/rust-toolchain/compare/55c7845fad90d0ae8b2e83715cb900e5e861e8cb...e645b0cf01249a964ec099494d38d2da0f0b349f) --- updated-dependencies: - dependency-name: dtolnay/rust-toolchain dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Add more prompts to bug report form (#14522)David Robertson2022-11-221-2/+43
|
* Make Dependabot only bump Rust deps in the lock file (#14434)Erik Johnston2022-11-141-0/+1
| | | This is to help downstream packagers.
* Bump actions/upload-artifact from 2 to 3 (#14425)dependabot[bot]2022-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | * 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> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Bump dawidd6/action-download-artifact from 2.24.1 to 2.24.2 (#14424)dependabot[bot]2022-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump dawidd6/action-download-artifact from 2.24.1 to 2.24.2 Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.24.1 to 2.24.2. - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/b12b127cf24433d14b4f93cee62f5465076ba82a...e6e25ac3a2b93187502a8be1ef9e9603afc34925) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Bump dawidd6/action-download-artifact from 2.24.0 to 2.24.1 (#14398)dependabot[bot]2022-11-091-1/+1
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com> Co-authored-by: reivilibre <oliverw@matrix.org>
* Test against PostgreSQL 15 in CI (#14394)Sean Quah2022-11-091-1/+10
| | | | | Resolves #14170. Signed-off-by: Sean Quah <seanq@matrix.org>
* Remove support for PostgreSQL 10 (#14392)Sean Quah2022-11-081-1/+1
| | | Signed-off-by: Sean Quah <seanq@matrix.org>
* Bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (#14379)dependabot[bot]2022-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook) from 1.1.14 to 1.2.0. - [Release notes](https://github.com/peaceiris/actions-mdbook/releases) - [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md) - [Commits](https://github.com/peaceiris/actions-mdbook/compare/v1.1.14...adeb05db28a0c0004681db83893d56c0388ea9ea) --- updated-dependencies: - dependency-name: peaceiris/actions-mdbook dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Bump dawidd6/action-download-artifact from 2.15.0 to 2.24.0 (#14378)dependabot[bot]2022-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump dawidd6/action-download-artifact from 2.15.0 to 2.24.0 Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.15.0 to 2.24.0. - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/af92a8455a59214b7b932932f2662fdefbd78126...46b4ae883bf0726f5949d025d31cb62c7a5ac70c) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Fix the trigger path for deploying documentation PRs (#14370)Brendan Abolivier2022-11-041-1/+1
| | | This was missed from #12947
* Upload documentation PRs to Netlify (#12947)Michael Telatynski2022-11-042-0/+68
| | | | | | Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Erik Johnston <erik@matrix.org> Co-authored-by: David Robertson <davidr@element.io> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Use maintained action to install Rust in latest deps/twisted trunk jobs (#14351)David Robertson2022-11-022-18/+12
| | | | | | | * Use maintained action to install Rust Part of #14203. Like the changes in #14313. * Changelog
* Fix issue automation for Needs-Info (#14343)Kat Gerasimova2022-11-011-27/+27
| | | | | Run when an issue is labelled with X-Needs-Info only. Add to triage board. Use itemId which is output by actions/add-to-project to run the mutation to update the field value (i.e. move to the right column).
* Deal with another batch of GHA warning messages (#14313)David Robertson2022-11-011-16/+38
|
* Run trial tests against Python 3.11 (#13812)David Robertson2022-11-011-1/+1
|
* Use poetry 1.2 for complement in latest deps (#14305)David Robertson2022-10-261-2/+1
|
* Cache rust build deps in trial CI (#14287)Erik Johnston2022-10-251-0/+8
|
* Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0 (#14276)dependabot[bot]2022-10-241-1/+1
|
* Bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 (#14275)dependabot[bot]2022-10-241-1/+1
|
* Build wheels on macos 11, not 10.15 (#14249)David Robertson2022-10-201-3/+3
|
* Use backend-meta edition of issue triage workflow (#14230)Will Hunt2022-10-191-21/+8
|
* Add aarch64 wheels to CI (#14212)MichaIng2022-10-181-5/+25
| | | Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
* Fixes to release-artifacts warnings (#14224)David Robertson2022-10-181-0/+4
|
* Deal with some GHA deprecation warnings (#14216)David Robertson2022-10-182-2/+2
|
* Merge remote-tracking branch 'origin/release-v1.69' into developPatrick Cloke2022-10-141-1/+6
|\
| * Revert "Disable push of docker images"Erik Johnston2022-10-141-1/+1
| | | | | | | | This reverts commit f3f303aa22b9681c21468fb0bdce1b21d1bdbd92.
| * Fix docker workflowErik Johnston2022-10-141-3/+5
| |
| * Disable push of docker imagesErik Johnston2022-10-141-1/+1
| |
| * Fix docker build OOMing in CI for arm64 builds (#14173)Erik Johnston2022-10-131-1/+4
| | | | | | Co-authored-by: David Robertson <davidr@element.io>
* | Enable dependabot for Rust dependencies (#14132)Erik Johnston2022-10-111-0/+5
| |
* | Fix building wheels on OSX (#14046)David Robertson2022-10-041-0/+4
| | | | | | | | | | | | | | | | | | | | * Fix building wheels on OSX Follow-up to #13983. I missed a breaking change in setup-python v4. Serves me right for rushing to cut through the dependabot spam. * Changelog * Merge changelog
* | Bump actions/setup-python from 2 to 4 (#13983)dependabot[bot]2022-10-043-8/+8
|/ | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Dependabot changelog: don't require a changelog in lintsDavid Robertson2022-10-032-16/+7
|
* Bump actions/upload-artifact from 2 to 3 (#14023)dependabot[bot]2022-10-034-5/+5
| | | | | | | | | | | | | | | | | | | | | | * 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> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Dependabot changelog: try using branch nameDavid Robertson2022-10-031-2/+2
| | | | Gonna hope this doesn't use the merge ref and is good enough
* Bump actions/cache from 2 to 3 (#13980)dependabot[bot]2022-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * 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) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [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> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Dependabot changelog: allow dependabot to trigger actionsDavid Robertson2022-10-031-0/+3
|
* Bump actions/download-artifact from 2 to 3 (#13979)dependabot[bot]2022-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump actions/download-artifact from 2 to 3 Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Bump docker/login-action from 1 to 2 (#13978)dependabot[bot]2022-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
* Dependabot changelog: pass GITHUB_TOKEN to ghDavid Robertson2022-10-031-0/+2
|
* Dependabot changelogs: trigger CI explicitly (#14027)David Robertson2022-10-033-4/+21
| | | | | | | | | | | * Dependabot changelogs: trigger CI explicitly * Changelog * Use merge ref, not head ref ref ref ref ref ref * explanatory note
* Bump docker/build-push-action from 2 to 3 (#14022)dependabot[bot]2022-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump docker/build-push-action from 2 to 3 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Robertson <davidr@element.io>
* More WIP dependabot changelog CIDavid Robertson2022-10-031-1/+2
| | | | | Fixes a typo in #14021, and allows the workflow to trigger on `reopen` for easier debugging.
* Bump docker/setup-qemu-action from 1 to 2 (#14019)dependabot[bot]2022-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Bump docker/setup-qemu-action from 1 to 2 Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Robertson <davidr@element.io>
* yet another attempt to make dependabot changelogs work (#14021)David Robertson2022-10-031-0/+5
| | | | | * yet another attempt to make dependabot changelogs work * Changelog
* Bump docker/setup-buildx-action from 1 to 2 (#14015)dependabot[bot]2022-10-032-2/+2
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Robertson <davidr@element.io>
* Try again to automate dependabot changelogs (#14017)David Robertson2022-10-031-0/+6
| | | | | * Try again to automate dependabot changelogs * Changelog
* Bump actions/checkout from 2 to 3 (#13982)dependabot[bot]2022-10-035-32/+32
| | | | | | | | | | | | | | | | | | | | | | | * Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Robertson <davidr@element.io>
* Change dependabot CL suffix (#14011)David Robertson2022-10-031-1/+1
| | | | | * Change dependabot CL suffix * Changelog
* Protoype automatic changelogs for dependabot PRs (#13998)David Robertson2022-10-031-0/+23
|
* Enable dependabot updates (#13976)Richard van der Hoff2022-09-301-0/+17
| | | | Fixes https://github.com/matrix-org/synapse/issues/11828
* Merge branch 'release-v1.68' into developErik Johnston2022-09-231-6/+6
|\
| * Lower minimum rustc version to 1.58.1 (#13857)Erik Johnston2022-09-211-6/+6
| |
* | Raise issue if complement fails with latest deps (#13859)David Robertson2022-09-221-1/+2
|/
* Compare ported to unported PG schemas in portdb test job (#13808)David Robertson2022-09-161-4/+23
|
* Minor speedups to CI linting (#13827)David Robertson2022-09-161-4/+5
|
* Simplify CI tests DAG (#13784)David Robertson2022-09-131-4/+0
| | | | | * Simplify CI tests DAG * Changelog
* Fix GHA skippable syntax (#13778)Mathieu Velten2022-09-121-1/+2
| | | Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
* Fix CI on non-PR builds (#13769)Erik Johnston2022-09-121-0/+1
| | | Mark cargo-test as skippable since it only runs on Rust code change.
* Add rust to CI (#13763)Erik Johnston2022-09-091-1/+82
|
* Fix latest deps (#13743)Erik Johnston2022-09-081-0/+14
|
* Fix latest deps CI (#13734)Erik Johnston2022-09-072-3/+41
|
* Add some rust caching to CI (#13735)Erik Johnston2022-09-071-0/+5
|
* Add a stub Rust crate (#12595)Erik Johnston2022-09-062-4/+80
|
* Update trial old deps CI to use poetry 1.2.0 (#13707)Erik Johnston2022-09-061-7/+38
|
* Remove configuration options for direct TCP replication. (#13647)Patrick Cloke2022-09-061-1/+0
| | | Removes the ability to configure legacy direct TCP replication. Workers now require Redis to run.
* Reduce number of CI jobs run on PRs (#13713)Erik Johnston2022-09-051-66/+31
| | | | | | | | | | | | | * Reduce number of CI jobs run on PRs * Newsfile * Also limit sytest jobs * Fix typo * Fix up * Fixup
* Only run trial CI on all python versions on non-PRs (#13698)Erik Johnston2022-09-021-0/+10
|
* Bump docker image to use stable poetry version (#13688)Erik Johnston2022-09-011-1/+0
|
* Print complement failure results last (#13639)Richard van der Hoff2022-08-283-3/+3
| | | | | Since github always scrolls to the bottom of any test output, let's put the failed tests last and hide any successful packages.
* Update automation for incoming issues (#13629)Kat Gerasimova2022-08-251-4/+4
| | | GitHub appears to be deprecating addProjectNextItem by not allowing it to be used alongside projectV2 to get the project ID, so switching to using addProjectV2ItemById instead.
* First draft of triage_labelled action (#13612)Andy Balaam2022-08-241-0/+44
|
* Add GitHub automation for new issues (#13610)Kat Gerasimova2022-08-241-0/+28
| | | Set up automation to move newly opened issues in GitHub to the issue triage board.
* Reject non-strict types in Pydantic models (#13502)David Robertson2022-08-171-1/+13
|
* Enable Complement CI tests in the 'latest deps' test run. (#13213)reivilibre2022-08-011-3/+34
| | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
* Re-enable running Complement tests against Synapse with workers. (#13420)reivilibre2022-08-011-24/+3
|
* Use and recommend poetry 1.1.14, up from 1.1.12 (#13285)David Robertson2022-07-151-2/+2
|
* Do not fail build if complement with workers fails. (#13266)Patrick Cloke2022-07-131-3/+24
|
* Factor out some common Complement CI setup commands to a script. (#13157)reivilibre2022-07-052-47/+5
|
* Enable Complement testing in the 'Twisted Trunk' CI runs. (#13079)reivilibre2022-07-011-0/+67
|
* Improve startup times in Complement test runs against workers, particularly ↵reivilibre2022-06-301-46/+3
| | | | | in CPU-constrained environments. (#13127) Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Sort failing jobs in Complement CI to the top of the logs to make them ↵reivilibre2022-06-151-0/+10
| | | | easier to read. (#13057)
* Add a CI job to check that schema deltas are in the correct folder. (#13063)Erik Johnston2022-06-151-1/+9
|
* Rename complement-developonly (#13046)Erik Johnston2022-06-151-0/+2
|
* Collapse Docker build commands in Complement CI runs to make the logs easier ↵reivilibre2022-06-151-1/+1
| | | | to read. (#13058)
* Fix Complement runs always being Postgres (#13034)reivilibre2022-06-141-1/+1
| | | | | | | * Fix Complement runs always being Postgres * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
* Enable testing against PostgreSQL databases in Complement CI. (#12965)reivilibre2022-06-091-1/+11
|
* Use a GitHub form for issues rather than a hard-to-read, easy-to-ignore ↵reivilibre2022-06-082-72/+103
| | | | | template. (#12982) Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Fix complement tests using the wrong path (#12933)Michael Telatynski2022-06-011-1/+1
|
* Test Synapse against Complement with workers. (#12810)reivilibre2022-05-311-20/+40
| | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Use `docker/metadata-action` to generate docker image tags (#12573)Henry2022-05-051-19/+11
| | | | | | | Update the "Build docker images" GitHub Actions workflow to use `docker/metadata-action` to generate docker image tags, instead of a custom shell script. Signed-off-by: Henry <97804910+henryclw@users.noreply.github.com>
* Allow unused ignores in "bleeding edge" CI (#12576)David Robertson2022-04-292-0/+5
| | | | | | | | | | | | | | | | * Allow unused ignores in "bleeding edge" CI Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574. * Use `--extras all` in latest deps mypy CI Twisted trunk job already does this. Missed in #12531. * changelog
* Revert accidental direct-to-develop commits.David Robertson2022-04-282-5/+0
| | | | | | This reverts commit 5a320baa45b8e826e52bdd6cadadfad727ab0357. This reverts commit f282d5fc1185dde3f9ec31c49b630cff962545d7. This reverts commit ce6ecdd4b4939fd99418bc949b40c01d39480489.
* Use `--extras all` in latest deps mypy CIDavid Robertson2022-04-281-0/+1
| | | | | | Twisted trunk job already does this. Missed in #12531.
* Allow unused ignores in "bleeding edge" CIDavid Robertson2022-04-282-0/+4
| | | | | | | Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574.
* Remove unused `# type: ignore`s (#12531)David Robertson2022-04-271-6/+2
| | | | | | | | | | | | | | | | | | | | | | Over time we've begun to use newer versions of mypy, typeshed, stub packages---and of course we've improved our own annotations. This makes some type ignore comments no longer necessary. I have removed them. There was one exception: a module that imports `select.epoll`. The ignore is redundant on Linux, but I've kept it ignored for those of us who work on the source tree using not-Linux. (#11771) I'm more interested in the config line which enforces this. I want unused ignores to be reported, because I think it's useful feedback when annotating to know when you've fixed a problem you had to previously ignore. * Installing extras before typechecking Lacking an easy way to install all extras generically, let's bite the bullet and make install the hand-maintained `all` extra before typechecking. Now that https://github.com/matrix-org/backend-meta/pull/6 is merged to the release/v1 branch.
* Dump setuptools; correct pyproject version number (#12478)David Robertson2022-04-201-1/+1
|
* Add CI job to act as a canary for testing against latest dependencies (#12472)David Robertson2022-04-201-0/+156
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Use poetry lockfile in twisted trunk CI job (#12425)David Robertson2022-04-131-12/+34
| | | | | | Fixes #12458 Co-authored-by: Sean Quah <seanq@element.io> Co-authored-by: Dan Callahan <danc@element.io>
* Run "main" trial tests under poetry (#12438)David Robertson2022-04-121-13/+13
| | | | | | | | | | | * Run "main" trial tests under poetry Olddeps and twisted trunk tests are handled in separate PRs. The PyPy config is a best-effort only; it's completely untested. Pulled out from #12337. * Changelog
* Run lints under poetry in CI; remove lint tox jobs (#12434)David Robertson2022-04-121-13/+7
| | | Co-authored-by: Dan Callahan <danc@element.io>
* Poetry: select olddeps using `poetry` (#12407)David Robertson2022-04-121-2/+3
| | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Move complement setup stuff into the Synapse repo (#12404)Richard van der Hoff2022-04-111-17/+1
| | | | | | Fixes matrix-org/complement#330 (or it will, once we remove the old files). It's not quite a lift-and-shift: I've also taken the opportunity to get rid of the custom CA that we used to use to sign the TLS certs, which has been superceded by the CA exposed by Complement.
* CI: Fix the export-data job to run under poetry (#12418)David Robertson2022-04-081-2/+3
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* CI: Get the portdb job to run under poetry (#12412)David Robertson2022-04-081-1/+2
|
* Update mdbook to 0.4.17 (#12339)Andrew Morgan2022-04-051-1/+1
| | | Update mdbook (the tool used to render the documentation website) to version 0.4.17.
* Nuke the tox `packaging` job (#12334)David Robertson2022-03-311-1/+0
|
* Remove references to "msc2403" (#12165)Andrew Morgan2022-03-301-1/+1
|
* Re-enable test concurrency on Complement (#12283)kegsay2022-03-241-1/+1
|
* Fix CI not attaching source distributions and wheels to the GitHub releases. ↵reivilibre2022-03-081-1/+2
| | | | (#12131)
* Switch the `tests-done` job to an Action (#12161)Richard van der Hoff2022-03-071-21/+9
| | | | I've factored it out for easier use in other workflows.
* Changelog (#12153)David Robertson2022-03-041-0/+1
|
* Enable MSC2716 Complement tests in Synapse (#12145)Eric Eastwood2022-03-031-1/+1
| | | Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Enable MSC3030 Complement tests in Synapse (#12144)Eric Eastwood2022-03-031-1/+1
| | | | | The Complement tests for MSC3030 are now merged, https://github.com/matrix-org/complement/pull/178 Synapse implmentation: https://github.com/matrix-org/synapse/pull/9445
* Add suffices to scripts in scripts-dev (#12137)David Robertson2022-03-022-4/+4
| | | | | | | | | * Rename scripts-dev to have suffices * Update references to `scripts-dev` * Changelog * These scripts don't pass mypy
* Detox, part 1 of N (#12119)David Robertson2022-03-011-3/+10
| | | | * Don't use `tox` for `check-sampleconfig` * Don't use `tox` for check-newsfragment
* Tidy the building of sdists and wheels (#12051)David Robertson2022-02-222-28/+3
| | | | | * Don't build distribution pkgs in tests.yml * Run `release-artifacts` on release branches * Use backend-meta workflow for packaging
* Prepare for rename of default complement branch (#11971)Richard van der Hoff2022-02-111-3/+3
| | | use `HEAD` rather than hardcoding `master`
* Run Complement tests sequentially (#11910)kegsay2022-02-041-1/+1
| | | | | | | | | | | Since #11811 there has been general Complement flakiness around networking. It seems like tests are hitting the wrong containers. In an effort to diagnose the cause of this, as well as reduce its impact on this project, set the parallelsim to 1 (no parallelism) when running tests. If this fixes the flakiness then this indicates the cause and I can diagnose this further. If this doesn't fix the flakiness then that implies some kind of test pollution which also helps to diagnose this further.
* CI: run Complement on the VM, not inside Docker (#11811)kegsay2022-01-251-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CI: run Complement on the VM, not inside Docker This requires https://github.com/matrix-org/complement/pull/289 We now run Complement on the VM instead of inside a Docker container. This is to allow Complement to bind to any high-numbered port when it starts up its own federation servers. We want to do this to allow for more concurrency when running complement tests. Previously, Complement only ever bound to `:8448` when running its own federation server. This prevented multiple federation tests running at the same time as they would fight each other on the port. This did however allow Complement to run in Docker, as the host could just port forward `:8448` to allow homeserver containers to communicate to Complement. Now that we are using random ports however, we cannot use Docker to run Complement. This ends up being a good thing because: - Running Complement tests locally is closer to how they run in CI. - Allows the `CI` env var to be removed in Complement. - Slightly speeds up runs as we don't need to pull down the Complement image prior to running tests. This assumes GHA caches actions sensibly. * Changelog * Full stop * Update .github/workflows/tests.yml Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> * Review comments * Update .github/workflows/tests.yml Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Skip the initial amd64-only Docker build (#11810)Richard van der Hoff2022-01-241-12/+2
| | | | | PyNaCl's recent 1.5.0 release on PyPi includes arm64 wheels, which means our arm64 docker images now build in a sensible amount of time, so we can skip the amd64-only build.
* Drop support for and remove references to EOL Python 3.6 (#11683)Shay2022-01-212-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove reference in comments to python3.6 * upgrade tox python env in script * bump python version in example for completeness * upgrade python version requirement in setup doc * upgrade necessary python version in __init__.py * upgrade python version in setup.py * newsfragment * drops refs to bionic and replace with focal * bump refs to postgres 9.6 to 10 * fix hanging ci * try installing tzdata first * revert change made in b979f336 * ignore new random mypy error while debugging other error * fix lint error for temporary workaround * revert change to install list * try passing env var * export debian frontend var? * move line and add comment * bump pillow dependency * bump lxml depenency * install libjpeg-dev for pillow * bump automat version to one compatible with py3.8 * add libwebp for pillow * bump twisted trunk python version * change suffix of newsfragment * remove redundant python 3.7 checks * lint
* Invite PR submitters to credit themselves (#11744)David Robertson2022-01-131-0/+1
| | | Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Use buildkit's cache feature to speed up docker builds (#11691)Richard van der Hoff2022-01-121-0/+2
| | | Having spent much of the last week attempting to run complement tests from somewhere with damp string instead of internet... something had to be done.
* Prettier complement logs (#11707)kegsay2022-01-101-1/+2
| | | | | * Prettier complement logs * Changelog
* Drop EOL python 3.6 from CI (#11595)Shay2021-12-211-6/+6
| | | | | | | | | | | * remove python 3.6 and postgres 9.6 from github workflow * remove python 3.6 env from tox * newsfragment * correct postgres version * add py310 to tox env list
* Support the stable /hierarchy endpoint from MSC2946 (#11329)Patrick Cloke2021-11-291-1/+1
| | | | | | This also makes additional updates where the implementation had drifted from the approved MSC. Unstable endpoints will be removed at a later data.
* Return the stable `event` field from `/send_join` per MSC3083. (#11413)Patrick Cloke2021-11-291-1/+1
| | | | | This does not remove the unstable field and still parses both. Handling of the unstable field will need to be removed in the future.
* Publish a `develop` docker image (#11380)Richard van der Hoff2021-11-191-1/+4
| | | | I'd find it helpful to have a docker image corresponding to current develop, without having to build my own.
* Update outdated links in `PULL_REQUEST_TEMPLATE.md` (#11225)Dirk Klimpel2021-11-011-4/+5
|
* Fix broken export-data admin command and add a test for it to CI (#11078)Hillery Shay2021-10-181-0/+29
| | | Fix broken export-data admin command and add a test for it to CI
* Always dump logs from trial during CI. (#11068)Patrick Cloke2021-10-122-0/+8
| | | Instead of only dumping them if trial passes.
* Fix CI to run the unit tests without optional deps (#11017)Erik Johnston2021-10-081-3/+6
| | | | | This also turns off calculating code coverage, as we didn't use it and it was a lot of noise
* Add the synapse-core team as code owners (#10994)Brendan Abolivier2021-10-061-0/+2
| | | Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
* Run CI with Python 3.10 and Postgres 14 (#10992)David Robertson2021-10-051-7/+7
|
* Clear our destination directories before copying files to GitHub pages. (#10869)Patrick Cloke2021-09-211-1/+0
| | | This should fix stale deleted files being still accessible.
* GHA: reintroduce an env var for `$GITHUB_HEAD_REF` (#10659)David Robertson2021-09-201-0/+1
| | | This should ensure GHA runs synapse against the same-named sytest branch
* Avoid duplicate issues from Twisted trunk failures (#10672)Dan Callahan2021-08-231-1/+2
| | | | | | | | | | | | | | | | | | Setting `update_existing: true` in the `create-an-issue` GitHub Action will avoid opening duplicate issues if an open issue already exists with an identical title. If no open issues match the title, then a new issue will be created. This helps avoid spamming our issue tracker should there be a failure when testing against Twisted's trunk. This PR also pins the SHA of the `create-an-issue` action to mitigate the risk of a malicious actor gaining access to JasonEtco's account. See GitHub's page on security hardening third party actions for more: https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions Signed-off-by: Dan Callahan <danc@element.io>
* Run a nightly CI build against Twisted trunk. (#10651)Richard van der Hoff2021-08-231-0/+89
| | | This creates a GHA workflow which runs at 8am every day, and runs mypy, trial and sytest against Twisted's current trunk. If any of the jobs fail, it opens an issue.
* Remove buildkite-era commentDavid Robertson2021-08-121-3/+0
|
* portdb also uses coverage, so provide $TOP thereDavid Robertson2021-08-121-0/+2
|
* set TOP in sytest containersDavid Robertson2021-08-111-0/+1
|
* Rename ci to .ciDavid Robertson2021-08-111-3/+3
|
* Remove buildkite from portdb CI testsDavid Robertson2021-08-101-7/+1
|
* Remove unused BUILDKITE_BRANCH env varDavid Robertson2021-08-101-1/+0
|
* Move sytest worker-blacklist to ci directoryDavid Robertson2021-08-101-1/+1
|
* check-newsfragment: pass pr number explicitlyDavid Robertson2021-08-101-4/+2
| | | | | use PULL_REQUEST_NUMBER instead of BUILDKITE_PULL_REQUEST remove the other user of BUILDKITE_PULL_REQUEST, namely merge_base_branch.sh
* Move test_old_deps.sh to new ci dirDavid Robertson2021-08-101-1/+1
|
* Don't fail CI when lint-newfile job was skipped (#10529)Erik Johnston2021-08-051-1/+6
|
* Fix the `tests-done` github actions step, again (#10512)Richard van der Hoff2021-08-021-9/+12
|
* Use new go test running syntax for complement. (#10488)Patrick Cloke2021-07-271-1/+1
| | | Updates CI and the helper script t ensures all tests are run (in parallel).
* Enable docker image caching for the deb build (#10431)Richard van der Hoff2021-07-261-4/+35
|
* Merge branch 'release-v1.39' into developErik Johnston2021-07-231-1/+1
|\
| * Fix an error in the docker workflow (#10461)Richard van der Hoff2021-07-221-1/+1
| |
* | Cancel redundant GHA workflows (#10451)Richard van der Hoff2021-07-222-0/+8
| |
* | Fix the tests-done Github Actions job (#10444)Richard van der Hoff2021-07-221-1/+18
|/
* Move the docker image build to Github Actions (#10416)Richard van der Hoff2021-07-211-0/+72
| | | | it's flaky on circleCI, and having to manage multiple CI providers is painful.
* Add a github actions job recording success of other jobs. (#10430)Richard van der Hoff2021-07-201-0/+12
|
* Make GHA config more efficient (#10383)Richard van der Hoff2021-07-142-15/+20
| | | | | | | | A few things here: * Build the debs for single distro for each PR, so that we can see if it breaks. Do the same for develop. Building all the debs ties up the GHA workers for ages. * Stop building the debs for release branches. Again, it takes ages, and I don't think anyone is actually going to stop and look at them. We'll know they are working when we make an RC. * Change the configs so that if we manually cancel a workflow, it actually does something.
* Github Actions workflow to attach release artifacts to release (#10379)Richard van der Hoff2021-07-131-1/+27
|
* Build the python release artifacts in GHA tooRichard van der Hoff2021-07-131-3/+23
|
* build debs in GHA (#10247)Richard van der Hoff2021-07-121-0/+44
| | | GHA workflow to build the debs
* Merge branch 'master' into release-v1.38Richard van der Hoff2021-07-071-30/+27
|\
| * build the docs for master (#10323)Richard van der Hoff2021-07-071-31/+28
| |
* | Create an index.html file when generating a docs build (#10242)Andrew Morgan2021-06-241-1/+6
|/ | | | | | | | | Currently when a new build of the docs is created, an `index.html` file does not exist. Typically this would be generated from a`docs/README.md` file - which we have - however we're currently using [docs/README.md](https://github.com/matrix-org/synapse/blob/394673055db4df49bfd58c2f6118834a6d928563/docs/README.md) to explain the docs and point to the website. It is not part of the content of the website. So we end up not having an `index.html` file, which will result in a 404 page if one tries to navigate to `https://matrix-org.github.io/synapse/<docs_version>/index.html`. This isn't a really problem for the default version of the documentation (currently `develop`), as [navigating to the top-level root](https://matrix-org.github.io/synapse/) of the website (without specifying a version) will [redirect](https://github.com/matrix-org/synapse/blob/a77e6925f26597958eccf0ef9956cb13c536e57e/index.html#L2) you to the Welcome and Overview page of the `develop` docs version. However, ideally once we add a GUI for switching between versions, we'll want to send the user to `matrix-org.github.io/synapse/<version>/index.html`, which currently isn't generated. This PR modifies the CI that builds the docs to simply copy the rendered [Welcome & Overview page](https://matrix-org.github.io/synapse/develop/welcome_and_overview.html) to `index.html`.
* Deploy a documentation version for each new Synapse release (#10198)Andrew Morgan2021-06-181-0/+33
| | | | | | | | | This PR will run a new "Deploy release-specific documentation" job whenever a push to a branch name matching `release-v*` occurs. Doing so will create/add to a folder named `vX.Y` on the `gh-pages` branch. Doing so will allow us to build up `major.minor` releases of the docs as we release Synapse. This is especially useful for having a mechanism for keeping around documentation of old/removed features (for those running older versions of Synapse), without needing to clutter the latest copy of the docs. After a [discussion](https://matrix.to/#/!XaqDhxuTIlvldquJaV:matrix.org/$rKmkBmQle8OwTlGcoyu0BkcWXdnHW3_oap8BMgclwIY?via=matrix.org&via=vector.modular.im&via=envs.net) in #synapse-dev, we wanted to use tags to trigger the documentation deployments, which I agreed with. However, I soon realised that the bash-foo required to turn a tag of `v1.2.3rc1` into `1.2` was a lot more complex than the branch's `release-v1.2`. So, I've gone with the latter for simplicity. In the future we'll have some UI on the website to switch between versions, but for now you can simply just change 'develop' to 'v1.2' in the URL.
* Use the matching complement branch when running tests in CI. (#10160)Patrick Cloke2021-06-111-5/+23
| | | | | | | | | | | This implements similar behavior to sytest where a matching branch is used, if one exists. This is useful when needing to modify both application code and tests at the same time. The following rules are used to find a matching complement branch: 1. Search for the branch name of the pull request. (E.g. feature/foo.) 2. Search for the base branch of the pull request. (E.g. develop or release-vX.Y.) 3. Search for the reference branch of the commit. (E.g. master or release-vX.Y.) 4. Fallback to 'master', the default complement branch name.
* Update Complement run with Synapse-supported MSC-related build tags (#10155)Andrew Morgan2021-06-091-1/+1
| | | | | This PR updates the build tags that we perform Complement runs with to match our [buildkite pipeline](https://github.com/matrix-org/pipelines/blob/618b3e90bcae8efd1a71502ae95b7913e6e24665/synapse/pipeline.yml#L570), as well as adding `msc2403` (as it will be required once #9359 is merged). Build tags are what we use to determine which tests to run in Complement (really it determines which test files are compiled into the final binary). I haven't put in a comment about updating the buildkite side here, as we've decided to migrate fully to GitHub Actions anyhow.
* Compile and render Synapse's docs into a browsable, mobile-friendly and ↵Andrew Morgan2021-06-031-0/+31
| | | | searchable website (#10086)
* github actions: summarize Sytest results in an easy-to-read format (#10094)Richard van der Hoff2021-06-021-2/+2
| | | ... using the script from matrix-org/sytest#1052
* Fix GitHub Actions lint for newsfragments (#10069)Dan Callahan2021-05-261-0/+6
| | | | | * Fix GitHub Actions lint for newsfragments Signed-off-by: Dan Callahan <danc@element.io>
* Fix port_db on empty db (#9930)Richard van der Hoff2021-05-101-1/+1
| | | | ... and test it.
* Proof of concept for GitHub Actions (#9661)Dan Callahan2021-04-091-0/+322
| | | Signed-off-by: Dan Callahan <danc@element.io>
* bug report template: move comments into comment (#8030)Richard van der Hoff2020-08-051-2/+2
|
* Make it clearer that #synapse:matrix.org is our support channel (#7379)Brendan Abolivier2020-05-012-3/+10
| | | | | | | This PR moves the "support is in #synapse:matrix.org" in the bug report template outside of the comment as some people seem to ignore what's in the comments, and phrase it a bit more like the support request template. It also adds a default issue template that says the same thing. It's also adding a notice about the security disclosure to both the default template and the bug report one. It also adds a badge to the top of the README with an alt text saying about the same message if the badge doesn't load (e.g. if matrix.org is slow). Fixes #6826
* Add tips for the changelog to the pull request template (#6663)Andrew Morgan2020-01-161-1/+5
|
* Markdownification and other fixes to CONTRIBUTING (#6461)Andrew Morgan2019-12-041-4/+4
|
* Add contributer docs for using the provided linters script (#6164)Jason Robinson2019-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add lint dependencies black, flake8 and isort These are required when running the `lint.sh` dev scripts. Signed-off-by: Jason Robinson <jasonr@matrix.org> * Add contributer docs for using the providers linters script Add also to the pull request template to avoid build failures due to people not knowing that linters need running. Signed-off-by: Jason Robinson <jasonr@matrix.org> * Fix mention of linter errors correction Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Add mention for installing linter dependencies Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Remove linters from python dependencies as per PR review Signed-off-by: Jason Robinson <jasonr@matrix.org>
* Update the issue template for new way of getting server version (#6051)Richard van der Hoff2019-09-191-9/+13
| | | | | | cf #4878
* Merge remote-tracking branch 'origin/master' into release-v1.1.0Richard van der Hoff2019-07-022-5/+6
|\
| * Update github templatesRichard van der Hoff2019-06-251-2/+3
| |
| * Update SUPPORT.mdRichard van der Hoff2019-06-251-3/+3
| |
* | Liberapay is now officially recognised, update FUNDING.yml (#5386)Andrew Morgan2019-06-091-1/+2
| |
* | Add a sponsor button (#5382)Andrew Morgan2019-06-071-0/+3
|/ | | Add a sponsor button with links to matrixdotorg's patreon and liberapay accounts.
* Add zwsp in bug report template (#4811)Richard van der Hoff2019-03-061-6/+6
| | | | | Inserts a zero-width space in the `-->` which isn't supposed to close a comment. This used to be here but it got lost in d86826277d764217311d0d34a8e6143d09237a94.
* Update PR template to use absolute links (#4341)Aaron Raimist2019-01-021-2/+2
| | | | | | | | | | * Update PR template to use absolute links Signed-off-by: Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Fix caseAaron Raimist2018-11-131-1/+1
| | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Add SUPPORT.mdAaron Raimist2018-11-131-0/+3
| | | | https://help.github.com/articles/adding-support-resources-to-your-project/
* Add a pull request template and add multiple issue templatesAaron Raimist2018-11-134-10/+53
| | | | Signed-off-by: Aaron Raimist <aaron@raim.ist>
* Update ISSUE_TEMPLATE.mdRichard van der Hoff2018-07-241-2/+3
| | | request backticks for logs
* Exclude the github issue template from our sdist (#2440)Richard van der Hoff2017-09-051-0/+47
PR #2413 added an issue template, but just adding files to the project directory upsets the packaging scripts: we need to explicitly include or exclude them. Move the template into a .github directory to make that easy, and to de-clutter the root a bit.