[SCM] PostGIS branch master updated. 3.7.0beta1-35-gbd8b9aaad
git at osgeo.org
git at osgeo.org
Sat Jul 25 13:28:15 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 bd8b9aaad3b776a6891262655f5709b82873f075 (commit)
via 63bab1fa8c20b82566485f38b883f6c608bc51b2 (commit)
from 2828d83f168795684505a9191e537c75764c04b1 (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 bd8b9aaad3b776a6891262655f5709b82873f075
Merge: 2828d83f1 63bab1fa8
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Sat Jul 25 13:28:13 2026 -0700
Merge pull request 'ci: retire stale badge inventory entries' (!513) from Komzpa/postgis:codex/ci-badge-inventory-audit into master
Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/513
commit 63bab1fa8c20b82566485f38b883f6c608bc51b2
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Sun Jul 26 00:17:11 2026 +0400
ci: retire stale badge inventory entries
diff --git a/doc/development/testing/ci.md b/doc/development/testing/ci.md
index 4fce30bf1..1e10da445 100644
--- a/doc/development/testing/ci.md
+++ b/doc/development/testing/ci.md
@@ -106,8 +106,9 @@ Update the inventory when any of these change:
should have badges.
Use `utils/ci-trac-line.sh` when maintaining the Trac badge table or a copied
-badge inventory. Fetch or export the current Trac table into a temporary file
-before using `--check` or `--replace`:
+badge inventory. The generated row covers the maintained repository-owned
+status inventory and omits retired mirror badges. Fetch or export the current
+Trac table into a temporary file before using `--check` or `--replace`:
```sh
utils/ci-trac-line.sh 3.7
diff --git a/utils/ci-status.json b/utils/ci-status.json
index 7d7f45853..9d4713c3f 100644
--- a/utils/ci-status.json
+++ b/utils/ci-status.json
@@ -172,21 +172,21 @@
"provider": "disabled",
"required": false,
"status": "retired",
- "message": "Cirrus coverage was replaced by repository GitHub Actions FreeBSD and macOS workflows."
+ "message": "Cirrus coverage was replaced by repository GitHub Actions FreeBSD and macOS workflows; the retired api.cirrus-ci.com badge endpoint now fails TLS instead of returning a usable status."
},
{
"name": "GitLab mirror",
"provider": "disabled",
"required": false,
"status": "retired",
- "message": "The GitLab.com mirror is out of CI minutes, so release gating uses GitHub Actions, Woodie, and Jenkins."
+ "message": "The GitLab.com mirror badge endpoint still resolves, but mirror jobs fail immediately with ci_quota_exceeded, so release gating uses GitHub Actions, Woodie, and Jenkins."
},
{
"name": "INAF GitLab mirror",
"provider": "disabled",
"required": false,
"status": "retired",
- "message": "The INAF GitLab mirror is stale and no longer provides a current release-gating signal."
+ "message": "The INAF GitLab mirror badge endpoint still resolves, but its pipelines are stale failed mirror results and no longer provide a current release-gating signal."
}
]
}
diff --git a/utils/ci-trac-line.sh b/utils/ci-trac-line.sh
index c6208be34..769c824d5 100755
--- a/utils/ci-trac-line.sh
+++ b/utils/ci-trac-line.sh
@@ -31,10 +31,7 @@ generate_row()
|| [[Image(https://debbie.postgis.net/buildStatus/icon?job=PostGIS_Worker_Run/label=bessie&build=last:\${params.reference=refs/heads/${BRANCH}}, link=https://debbie.postgis.net/view/PostGIS/job/PostGIS_Worker_Run/label=bessie, alt=status, height="20", title='PG 18.4, GDAL 3.11.5, GEOS 3.14.1')]] || \\
|| [[Image(https://debbie.postgis.net/buildStatus/icon?job=PostGIS_Worker_Run/label=berrie&build=last:\${params.reference=refs/heads/${BRANCH}}, link=https://debbie.postgis.net/view/PostGIS/job/PostGIS_Worker_Run/label=berrie, alt=status, height="20", title='PG 12(branch), GDAL 2.4.0 branch, GEOS 3.7.1')]] || \\
|| [[Image(https://debbie.postgis.net/buildStatus/icon?job=PostGIS_Worker_Run/label=berrie64&build=last:\${params.reference=refs/heads/${BRANCH}}, link=https://debbie.postgis.net/view/PostGIS/job/PostGIS_Worker_Run/label=berrie64, alt=status, height="20", title='PG 12(branch), GDAL 2.4.0 branch, GEOS 3.7.1')]] || \\
-|| [[Image(https://github.com/postgis/postgis/actions/workflows/ci-freebsd.yml/badge.svg?branch=${BRANCH}, link=https://github.com/postgis/postgis/actions/workflows/ci-freebsd.yml?query=branch%3A${BRANCH}, alt=status, height="20", title='FreeBSD')]] || \\
-|| [[Image(https://github.com/postgis/postgis/actions/workflows/ci-macos.yml/badge.svg?branch=${BRANCH}, link=https://github.com/postgis/postgis/actions/workflows/ci-macos.yml?query=branch%3A${BRANCH}, alt=status, height="20", title='macOS')]] || \\
-|| [[Image(https://gitlab.com/postgis/postgis/badges/${BRANCH}/pipeline.svg, link=https://gitlab.com/postgis/postgis/-/commits/${BRANCH}, alt=status, height="20", title='32/64 bit trixie, PG 15, GDAL 2.4.0, GEOS 3.7.1, PROJ 5.2.0')]] || \\
-|| [[Image(https://www.ict.inaf.it/gitlab/postgis/postgis/badges/master/pipeline.svg?ref=refs/heads/${BRANCH}, link=https://www.ict.inaf.it/gitlab/postgis/postgis/-/commits/${BRANCH}, alt=inaf/${BRANCH})]] ||
+|| [[Image(https://github.com/postgis/postgis/actions/workflows/codeql.yml/badge.svg?branch=${BRANCH}, link=https://github.com/postgis/postgis/actions/workflows/codeql.yml?query=branch%3A${BRANCH}, alt=status, height="20", title='CodeQL')]] ||
EOF
}
diff --git a/utils/test_ci_status.py b/utils/test_ci_status.py
index 877fbc0ae..c22a04fa7 100644
--- a/utils/test_ci_status.py
+++ b/utils/test_ci_status.py
@@ -286,6 +286,31 @@ class RequiredFailureHtmlTest(unittest.TestCase):
woodpecker["branches"],
)
+ def test_retired_badges_record_current_non_gating_reason(self):
+ config = json.loads(MODULE_PATH.with_suffix(".json").read_text(encoding="utf-8"))
+ serialized = json.dumps(config)
+
+ self.assertNotIn("bessie32", serialized.lower())
+
+ checks = {check["name"]: check for check in config["checks"]}
+ self.assertIn("api.cirrus-ci.com", checks["Cirrus CI"]["message"])
+ self.assertIn("fails TLS", checks["Cirrus CI"]["message"])
+ self.assertIn("ci_quota_exceeded", checks["GitLab mirror"]["message"])
+ self.assertIn("badge endpoint still resolves", checks["GitLab mirror"]["message"])
+ self.assertIn("stale failed mirror results", checks["INAF GitLab mirror"]["message"])
+
+ def test_trac_row_helper_does_not_generate_retired_badges(self):
+ script = MODULE_PATH.with_name("ci-trac-line.sh")
+ row = subprocess.check_output([str(script), "3.7"], text=True)
+
+ self.assertNotIn("bessie32", row.lower())
+ self.assertNotIn("api.cirrus-ci.com", row)
+ self.assertNotIn("gitlab.com/postgis/postgis/badges", row)
+ self.assertNotIn("www.ict.inaf.it/gitlab/postgis/postgis/badges", row)
+ self.assertNotIn("ci-freebsd.yml", row)
+ self.assertNotIn("ci-macos.yml", row)
+ self.assertIn("codeql.yml", row)
+
def test_apply_staleness_labels_passed_and_failed_results(self):
config = {
"stale_after_hours": 168,
-----------------------------------------------------------------------
Summary of changes:
doc/development/testing/ci.md | 5 +++--
utils/ci-status.json | 6 +++---
utils/ci-trac-line.sh | 5 +----
utils/test_ci_status.py | 25 +++++++++++++++++++++++++
4 files changed, 32 insertions(+), 9 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list