[postgis-tickets] r17153 - Attempt to add postgis docker hub image as an additional pipeline. Change badge to use new drone 1.0 https://dronie.osgeo.org
Regina Obe
lr at pcorp.us
Tue Jan 15 01:31:12 PST 2019
Author: robe
Date: 2019-01-15 13:31:12 -0800 (Tue, 15 Jan 2019)
New Revision: 17153
Modified:
trunk/.drone-1.0.yml
trunk/README.md
Log:
Attempt to add postgis docker hub image as an additional pipeline. Change badge to use new drone 1.0 https://dronie.osgeo.org
Modified: trunk/.drone-1.0.yml
===================================================================
--- trunk/.drone-1.0.yml 2019-01-15 20:52:02 UTC (rev 17152)
+++ trunk/.drone-1.0.yml 2019-01-15 21:31:12 UTC (rev 17153)
@@ -72,4 +72,28 @@
- make install
- utils/check_all_upgrades.sh
`grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`
+
+---
+test-image: &test-image postgis/postgis-build-env:latest
+kind: pipeline
+name: pg-11-latest
+steps:
+ - name: build
+ image: *test-image
+ pull: true
+ commands:
+ - export PGVER=10
+ - service postgresql start $PGVER
+ - export PGPORT=`grep ^port /etc/postgresql/$PGVER/main/postgresql.conf | awk '{print $3}'`
+ - export PATH=/usr/lib/postgresql/$PGVER/bin:$PATH
+ - psql --version
+ - ./autogen.sh
+ - ./configure CFLAGS="-O0 -Wall -fno-omit-frame-pointer -Werror" --without-interrupt-tests
+ - make -j
+ # we should maybe wait for postgresql service to startup here...
+ - psql -c "select version()" template1
+ - make check RUNTESTFLAGS=-v
+ - make install
+ - utils/check_all_upgrades.sh
+ `grep '^POSTGIS_' Version.config | cut -d= -f2 | paste -sd '.'`
...
Modified: trunk/README.md
===================================================================
--- trunk/README.md 2019-01-15 20:52:02 UTC (rev 17152)
+++ trunk/README.md 2019-01-15 21:31:12 UTC (rev 17153)
@@ -3,7 +3,7 @@
Winnie:
[![Build Status](https://winnie.postgis.net:444/buildStatus/icon?job=PostGIS_trunk)](https://winnie.postgis.net:444/view/PostGIS/job/PostGIS_trunk/)
Dronie:
- [![Build Status](https://drone.osgeo.org/api/badges/postgis/postgis/status.svg?branch=svn-trunk)](https://drone.osgeo.org/postgis/postgis?branch=svn-trunk)
+ [![Build Status](https://dronie.osgeo.org/api/badges/postgis/postgis/status.svg?branch=svn-trunk)](https://dronie.osgeo.org/postgis/postgis?branch=svn-trunk)
Travis:
[![Build Status](https://secure.travis-ci.org/postgis/postgis.svg)](http://travis-ci.org/postgis/postgis)
GitLab-CI:
More information about the postgis-tickets
mailing list