[postgis-tickets] r15000 - Add drone and docker config
Sandro Santilli
strk at kbt.io
Tue Jul 19 14:45:06 PDT 2016
Author: strk
Date: 2016-07-19 14:45:05 -0700 (Tue, 19 Jul 2016)
New Revision: 15000
Added:
branches/2.2/.drone.yml
branches/2.2/docker/
branches/2.2/docker/build-test/
branches/2.2/docker/build-test/Dockerfile.trisquel
branches/2.2/docker/build-test/Makefile
Log:
Add drone and docker config
Added: branches/2.2/.drone.yml
===================================================================
--- branches/2.2/.drone.yml (rev 0)
+++ branches/2.2/.drone.yml 2016-07-19 21:45:05 UTC (rev 15000)
@@ -0,0 +1,11 @@
+# See http://readme.drone.io/usage/overview
+pipeline:
+ build:
+ image: docker.kbt.io/postgis/build-test:trisquel
+ commands:
+ - service postgresql start
+ - su -l postgres -c "createuser -s `whoami`"
+ - ./autogen.sh
+ - ./configure
+ - make
+ - make check
Added: branches/2.2/docker/build-test/Dockerfile.trisquel
===================================================================
--- branches/2.2/docker/build-test/Dockerfile.trisquel (rev 0)
+++ branches/2.2/docker/build-test/Dockerfile.trisquel 2016-07-19 21:45:05 UTC (rev 15000)
@@ -0,0 +1,7 @@
+FROM kpengboy/trisquel
+RUN apt-get update -qq && apt-get install -y \
+ postgresql-9.3 postgresql-server-dev-9.3 \
+ build-essential autoconf libtool libcunit1-dev \
+ xsltproc docbook-xsl docbook-mathml dblatex \
+ libproj-dev libgdal-dev libgeos-dev libjson0-dev
+
Added: branches/2.2/docker/build-test/Makefile
===================================================================
--- branches/2.2/docker/build-test/Makefile (rev 0)
+++ branches/2.2/docker/build-test/Makefile 2016-07-19 21:45:05 UTC (rev 15000)
@@ -0,0 +1,13 @@
+DOCKER=docker
+REGISTRY=docker.kbt.io
+NAME=$(REGISTRY)/postgis/build-test
+
+all: trisquel
+
+push: trisquel-push
+
+trisquel:
+ $(DOCKER) build -t $(NAME):trisquel - < Dockerfile.trisquel
+
+trisquel-push:
+ $(DOCKER) push $(NAME):trisquel
More information about the postgis-tickets
mailing list