Skip to content
Marco Mambelli edited this page May 10, 2024 · 1 revision

GlideinWMS containers wiki!

This repository contains

  • GlideinWMS containers for Frontend and Facotry
  • Worker nodes containers (/workers)
  • GlideinWMS development containers for integration tests (/workspaces)

Worker node containers workflow

Developers will merge changes as needed. All the time there is a merge, a new image is built and pushed to Docker Hub with the "devel" tag. Once a week (Wed morning) a new stable image is built and uploaded with the "latest" tag.

New commits will result automatically in a "devel" image.

To have a new "latest" image there are 3 options, all working:

  1. add a tag starting with "latest", e.g.
    git tag latest.240510
    git push origin latest.240510
    
  2. use a dispatch with curl (you will need a valid token), e.g.
    curl -X POST -H "Authorization: token $(cat ../token_file)" \
     -H "Content-Type: application/json" -H "Accept: application/vnd.github.v3+json" \
      https://api.github.com/repos/glideinwms/containers/dispatches \
     -d '{"event_type":"worker-build", "client_payload": {"label":"latest", "date_tag":false}}'
    
  3. re-tag the desired build manually (this is not triggering a new build), e.g. with a pull and push of the image from Docker Hub
Clone this wiki locally