summary refs log tree commit diff
path: root/.ci/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use setup-go instead of relying on go 1.17 to exist (#15403)David Robertson2023-04-061-10/+0
| | | | | | | * Use setup-go instead of relying on 1.17 to exist See https://github.com/actions/runner-images/issues/7276 * Changelog
* Add developer documentation for the Federation Sender and add a ↵reivilibre2023-03-241-3/+4
| | | | | | documentation mechanism using Sphinx. (#15265) Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Add Sytest jobs with the asyncio reactor enabled (#14101)Quentin Gliech2023-03-021-0/+15
|
* Hacky fix to make mac wheels (#15019)David Robertson2023-02-071-1/+10
| | | | | | | | | | | | | | | | | | | | | | | * Skip testing PyPy wheels One of the test builds on #15015 failed to install a pp38-* wheel because it didn't have access to the openssl headers to build `cryptography` from source. We don't run CI against PyPy so I'm going to be a meanie and skip testing the wheels. (And I've no idea why 3.8 was special in the first place, either.) * Hack the name of the wheel so cibw can test it I hate hate hate hate hate hate hate hate hate this * Changelog * Apply suggestions from code review Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> --------- Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Add more user information to export-data command. (#14894)Dirk Klimpel2023-02-011-4/+6
| | | | | | * The user's profile information. * The user's devices. * The user's connections / IP address information.
* Require poetry>=1.3.2 (#14860)David Robertson2023-01-172-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Handle 'go get' deprecation (#14611)realtyem2022-12-051-1/+1
| | | | | * Switch out 'go get' for 'go install'. * Changelog
* Test against PostgreSQL 15 in CI (#14394)Sean Quah2022-11-091-1/+1
| | | | | 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>
* Revert a testing commit from #13812David Robertson2022-11-011-3/+3
| | | | It (4f5d492cd6a9438de03d1b768f4c220cb662ac06) should have been reverted before the merge to develop.
* Run trial tests against Python 3.11 (#13812)David Robertson2022-11-011-5/+5
|
* Fix typo in cibuildwheel conf introduced in #14253David Robertson2022-10-241-1/+1
|
* Try building ABI3 wheels for cpython (#14253)Erik Johnston2022-10-211-0/+132
|
* Deal with some GHA deprecation warnings (#14216)David Robertson2022-10-181-2/+9
|
* Handle `gottestfmt` repository move (#14144)David Robertson2022-10-111-1/+1
|
* Compare ported to unported PG schemas in portdb test job (#13808)David Robertson2022-09-163-43/+26
|
* Update trial old deps CI to use poetry 1.2.0 (#13707)Erik Johnston2022-09-061-22/+3
|
* Reduce number of CI jobs run on PRs (#13713)Erik Johnston2022-09-051-0/+128
| | | | | | | | | | | | | * Reduce number of CI jobs run on PRs * Newsfile * Also limit sytest jobs * Fix typo * Fix up * Fixup
* Print complement failure results last (#13639)Richard van der Hoff2022-08-281-0/+21
| | | | | Since github always scrolls to the bottom of any test output, let's put the failed tests last and hide any successful packages.
* Use and recommend poetry 1.1.14, up from 1.1.12 (#13285)David Robertson2022-07-151-1/+1
|
* Factor out some common Complement CI setup commands to a script. (#13157)reivilibre2022-07-051-0/+36
|
* Use caret (semver bounds) for matrix.org packages (#13082)David Robertson2022-06-171-2/+4
|
* Test Synapse against Complement with workers. (#12810)reivilibre2022-05-311-0/+25
| | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Poetry: select olddeps using `poetry` (#12407)David Robertson2022-04-121-5/+66
| | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* CI: Fix the export-data job to run under poetry (#12418)David Robertson2022-04-081-14/+9
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* CI: Get the portdb job to run under poetry (#12412)David Robertson2022-04-081-18/+12
|
* Move scripts directory inside synapse, exposing as setuptools entry_points ↵David Robertson2022-03-022-7/+9
| | | | | | | | | | | | (#12118) * Two scripts are basically entry_points already * Move and rename scripts/* to synapse/_scripts/*.py * Delete sync_room_to_group.pl * Expose entry points in setup.py * Update linter script and config * Fixup scripts & docs mentioning scripts that moved Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Configure `tox` to use `venv` (#12015)Richard van der Hoff2022-02-171-1/+3
| | | As the comment says, virtualenv is a pile of fail.
* Disable coverage calculation for olddeps build. (#11888)Richard van der Hoff2022-02-021-1/+1
| | | | We disabled coverage calculation for most of CI in #11017, but the olddeps build uses a separate script and got forgotten.
* Drop support for and remove references to EOL Python 3.6 (#11683)Shay2022-01-211-3/+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
* Fix Shellcheck SC2006: Use $(...) notationDan Callahan2021-10-222-2/+2
| | | | | | | | Use $(...) notation instead of legacy backticked `...`. https://github.com/koalaman/shellcheck/wiki/SC2006 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2086: Quote to prevent splittingDan Callahan2021-10-222-2/+2
| | | | | | | | Double quote to prevent globbing and word splitting. https://github.com/koalaman/shellcheck/wiki/SC2086 Signed-off-by: Dan Callahan <danc@element.io>
* Fix Shellcheck SC2046: Quote to prevent word splitDan Callahan2021-10-222-2/+2
| | | | | | | | Quote this to prevent word splitting https://www.shellcheck.net/wiki/SC2046 Signed-off-by: Dan Callahan <danc@element.io>
* Fix broken export-data admin command and add a test for it to CI (#11078)Hillery Shay2021-10-181-0/+57
| | | Fix broken export-data admin command and add a test for it to CI
* Add `--run-background-updates` option to `update_database` script. (#10954)Nick Barrett2021-10-061-2/+2
| | | | Signed-off-by: Nick Barrett <nick@beeper.com>
* Missed another ci->.ciDavid Robertson2021-08-111-9/+9
| | | | Should have been more systematic with my grepping.
* Rename ci to .ciDavid Robertson2021-08-113-0/+104