wiki:DevWikiDockerTesting

Version 6 (modified by robe, 5 years ago) ( diff )

--

The PostGIS project uses docker for a number of regression tests. We have two different docker setups.

On OSGeo infrastructure we have docker.osgeo.org which docker images are pushed to via postgis-docker.osgeo.org. These are currently only used by dronie.osgeo.org drone agents.

Docker OSGeo

The docker osgeo infrastructure you can log in via your osgeo user id. More details of the images in use by it can be found at PostGIS-docker repo.

Here is an example of how you can pull an image, retag and push to postgis-docker.osgeo.org

# this is old repo we used to use
docker pull docker.kbt.io/postgis/build-test:trisquel
docker tag docker.kbt.io/postgis/build-test:trisquel postgis-docker.osgeo.org/postgis/build-test:trisquel
docker login postgis-docker.osgeo.org #put in your OSGeo LDAP user id /password
docker push postgis-docker.osgeo.org/postgis/build-test:trisquel
#confirm you can pull from the read-only repo - it should recognize you already have it and just add another tag
docker pull docker.osgeo.org/postgis/build-test:trisquel

#To really test, you can 
docker rmi docker.osgeo.org/postgis/build-test:trisquel
docker rmi postgis-docker.osgeo.org/postgis/build-test:trisquel
docker rmi docker.kbt.io/postgis/build-test:trisquel
docker pull docker.osgeo.org/postgis/build-test:trisquel

Docker Hub PostGIS

Docker Hub is used for travis testing and there is also a postgis for production use. The main link to all is https://hub.docker.com/u/postgis

Note: See TracWiki for help on using the wiki.