amatas / gpii-version-updater

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPII Version Updater

This repo contains a Docker image for tracking versions of GPII components to be deployed to GPII infrastructure. It works as a bridge between the independent CI projects that build, test, and upload Docker images for GPII components (e.g. GPII universal) and the gpii-infra repo, which manages the infrastructure for running and deploying GPII components.

For more about the general CI/CD picture, see Continuous Integration / Continuous Delivery in gpii-infra.

This module contains:

  • update-version, which calculates the latest sha256 for each component and writes common/versions.yml in the gpii-infra repo.
  • components.conf, a list of GPII components and the Docker images and tags that run them. This file is consumed by update-version.
  • update-version-wrapper, a script that runs update-version in a loop, committing and pushing common/versions.yml if it changes.
    • This requires commit and push privileges on gpii-infra. These privileges are provided via an ssh key and some configuration of Github and Gitlab.
  • Dockerfile, to build a Docker image that runs update-version-wrapper.

Generating common/versions.yml manually

update-version can be useful for local GPII development. See gpii-infra: I want to test my local changes to GPII components in my cluster.

About

License:Other


Languages

Language:Shell 92.5%Language:Dockerfile 7.5%