wiki:DevWikiDockerTesting

Version 14 (modified by robe, 2 years ago) ( diff )

--

The PostGIS project uses docker for a number of regression tests and production use. 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. Only PostGIS development team members have push rights to this repo. More details of the images, dockerfiles 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  (note you can add a --force at end of first to auto delete all dependent tags)
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 Github-actions 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.