Skip to content

natarajaya/gpii-version-updater

 
 

Repository files navigation

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 version.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 version.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 version.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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%