Files
apprise/docker-compose.yml
2025-12-01 21:29:08 -05:00

100 lines
2.0 KiB
YAML

services:
test.py39:
build:
context: .
dockerfile: tests/docker/Dockerfile.py39
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
test.py310:
build:
context: .
dockerfile: tests/docker/Dockerfile.py310
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
test.py311:
build:
context: .
dockerfile: tests/docker/Dockerfile.py311
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
test.py312:
build:
context: .
dockerfile: tests/docker/Dockerfile.py312
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
rpmbuild.el9:
build:
context: .
dockerfile: tests/docker/Dockerfile.el9
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
rpmbuild.el10:
build:
context: .
dockerfile: tests/docker/Dockerfile.el10
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
rpmbuild.f42:
build:
context: .
dockerfile: tests/docker/Dockerfile.f42
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
rpmbuild.rawhide:
build:
context: .
dockerfile: tests/docker/Dockerfile.rawhide
volumes:
- ./:/apprise
working_dir: /apprise
user: "1000:1000"
#
# Every Day testing
#
# Sample testing:
# -> docker-compose run --rm test.py312 bash
# bin/apprise -
# tox -e checkdone
#
# Run a set of tests for just a certain section
# docker-compose run --rm test.py312 tox -e qa -- -k fcm
#
# Or just run all the tests in python 3.12
# docker-compose run --rm test.py312 tox -e qa
#
# Want to run the whole test suite:
#
#
# RPM Building
#
# el9
# - docker-compose run --rm rpmbuild.el9 /apprise/bin/build-rpm.sh
# el10
# - docker-compose run --rm rpmbuild.el10 /apprise/bin/build-rpm.sh
# f42 (Fedora)
# - docker-compose run --rm rpmbuild.f42 /apprise/bin/build-rpm.sh