{"id":15576583,"url":"https://github.com/abn/pgtap-container","last_synced_at":"2026-03-18T21:15:03.080Z","repository":{"id":51869376,"uuid":"197011670","full_name":"abn/pgtap-container","owner":"abn","description":"Base container for pgTAP","archived":false,"fork":false,"pushed_at":"2023-10-18T11:52:25.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T07:23:45.278Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-15T14:09:58.000Z","updated_at":"2023-10-18T00:12:25.000Z","dependencies_parsed_at":"2024-11-18T07:41:50.125Z","dependency_job_id":"16a320b2-2a1d-4722-8f73-bc36fbae79d2","html_url":"https://github.com/abn/pgtap-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abn/pgtap-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fpgtap-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fpgtap-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fpgtap-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fpgtap-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abn","download_url":"https://codeload.github.com/abn/pgtap-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abn%2Fpgtap-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29128685,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:31:02.507Z","status":"ssl_error","status_checked_at":"2026-02-05T18:29:43.962Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T18:52:36.252Z","updated_at":"2026-02-05T18:31:14.991Z","avatar_url":"https://github.com/abn.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/abn/pgtap-container/actions/workflows/main.yml/badge.svg?branch=main)\n\n# pgTap Container For Testing\n\nA [pgTap](https://pgtap.org/) enabled [PostgreSQL](https://www.postgresql.org/) [Alpine](https://alpinelinux.org/) containers, \nacross multiple versions of postgres. These images are built on top of the [Docker Hub Postgres Images](https://hub.docker.com/_/postgres). \n\nFor convenience, this image also includes the [wait-for](https://github.com/eficode/wait-for) script.\n\n## Usage\nThe image releases are available on [quay.io](https://quay.io/repository/abn/pgtap?tab=tags) as well as \n[GitHub Packages](https://github.com/abn/pgtap-container/pkgs/container/pgtap-container%2Fpgtap).\n\n```bash\n# Run the postgres server with tests mounted in\npodman run -d --name pgtap -v `pwd`/examples/tests:/opt/pgtap/tests:z quay.io/abn/pgtap:1.3.1-pg16\n\n# Run your tests suite\npodman exec -it pgtap pg_prove -U postgres -h postgres --ext .sql -r /opt/pgtap/tests\n```\n\n### Example: Docker Compose\n```yml\n# podman-compose up --renew-anon-volumes --abort-on-container-exit --exit-code-from tests tests\nversion: '3.7'\nservices:\n  postgres:\n    image: quay.io/abn/pgtap:1.3.1-pg16\n    environment:\n      POSTGRES_PASSWORD: pgtap\n    ports:\n      - 5432:5432\n\n  tests:\n    image: quay.io/abn/pgtap:1.3.1-pg16\n    environment:\n      PGPASSWORD: pgtap\n    command: wait-for postgres:5432 -t 60 -- pg_prove -U postgres -h postgres --ext .sql -r /opt/pgtap/tests\n    depends_on:\n      - postgres\n    volumes:\n      - \"./tests/:/opt/pgtap/tests/:z\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fpgtap-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabn%2Fpgtap-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabn%2Fpgtap-container/lists"}