[SCM] PostGIS branch master updated. 3.7.0beta1-33-g2828d83f1
git at osgeo.org
git at osgeo.org
Sat Jul 25 13:00:22 PDT 2026
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 2828d83f168795684505a9191e537c75764c04b1 (commit)
via 40aeacee02de887eb4460c316793f7c81df4e9d9 (commit)
from 27401e11d8fa480fd15943d86b07868a1b2469ec (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2828d83f168795684505a9191e537c75764c04b1
Merge: 27401e11d 40aeacee0
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Sat Jul 25 13:00:21 2026 -0700
Merge pull request 'ci: retry Docker build image pulls' (!510) from Komzpa/postgis:codex/ci-docker-pull-retry into master
Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/510
commit 40aeacee02de887eb4460c316793f7c81df4e9d9
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Sat Jul 25 23:49:16 2026 +0400
ci: retry Docker build image pulls
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 990cae333..e62f529bf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,8 +51,28 @@ jobs:
- name: 'Prepare Image'
run: |
set -e
+ retry() {
+ max_attempts="$1"
+ delay="$2"
+ shift 2
+ attempt=1
+ while true; do
+ "$@" && return 0
+ status="$?"
+ if test "$attempt" -ge "$max_attempts"; then
+ echo "Command failed after ${attempt} attempts: $*"
+ return "$status"
+ fi
+ echo "Command failed with exit code ${status}; retrying in ${delay}s (${attempt}/${max_attempts}): $*"
+ sleep "$delay"
+ attempt=$((attempt + 1))
+ done
+ }
+
uname -a
- echo "FROM postgis/postgis-build-env:${{ matrix.ci.tag }}" > Dockerfile
+ build_image="postgis/postgis-build-env:${{ matrix.ci.tag }}"
+ retry 3 15 docker pull "${build_image}"
+ echo "FROM ${build_image}" > Dockerfile
if test "${{ matrix.ci.mode }}" = "garden"; then
echo "USER root" >> Dockerfile
echo "RUN apt-get update && apt-get install -y --no-install-recommends python3 proj-bin && rm -rf /var/lib/apt/lists/*" >> Dockerfile
@@ -61,7 +81,7 @@ jobs:
fi
echo "ADD --chown=postgres:postgres . /src/postgis" >> Dockerfile
echo "CMD bash ci/github/run_${{ matrix.ci.mode }}.sh" >> Dockerfile
- docker build -t pgtest .
+ docker build --pull=false -t pgtest .
- name: 'Build & Test'
run: |
-----------------------------------------------------------------------
Summary of changes:
.github/workflows/ci.yml | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list