diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 464fa74..a0f8d75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - pgbackrest_version: ["2.52.1", "2.53", "2.53.1", "2.54.0", "2.54.1"] + pgbackrest_version: ["2.53", "2.53.1", "2.54.0", "2.54.1", "2.54.2"] env: - latest_version: "2.54.1" + latest_version: "2.54.2" download_url: "https://github.com/pgbackrest/pgbackrest/archive/release" steps: - uses: actions/checkout@v4 diff --git a/Makefile b/Makefile index 06e9477..7ec1ca6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -BACKREST_VERSIONS = 2.52.1 2.53 2.53.1 2.54.0 2.54.1 -TAG?=2.54.1 +BACKREST_VERSIONS = 2.53 2.53.1 2.54.0 2.54.1 2.54.2 +TAG?=2.54.2 TAG_MESON_BUILD=2.51 BACKREST_DOWNLOAD_URL = https://github.com/pgbackrest/pgbackrest/archive/release BACKREST_GPDB_VERSIONS = 2.47_arenadata4 2.50_arenadata4 2.52_arenadata7 diff --git a/README.md b/README.md index eb0a726..55b39a1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ The repository contains information for the last 5 releases of pgBackRest. If ne Supported pgBackRest version tags: -* `2.54.1`, `latest` +* `2.54.2`, `latest` +* `2.54.2-alpine` +* `2.54.1` * `2.54.1-alpine` * `2.54.0` * `2.54.0-alpine` @@ -16,8 +18,6 @@ Supported pgBackRest version tags: * `2.53.1-alpine` * `2.53` * `2.53-alpine` -* `2.52.1` -* `2.52.1-alpine` The repository also contains information for releases of pgBackRest fork with Greenplum support (see [pgbackrest/pull/1833](https://github.com/pgbackrest/pgbackrest/pull/1833)). Details - [build with Greenplum support](#build-with-greenplum-support). @@ -83,10 +83,10 @@ docker run --rm pgbackrest:51 pgbackrest help ### Injecting inside ```bash -docker run --rm -it pgbackrest:2.54.1 bash +docker run --rm -it pgbackrest:2.54.2 bash pgbackrest@cac1f58b56f2:/$ pgbackrest version -pgBackRest 2.54.1 +pgBackRest 2.54.2 ``` ### Example for Dedicated Repository Host @@ -102,7 +102,7 @@ docker run --rm \ -v ~/.ssh/id_rsa:/home/pgbackrest/.ssh/id_rsa \ -v /etc/pgbackrest:/etc/pgbackrest \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ - pgbackrest:2.54.1 \ + pgbackrest:2.54.2 \ pgbackrest backup --stanza demo --type full --log-level-console info ``` @@ -129,7 +129,7 @@ docker run --rm \ -v /etc/pgbackrest:/etc/pgbackrest \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ -v /tmp/pgbackrest:/tmp/pgbackrest \ - pgbackrest:2.54.1 \ + pgbackrest:2.54.2 \ pgbackrest backup --stanza demo --type full --log-level-console info ``` @@ -165,7 +165,7 @@ docker run -d \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ -p 8432:8432 \ --name backrest_server \ - pgbackrest:2.54.1 + pgbackrest:2.54.2 ``` ##### Run container with TLS server in background for pgBackRest execution over TLS @@ -177,7 +177,7 @@ docker run --rm \ -e BACKREST_HOST_TYPE=tls \ -v /etc/pgbackrest:/etc/pgbackrest \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ - pgbackrest:2.54.1 \ + pgbackrest:2.54.2 \ pgbackrest backup --stanza demo --type full --log-level-console info ``` @@ -196,7 +196,7 @@ docker run --rm \ -v /var/lib/postgresql/12/main:/var/lib/postgresql/12/main \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ -v /var/run/postgresql/.s.PGSQL.5432:/var/run/postgresql/.s.PGSQL.5432 \ - pgbackrest:2.54.1 \ + pgbackrest:2.54.2 \ pgbackrest backup --stanza demo --type full --log-level-console info ``` @@ -216,7 +216,7 @@ docker run -d \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ -p 8432:8432 \ --name backrest_server \ - pgbackrest:2.54.1 + pgbackrest:2.54.2 ``` Performing a backup: @@ -229,28 +229,28 @@ docker run --rm \ -v /etc/pgbackrest/pgbackrest.conf:/etc/pgbackrest/pgbackrest.conf \ -v /etc/pgbackrest/cert:/etc/pgbackrest/cert \ -v /var/lib/pgbackrest:/var/lib/pgbackrest \ - pgbackrest:2.54.1 \ + pgbackrest:2.54.2 \ pgbackrest backup --stanza demo --type full --log-level-console info ``` ## Build ```bash -make build_version TAG=2.54.1 +make build_version TAG=2.54.2 ``` ```bash -make build_version_alpine TAG=2.54.1 +make build_version_alpine TAG=2.54.2 ``` or ```bash -docker build -f Dockerfile --build-arg BACKREST_VERSION=2.54.1 --build-arg BACKREST_COMPLETION_VERSION=v0.9 -t pgbackrest:2.54.1 . +docker build -f Dockerfile --build-arg BACKREST_VERSION=2.54.2 --build-arg BACKREST_COMPLETION_VERSION=v0.9 -t pgbackrest:2.54.2 . ``` ```bash -docker build -f Dockerfile.alpine --build-arg BACKREST_VERSION=2.54.1 --build-arg BACKREST_COMPLETION_VERSION=v0.9 -t pgbackrest:2.54.1-alpine . +docker build -f Dockerfile.alpine --build-arg BACKREST_VERSION=2.54.2 --build-arg BACKREST_COMPLETION_VERSION=v0.9 -t pgbackrest:2.54.2-alpine . ``` ### Build pgBackRest < `v2.51` diff --git a/e2e_tests/.env b/e2e_tests/.env index fca5610..305f1ce 100644 --- a/e2e_tests/.env +++ b/e2e_tests/.env @@ -1,4 +1,4 @@ -TAG=2.54.1 +TAG=2.54.2 PG_VERSION=16 IMAGE_TAG_MINIO=RELEASE.2023-09-07T02-05-02Z IMAGE_TAG_MINIO_MC=RELEASE.2023-09-07T22-48-55Z diff --git a/e2e_tests/conf/pg/Dockerfile b/e2e_tests/conf/pg/Dockerfile index 94129e6..5abec88 100644 --- a/e2e_tests/conf/pg/Dockerfile +++ b/e2e_tests/conf/pg/Dockerfile @@ -1,4 +1,4 @@ -ARG BACKREST_VERSION="2.54.1" +ARG BACKREST_VERSION="2.54.2" ARG CONTAINER_TYPE="ssh" ARG PG_VERSION="16" diff --git a/e2e_tests/conf/sftp/Dockerfile b/e2e_tests/conf/sftp/Dockerfile index f86f6cb..340e184 100644 --- a/e2e_tests/conf/sftp/Dockerfile +++ b/e2e_tests/conf/sftp/Dockerfile @@ -1,4 +1,4 @@ -ARG BACKREST_VERSION="2.54.1" +ARG BACKREST_VERSION="2.54.2" FROM pgbackrest:${BACKREST_VERSION} ARG CONTAINER_TYPE="rsa"