[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.1-21-gc76d1b1

git at osgeo.org git at osgeo.org
Sat Jun 27 12:02:12 PDT 2020


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.0 has been updated
       via  c76d1b1178065e5f540b848bb37cfa43dcb61982 (commit)
      from  26538b1ed35ac59587294c78538cd2c87d653c11 (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 c76d1b1178065e5f540b848bb37cfa43dcb61982
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Jun 27 15:02:05 2020 -0400

    Add berrie64 to jenkins bot chain references #4708 for PostGIS 3.0

diff --git a/ci/berrie64/pg_init_start.sh b/ci/berrie64/pg_init_start.sh
new file mode 100644
index 0000000..6959641
--- /dev/null
+++ b/ci/berrie64/pg_init_start.sh
@@ -0,0 +1,36 @@
+#Berrie64 is a 64-bit Rasberry Pi Arm managed by Bruce Rindahl
+#This is script to launch custom compiled PostgreSQL
+#export label=berrie64 #this is passed in via Jenkins
+export WORKSPACE=/home/jenkins/workspace
+
+export OS_BUILD=64
+export PG_VER=13
+export PGPATH=${WORKSPACE}/pg/label/${label}/rel/pg${PG_VER}w${OS_BUILD}
+export PATH=${PATH}:${PGPATH}/bin:${PGPATH}/lib
+export PGPORT=55432
+export PGDATA=$PGPATH/data_${PGPORT}
+export PGLOG="$PGDATA/pgsql.log"
+# What to use to start up the postmaster
+DAEMON="$PGPATH/bin/pg_ctl -D $PGDATA -l logfile start"
+
+# What to use to shut down the postmaster
+PGCTL="$PGPATH/bin/pg_ctl"
+
+# remove cluster if exists
+if [ -d $PGDATA ] ; then
+    if [ -d $PGDATA/postmaster.pid] ; then
+    	$PGCTL stop -D $PGDATA -s -m fast
+    fi;
+
+    rm -rf $PGDATA
+fi;
+
+#initialize cluster
+$PGPATH/bin/initdb
+
+echo -n "Starting PostgreSQL: "
+$DAEMON &
+#sleep a bit because sometimes postgres takes a bit to start up
+sleep 20
+echo "ok"
+exit 0
diff --git a/ci/berrie64/postgis_regress.sh b/ci/berrie64/postgis_regress.sh
new file mode 100644
index 0000000..a0880f7
--- /dev/null
+++ b/ci/berrie64/postgis_regress.sh
@@ -0,0 +1,33 @@
+#!/bin/bash
+# Berrie64 is a 64-bit Rasberry Pi Arm managed by Bruce Rindahl
+## BRANCH is passed in via jenkins which is set via gitea web hook
+#export BRANCH=618a67b1d6fc223dd5a4c0b02c824939f21dbd65
+## label is set by jenkins
+#export label=${label}
+
+export WORKSPACE=/home/jenkins/workspace
+
+cd ${WORKSPACE}/PostGIS_Worker_Run/label/${label}/$BRANCH
+export OS_BUILD=64
+export PG_VER=13
+export PGPATH=${WORKSPACE}/pg/label/${label}/rel/pg${PG_VER}w${OS_BUILD}
+
+export PATH=${PATH}:${PGPATH}/bin:${PGPATH}/lib
+export PGPORT=55432
+export PGDATA=$PGPATH/data_${PGPORT}
+export PGHOST=localhost
+
+sh autogen.sh
+./configure --with-pgconfig=${PGPATH}/bin/pg_config
+#make clean
+make
+export err_status=0
+make check RUNTESTFLAGS="-v"
+make install
+make check RUNTESTFLAGS="-v --extension"
+err_status=$?
+
+if [ -d $PGDATA/postmaster.pid ] ; then
+	$PGCTL stop -D $PGDATA -s -m fast
+fi
+exit $err_status

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

Summary of changes:
 ci/{berrie => berrie64}/pg_init_start.sh   | 14 ++++++--------
 ci/{berrie => berrie64}/postgis_regress.sh |  8 ++++----
 2 files changed, 10 insertions(+), 12 deletions(-)
 copy ci/{berrie => berrie64}/pg_init_start.sh (83%)
 copy ci/{berrie => berrie64}/postgis_regress.sh (86%)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list