From 71224b887485a6cd2dcbed745fb5c7075e5a5a48 Mon Sep 17 00:00:00 2001 From: Om Mishra <32200996+mishraomp@users.noreply.github.com> Date: Fri, 13 Oct 2023 10:14:46 -0700 Subject: [PATCH] Feat/bitnami pgpool (#24) * Add bitnami pg ha * Add bitnami pg ha * Add bitnami pg ha * Add bitnami pgpool --- .github/workflows/pr-close.yml | 3 ++- .github/workflows/pr-open.yml | 3 +++ bitnami/pgpool/4/Dockerfile | 5 +++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 bitnami/pgpool/4/Dockerfile diff --git a/.github/workflows/pr-close.yml b/.github/workflows/pr-close.yml index 85cfca9e..f506757c 100644 --- a/.github/workflows/pr-close.yml +++ b/.github/workflows/pr-close.yml @@ -18,7 +18,8 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - package: [bitnami/postgresql,bitnami/postgresql-ha, postgres/postgres] + package: [bitnami/postgresql,bitnami/postgresql-ha,bitnami/pgpool, postgres/postgres] + steps: - uses: actions/delete-package-versions@v4 with: diff --git a/.github/workflows/pr-open.yml b/.github/workflows/pr-open.yml index 83938000..6cc77a14 100644 --- a/.github/workflows/pr-open.yml +++ b/.github/workflows/pr-open.yml @@ -21,6 +21,9 @@ jobs: matrix: package: [bitnami/postgresql,bitnami/postgresql-ha, postgres/postgres] tag: [12, 13, 14, 15, 16] + include: + - package: bitnami/pgpool + tag: 4 timeout-minutes: 10 steps: - uses: actions/checkout@v4 diff --git a/bitnami/pgpool/4/Dockerfile b/bitnami/pgpool/4/Dockerfile new file mode 100644 index 00000000..f497633c --- /dev/null +++ b/bitnami/pgpool/4/Dockerfile @@ -0,0 +1,5 @@ +FROM bitnami/pgpool:4 +HEALTHCHECK --interval=30s --timeout=10s --retries=10 \ + CMD pgpool -n || exit 1 + +USER 1001