[postgis-tickets] r17142 - Drone 1.0 config (the 1.0 has major breaking changes from 0.5/0.8 so can't use existing .drone.yml

Regina Obe lr at pcorp.us
Sun Jan 13 12:46:50 PST 2019


Author: robe
Date: 2019-01-13 12:46:50 -0800 (Sun, 13 Jan 2019)
New Revision: 17142

Added:
   trunk/.drone-1.0.yml
Log:
Drone 1.0 config (the 1.0 has major breaking changes from 0.5/0.8 so can't use existing .drone.yml
Currently two drone 1.0 agens - debbie and dronie.sogeo.org
dronie.osgeo.org (residing on osgeo7 server) is also the 1.0 drone server -- https://dronie.osgeo.org

Added: trunk/.drone-1.0.yml
===================================================================
--- trunk/.drone-1.0.yml	                        (rev 0)
+++ trunk/.drone-1.0.yml	2019-01-13 20:46:50 UTC (rev 17142)
@@ -0,0 +1,76 @@
+# This is for the drone 1.0 agent
+# https://docs.drone.io/user-guide/pipeline/steps/
+# https://dronie.osgeo.org #1.0 server
+
+# See https://git.osgeo.org/gitea/postgis/postgis-docker
+test-image: &test-image docker.kbt.io/postgis/build-test:trisquel2
+clone:
+    image: plugins/git
+    depth: 20
+    recursive: false
+---
+kind: pipeline
+name: pg-9.5
+steps:
+- name: build
+    image: *test-image
+    pull: true
+    commands:
+      - export PGVER=9.5
+      - 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 '.'`
+---
+kind: pipeline
+name: pg-9.6
+steps:
+- name: build
+    image: *test-image
+    pull: true
+    commands:
+      - export PGVER=9.6
+      - 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 '.'`
+---
+kind: pipeline
+name: pg-10
+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 '.'`



More information about the postgis-tickets mailing list