[SCM] PostGIS branch stable-3.4 updated. 3.4.1-19-gf73b0aec3

git at osgeo.org git at osgeo.org
Wed Dec 27 03:20:30 PST 2023


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, stable-3.4 has been updated
       via  f73b0aec3ffdf39115228695706e62d1db9dc57d (commit)
      from  451e85f6b33f32a4f2451050c46758f73faad606 (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 f73b0aec3ffdf39115228695706e62d1db9dc57d
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Dec 27 12:19:56 2023 +0100

    Have woodie test with standard_conforming_strings off too
    
    Copies the regress woodie workflow from master branch
    
    References #5633 in 3.4 branch (3.4.2dev)

diff --git a/.woodpecker/regress.yml b/.woodpecker/regress.yml
index aa8081b43..642b5bb7a 100644
--- a/.woodpecker/regress.yml
+++ b/.woodpecker/regress.yml
@@ -1,5 +1,48 @@
 variables:
   test-image: &test-image docker.osgeo.org/postgis/build-test:trisquel3
+  steps-env: &steps-env
+    - export PATH=/usr/lib/postgresql/$${PGVER}/bin:$${PATH}
+    - export PGPORT=$$(grep ^port /etc/postgresql/$${PGVER}/main/postgresql.conf | awk '{print $$3}')
+    - export POSTGIS_REGRESS_DB_OWNER=postgis_reg_unprivileged_user
+    - export RUNTESTFLAGS="-v --after-create-db-script $${CI_WORKSPACE}/regress/hooks/configure-pgextwlist.sql"
+    - export SRCDIR=$${CI_WORKSPACE}
+    - export BUILDDIR=$${SRCDIR}/build/pg$${PGVER}
+    - export CURRENTVERSION=$$(grep '^POSTGIS_' $${SRCDIR}/Version.config | cut -d= -f2 | paste -sd '.')
+    - pg_config --version
+  steps-start-postgresql: &steps-start-postgresql
+    - service postgresql start $${PGVER}
+    - psql -c 'select version()' template1
+  steps-pg-build: &steps-pg-build
+    - mkdir -p "$${BUILDDIR}"
+    - cd "$${BUILDDIR}"
+    - $${SRCDIR}/configure
+      --with-library-minor-version
+      --enable-lto
+      --enable-lto
+      CFLAGS="-O2 -Wall -fno-omit-frame-pointer -Werror"
+    - make -j
+  steps-pg-test-preinstall: &steps-pg-test-preinstall
+    - cd build/pg$${PGVER}
+    - make check
+    - make check-double-upgrade
+    - make check-locked-upgrade
+  steps-pg-install: &steps-pg-install
+    - make -C build/pg$${PGVER} install
+  steps-pg-test-install: &steps-pg-test-install
+    - service postgresql start $${PGVER}
+    - make -C build/pg$${PGVER} installcheck
+  steps-pg-test-all-upgrades: &steps-pg-test-all-upgrades
+    - cd build/pg$${PGVER}
+    - mkfifo check.fifo
+    - tee check.log < check.fifo &
+    - $${SRCDIR}/utils/check_all_upgrades.sh -s $${CURRENTVERSION}! > check.fifo
+    - wait # for tee process to flush its buffers
+    - echo "-- Summary of upgrade tests --"
+    - egrep '(PASS|FAIL|SKIP|INFO|ERROR)' check.log
+    - echo "-- Upgrade tests with standard_conforming_strings off --"
+    - RUNTESTFLAGS="$${RUNTESTFLAGS} --after-create-db-script $${SRCDIR}/regress/hooks/standard-conforming-strings-off.sql"
+      MAKE_ARGS='TESTS=$${SRCDIR}/regress/core/regress'
+      $${SRCDIR}/utils/check_all_upgrades.sh -s :auto!
 
 clone:
   clone:
@@ -14,14 +57,84 @@ steps:
     commands:
       - ./autogen.sh
 
-  regress-pg12:
+  build-pg12:
     image: *test-image
     group: build
+    environment:
+      - PGVER=12
     commands:
-      - PGVER=12 sh ci/dronie/postgis_regress.sh
+      - <<: *steps-env
+      - <<: *steps-pg-build
 
-  regress-pg15:
+  build-pg15:
     image: *test-image
     group: build
+    environment:
+      - PGVER=15
     commands:
-      - PGVER=15 sh ci/dronie/postgis_regress.sh
+      - <<: *steps-env
+      - <<: *steps-pg-build
+
+  check-pg12:
+    image: *test-image
+    group: check
+    environment:
+      - PGVER=12
+    commands:
+      - <<: *steps-env
+      - <<: *steps-start-postgresql
+      - <<: *steps-pg-test-preinstall
+
+  check-pg15:
+    image: *test-image
+    group: check
+    environment:
+      - PGVER=15
+    commands:
+      - <<: *steps-env
+      - <<: *steps-start-postgresql
+      - <<: *steps-pg-test-preinstall
+
+  installcheck-pg12:
+    image: *test-image
+    group: installcheck
+    environment:
+      - PGVER=12
+    commands:
+      - <<: *steps-env
+      - <<: *steps-start-postgresql
+      - <<: *steps-pg-install
+      - <<: *steps-pg-test-install
+
+  installcheck-pg15:
+    image: *test-image
+    group: installcheck
+    environment:
+      - PGVER=15
+    commands:
+      - <<: *steps-env
+      - <<: *steps-start-postgresql
+      - <<: *steps-pg-install
+      - <<: *steps-pg-test-install
+
+  upgradecheck-pg12:
+    image: *test-image
+    group: upgradecheck
+    environment:
+      - PGVER=12
+    commands:
+      - <<: *steps-env
+      - <<: *steps-start-postgresql
+      - <<: *steps-pg-install
+      - <<: *steps-pg-test-all-upgrades
+
+  upgradecheck-pg15:
+    image: *test-image
+    group: upgradecheck
+    environment:
+      - PGVER=15
+    commands:
+      - <<: *steps-env
+      - <<: *steps-start-postgresql
+      - <<: *steps-pg-install
+      - <<: *steps-pg-test-all-upgrades

-----------------------------------------------------------------------

Summary of changes:
 .woodpecker/regress.yml | 121 ++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 117 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list