- 06 Sep, 2022 1 commit
-
-
Leonidas Spyropoulos authored
Signed-off-by:
Leonidas Spyropoulos <artafinde@archlinux.org>
-
- 18 Jan, 2022 1 commit
-
-
Kevin Morris authored
This was left in when we removed logging.prod.conf in a previous patch. `test-mysql-entrypoint.sh` takes care of test logging for us now, so this section is unnecessary. Closes #261 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 07 Dec, 2021 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 21 Nov, 2021 1 commit
-
-
Kevin Morris authored
For the `git` service, ./data is always used to provide an optional overriding of ssh host keys. In aur-dev production containers, most services which use the data mount use an internal Docker `data` volume instead. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 17 Nov, 2021 1 commit
-
-
Kevin Morris authored
A user that can create databases is now required for tests, we use the 'root' user in Docker. Added docker services: --------------------- - mariadb_test - host localhost:13307 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 25 Jun, 2021 1 commit
-
-
Kevin Morris authored
Instead of using Dockerfile for everything, we've introduced a docker-compose.yml file and kept the Dockerfile to producing a pure base image for the services defined. docker-compose services: - `mariadb` - Setup mariadb - `sharness` - Run sharness suites - `pytest-mysql` - Run pytest suites with MariaDB - `pytest-sqlite` - Run pytest suites with SQLite - `test` - Run all tests and produce a collective coverage report - This target mounts a cache volume and copies any successful coverage report back to `./cache/.coverage`. Users can run `./util/fix-coverage ./cache/.coverage` to rewrite source code paths and move coverage into place to view reports on your local system. == Get Started == Build `aurweb:latest`. $ docker build -t aurweb:latest . Run all tests via `docker-compose`. $ docker-compose up test You can also purely run `pytest` in SQLite or MariaDB modes. $ docker-compose up pytest-sqlite $ docker-compose up pytest-mysql...
-