[postgis-tickets] [SCM] PostGIS Buildbots; Jenkins jobs and instructions for setting up winnie and debbie bots. branch master updated. ceb358cbf9c325d3bd38df3e7bfb6db121d70661

git at osgeo.org git at osgeo.org
Sun Nov 13 13:13:04 PST 2022


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 Buildbots; Jenkins jobs and instructions for setting up winnie and debbie bots.".

The branch, master has been updated
       via  ceb358cbf9c325d3bd38df3e7bfb6db121d70661 (commit)
       via  b1c51588bf26a457f5a8defba5ec60503c3b6aa0 (commit)
      from  78084c6bd70c20ed5e1fe955237d1500e5956a8f (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 ceb358cbf9c325d3bd38df3e7bfb6db121d70661
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Nov 13 16:12:58 2022 -0500

    Fix path

diff --git a/windows/mingw64/scripts/build_h3-pg.sh b/windows/mingw64/scripts/build_h3-pg.sh
index 1ab4412..f99de1b 100644
--- a/windows/mingw64/scripts/build_h3-pg.sh
+++ b/windows/mingw64/scripts/build_h3-pg.sh
@@ -14,7 +14,7 @@ export PATH="${PATH}:${PROJECTS}/zlib/rel-zlib-${ZLIB_VER}w${OS_BUILD}${GCC_TYPE
 export PGPORT=5452
 export PGUSER=postgres
 export SOURCES=/sources
-cd ${PROJECTS}
+cd /projects
 cd h3-pg/h3-pg/
 git clean -fdx
 export GIT_REVISION=`git status | head -1`

commit b1c51588bf26a457f5a8defba5ec60503c3b6aa0
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Nov 13 15:57:04 2022 -0500

    Add more steps for packaging

diff --git a/windows/mingw64/scripts/build_h3-pg.sh b/windows/mingw64/scripts/build_h3-pg.sh
index 4a427c1..1ab4412 100644
--- a/windows/mingw64/scripts/build_h3-pg.sh
+++ b/windows/mingw64/scripts/build_h3-pg.sh
@@ -17,7 +17,13 @@ export SOURCES=/sources
 cd ${PROJECTS}
 cd h3-pg/h3-pg/
 git clean -fdx
-export INSTALL_DIR=/projects/h3-pg/builds/h3-pg_pg${PG_VER}w${OS_BUILD}-binaries-${H3PG_VER}
+export GIT_REVISION=`git status | head -1`
+export RELDIR=/projects/h3-pg/builds
+export RELVERDIR=h3-pg_pg${PG_VER}-binaries-${H3PG_VER}w${OS_BUILD}
+export outdir="${RELDIR}/${RELVERDIR}"
+export package="${RELDIR}/${RELVERDIR}.zip"
+export INSTALL_DIR=${RELDIR}/${RELVERDIR}
+export verfile="${INSTALL_DIR}/h3-pg_version.txt"
 cmake -B build -DCMAKE_BUILD_TYPE=Release
 make
 make install
@@ -25,9 +31,22 @@ rm -rf ${INSTALL_DIR}
 mkdir -p ${INSTALL_DIR}/lib
 mkdir -p ${INSTALL_DIR}/docs
 mkdir -p ${INSTALL_DIR}/share/extension 
+cp -r ${RELDIR}/packaging_notes/* ${INSTALL_DIR}/
 cp ${PGPATH}/lib/h3*.dll ${INSTALL_DIR}/lib
 cp ${PGPATH}/share/extension/h3*.control ${INSTALL_DIR}/share/extension
 cp ${PGPATH}/share/extension/h3*.sql ${INSTALL_DIR}/share/extension
 cp README.md ${INSTALL_DIR}
 cp LICENSE ${INSTALL_DIR}
-cp docs/*.md ${INSTALL_DIR}/docs/
\ No newline at end of file
+cp docs/*.md ${INSTALL_DIR}/docs/
+	
+echo "H3-PG extensions: ${H3PG_VER}" > $verfile
+echo "PostgreSQL: ${PG_VER} w${OS_BUILD}" >> $verfile
+date_built="`eval date +%Y%m%d`"
+echo "Built: ${date_built}" >> $verfile
+echo "GIT_REPO: https://github.com/zachasme/h3-pg" >> $verfile 
+echo "GIT_REVISION: ${GIT_REVISION}" >> $verfile
+
+# steps for zipping
+cd ${RELDIR}
+zip -r $package ${RELVERDIR}
+cp $package ${PROJECTS}/postgis/win_web/download/windows/pg${PG_VER}/buildbot/extras
\ No newline at end of file

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

Summary of changes:
 windows/mingw64/scripts/build_h3-pg.sh | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS Buildbots; Jenkins jobs and instructions for setting up winnie and debbie bots.


More information about the postgis-tickets mailing list