Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update postgresql testing script (#10906) | David Robertson | 2021-09-24 | 1 | -12/+0 |
| | | | | | | | | | | | | | | | | | | - Use sytest:bionic. Sytest:latest is two years old (do we want CI to push out latest at all?) and comes with Python 3.5, which we explictly no longer support. The script now runs under PostgreSQL 10 as a result. - Advertise script in the docs - Move pg testing script to scripts-dev directory - Write to host as the script's exector, not root A few changes to make it speedier to re-run the tests: - Create blank DB in the container, not the script, so we don't have to `initdb` each time - Use a named volume to persist the tox environment, so we don't have to fetch and install a bunch of packages from PyPI each time Co-authored-by: reivilibre <olivier@librepush.net> | ||||
* | Use interpreter from $PATH instead of absolute paths in various scripts ↵ | Quentin Gliech | 2021-03-25 | 1 | -1/+1 |
| | | | | | | | | | using /usr/bin/env (#9689) On NixOS, `bash` isn't under `/bin/bash` but rather in some directory in `$PATH`. Locally, I've been patching those scripts to make them work. `/usr/bin/env` seems to be the only [portable way](https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my) to use binaries from the PATH as interpreters. Signed-off-by: Quentin Gliech <quentingliech@gmail.com> | ||||
* | Add a way to run tests in PostgreSQL in Docker (#3699) | Amber Brown | 2018-09-20 | 1 | -0/+12 |