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 writesversion.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 byupdate-version
.update-version-wrapper
, a script that runsupdate-version
in a loop, committing and pushingversion.yml
if it changes.Dockerfile
, to build a Docker image that runsupdate-version-wrapper
.- A container based on this Docker image is deployed to
i46
and managed by an Ansible role and a wrapper playbook.
- A container based on this Docker image is deployed to
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.