[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-143-g272f1e3

git at osgeo.org git at osgeo.org
Sat Jun 27 10:36:23 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, master has been updated
       via  272f1e3af3e8cad1711c6dce4f8cc5212895f2ef (commit)
      from  f9db63e9dc082534798861cdfed5c1429c36406f (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 272f1e3af3e8cad1711c6dce4f8cc5212895f2ef
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Jun 27 13:36:19 2020 -0400

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

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