UNCLASSIFIED - NO CUI

Skip to content

feat: differential script for BigBang releases

Michael McLeroy requested to merge differential-release-script into master

Package Owner Merge Request

Package Changes

No package changes

Added script for Air Gap deployments to evaluate two Big Bang releases and create the following:

  • images.txt: a list of repository:tag images that changed between the current release and target release
  • images.tar.gz: a zipped registry volume that contains only images that changed from the current release to the target release. This can be mounted into a registry:2 container for accessing the images.

Testing:

Look at the help file and try out of the options. Use case one: I want to create a images.txt file and then use package_images.sh to create a registry. (-s option) Use case two: I want to create an images.tar.gz while I'm away from my keyboard (default). Then copy it into my airgap environment and use synker to move my images into my existing registry.

NOTE: It take a while to download a 10G file from a BB release. I suggest you do it once for testing, but comment out the "cleanup" section in the script. Then move the images.tar.gz to another directory and use the -z option for further testing to skip downloading.

Additional Details

Closes https://repo1.dso.mil/platform-one/big-bang/bigbang/-/issues/598

Merge request reports