Skip to content

Updating docker images for overview local deployment

Jonathan Stray edited this page Oct 24, 2017 · 12 revisions

Dealing with Docker

Getting changes made to overview-server, onto your newly deployed overview-local instance, means that you have to;

  1. update overview-server code,
  2. update the Docker images on Docker Hub,
  3. update your overview-local instance.

Updating overview-server

Get new code committed to overview-server, after which it should automatically be built by our Jenkins integration. Check current build status.

Updating Docker images

Overview-local relies on a number of docker images, which are updated from overview-local via overview-docker.

./release master updates overview-docker on GitHub, this will automatically trigger a build of Overview Base on Docker Hub, which should then trigger an update to all of the dependent docker images required by overview-local.

You can also build specific tags like ./release deploy-2015-12-10.01 or commits like ./release a1b2c3f4.

You can check to see if the overview-base build has started. Several dependent containers have to build as well, such as overview-web, overview-searchindex, etc.

This should just work. If it doesn't - create an account on Docker Hub and connect it to your Github account as it will need permissions to overview-docker (through the Overview Project). If your Github account doesn't have the correct permissions, you won't see the Overview Project listed when you do this. Rerunning the release with changes should start a build on Docker Hub. You can also manually start the Docker Hub builds of the required images - start with Overview Base as all the other images should kick off automatically from it.

If you have a never ending cycle of permissions issues (a bit like this, and it refuses to build at all - I have in the past resorted to killing and recreating the Docker Hub repository. (No, I have no idea either)

If you want to develop plugins for overview there is a more detailed resource

Updating overview-local instance

Stop, Update and Start your overview-local instance, which should pull any changes to the docker images or overview-local.

Clone this wiki locally