From 99484a505b40cfeed2d8f2848fcc10a879e8872c Mon Sep 17 00:00:00 2001 From: Alexander Overvoorde Date: Fri, 27 Dec 2019 14:58:56 +0100 Subject: [PATCH] Update Travis config --- .travis.yml | 18 ++++++++---------- README.md | 4 ++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2c68038..86a3eec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,21 +2,19 @@ os: linux language: minimal services: - docker -env: - global: - - DOCKER_USERNAME=gjacquenot - - secure: NvtIgByN0GmaSqNsTWFtAU8hKhtBqkScSkYMzlwImZaPa5aDfDyach/otae6Zp3dgWmlGR90ui5HrA+4V0DUvrdx3gODyycwzqF2CvoYtOPr6DC1SN5+xb1ty3toBKMlAJyXQRvwSO0oMkOvFRutC8HVBU8A6g+pO4+4pjpu4WfNLBBfWX5Gq4lVlOLZ4L5NH4Es+BNpdNNWVjZPkrdbU3UtjQIfV2bmAF9ws8GTSxi9+DfJT7Zmj4o9aZfAyfnZ8bdRdiEXUcn8Ilbk3rJwbxIq6IPfI0MmqKveHzpYjBrhQhEsr5cLdbhRI4zB235L+l/hzQDrld7+lVGWsZs60Pgw1xeFHH63J5kBT4Ibn3KOdMLyfEQqY2W3aODp3eU7Bkj/8J/s6rc+uBohGyJOM9muTL54OSfNDSb8q4M9Y4S9okSysZuuS6ry/sFn2kMasDYVYeOg+A9XscLj1JXGRL8/hImUuhRbWnyob1F+gbpH1lbgWIAtQ97bHWt4xJs+Fps4LdaXeUZNTb+FIXE9RRe+qbbHX4+ExIkrkFg3JUnmaS37J8XZJmVXw3panv2DuGV2ri1u1DCa1/JpPmB6AbQIL1jfC7FmuqgMbRGg/6U2h5kAAga8gbyEZscMA1DyFhsqgIG/k87oqRiUumvJ9+/m+o9/EV+XvDLjgHzGMvA= +# DOCKER_USERNAME/DOCKER_PASSWORD have been configured in Travis CI +# env: before_install: - echo "Before install" before_script: -- docker pull gjacquenot/openstreetmap-tile-server || true +- docker pull overv/openstreetmap-tile-server || true script: -- docker build --pull --cache-from gjacquenot/openstreetmap-tile-server --tag gjacquenot/openstreetmap-tile-server . +- docker build --pull --cache-from overv/openstreetmap-tile-server --tag overv/openstreetmap-tile-server . - docker volume create openstreetmap-data -- docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main gjacquenot/openstreetmap-tile-server import -- docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main -p 80:80 -d gjacquenot/openstreetmap-tile-server run +- docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main overv/openstreetmap-tile-server import +- docker run --rm -v openstreetmap-data:/var/lib/postgresql/12/main -p 80:80 -d overv/openstreetmap-tile-server run - sleep 30 -- make DOCKER_IMAGE=gjacquenot/openstreetmap-tile-server stop +- make DOCKER_IMAGE=overv/openstreetmap-tile-server stop after_script: - docker images after_success: @@ -24,7 +22,7 @@ after_success: then docker images ; echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin ; - docker push gjacquenot/openstreetmap-tile-server ; + docker push overv/openstreetmap-tile-server ; fi notifications: email: true diff --git a/README.md b/README.md index 4f0d4d6..3a9c7ca 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # openstreetmap-tile-server -[![Build Status](https://travis-ci.org/Gjacquenot/openstreetmap-tile-server.svg?branch=master)](https://travis-ci.org/Gjacquenot/openstreetmap-tile-server) +[![Build Status](https://travis-ci.org/Overv/openstreetmap-tile-server.svg?branch=master)](https://travis-ci.org/Overv/openstreetmap-tile-server) -[![](https://images.microbadger.com/badges/image/gjacquenot/openstreetmap-tile-server.svg)](https://microbadger.com/images/gjacquenot/openstreetmap-tile-server "openstreetmap-tile-server") +[![](https://images.microbadger.com/badges/image/Overv/openstreetmap-tile-server.svg)](https://microbadger.com/images/Overv/openstreetmap-tile-server "openstreetmap-tile-server") This container allows you to easily set up an OpenStreetMap PNG tile server given a `.osm.pbf` file. It is based on the [latest Ubuntu 18.04 LTS guide](https://switch2osm.org/manually-building-a-tile-server-18-04-lts/) from [switch2osm.org](https://switch2osm.org/) and therefore uses the default OpenStreetMap style.