[postgis-tickets] r14998 - Add drone and docker config
Sandro Santilli
strk at kbt.io
Tue Jul 19 14:42:14 PDT 2016
Author: strk
Date: 2016-07-19 14:42:13 -0700 (Tue, 19 Jul 2016)
New Revision: 14998
Added:
trunk/.drone.yml
trunk/docker/
trunk/docker/build-test/
trunk/docker/build-test/Dockerfile.trisquel
trunk/docker/build-test/Makefile
Log:
Add drone and docker config
Added: trunk/.drone.yml
===================================================================
--- trunk/.drone.yml (rev 0)
+++ trunk/.drone.yml 2016-07-19 21:42:13 UTC (rev 14998)
@@ -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: trunk/docker/build-test/Dockerfile.trisquel
===================================================================
--- trunk/docker/build-test/Dockerfile.trisquel (rev 0)
+++ trunk/docker/build-test/Dockerfile.trisquel 2016-07-19 21:42:13 UTC (rev 14998)
@@ -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: trunk/docker/build-test/Makefile
===================================================================
--- trunk/docker/build-test/Makefile (rev 0)
+++ trunk/docker/build-test/Makefile 2016-07-19 21:42:13 UTC (rev 14998)
@@ -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