pgTap¶
A Docker image for running pgTap tests against a PostgreSQL database.
Repository | https://gitlab.com/ringingmountain/docker/pgtap |
CI Pipeline | https://gitlab.com/ringingmountain/docker/pgtap/pipelines |
Documentation | http://pgtap-docker.readthedocs.io/ |
Usage¶
docker run -e PGPASSWORD=secret ringingmountain/pgtap:latest [-h HOSTNAME] [-p PORT] [-U USERNAME] [-t TESTS]
Quickstart Development Guide¶
Build Documentation¶
ci/docs.sh
Build Docker Image¶
ci/build.sh [TAG]
Run Gitlab CI Jobs Locally¶
You will first need to install the Gitlab runner package and register a runner on your local machine.
gitlab-runner exec docker <job_name> --docker-services docker:dind --docker-privileged
Releasing a New Version¶
- Checkout master.
- Decide whether you are releasing a major, minor, or patch revision. For assistance in making this choice see the SemVer standard.
- Ensure an entry for the version exists in
CHANGELOG.rst
summarizing the changes you are releasing. - Update the version in docs/conf.py
- Commit the changes, commenting that you are bumping the version.
- Tag the repo with the matching version.
- Push to the central remote and your fork.