UNCLASSIFIED - NO CUI

Skip to content

BB-857 and BB-858 - Manual non CI content for airgap folder structure, image bundling script, and git vendoring script, with associated content

Zachariah Dzielinski requested to merge BB-857_8 into master

Issue structure:

New content:

  • scripts/package/git.sh # repo bundling script, result = folder structure with base clones
  • scripts/package/images.sh # image bundling script, result = images in tar.gz format
  • scripts/list_images.sh # utility script to list all images running in a k8s cluster

New airgap folder structure

  • airgap/lists # content store for images.txt, and any other lists
  • airgap/repos # content store of packages for repo bundling script
  • airgap/tarballs # content store of tarballs for image / etc bundling script

Example invocation of scripts/package/gits/sh:

➜  umbrella git:(BB-857_8) ./scripts/package/gits.sh airgap/repos
> Repo Dir: airgap/repos
> Package Dir: airgap/repos/packages
> Umbrella Dir: airgap/repos/umbrella
> Umbrella Remote: https://repo1.dsop.io/platform-one/big-bang/umbrella.git
-- Removing existing umbrella
airgap/repos/umbrella
-- Removing existing packages
airgap/repos/packages/argocd
airgap/repos/packages/authservice
airgap/repos/packages/cluster-auditor
airgap/repos/packages/eck-operator
airgap/repos/packages/elasticsearch-kibana
airgap/repos/packages/fluentbit
airgap/repos/packages/istio-controlplane
airgap/repos/packages/istio-operator
airgap/repos/packages/monitoring
airgap/repos/packages/policy
airgap/repos/packages/twistlock
-- Cloning umbrella
https://repo1.dsop.io/platform-one/big-bang/umbrella.git
-- Cloning core packages
https://repo1.dsop.io/platform-one/big-bang/apps/core/istio-controlplane.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/istio-operator.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/cluster-auditor.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/policy.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/elasticsearch-kibana.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/eck-operator.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/fluentbit.git
https://repo1.dsop.io/platform-one/big-bang/apps/core/monitoring.git
https://repo1.dsop.io/platform-one/big-bang/apps/security-tools/twistlock.git
-- Cloning addon packages
https://repo1.dsop.io/platform-one/big-bang/apps/core/argocd.git
https://repo1.dsop.io/platform-one/big-bang/apps/sandbox/authservice.git
-- Showing new umbrella
airgap/repos/umbrella
-- Showing new packages
airgap/repos/packages/argocd
airgap/repos/packages/authservice
airgap/repos/packages/cluster-auditor
airgap/repos/packages/eck-operator
airgap/repos/packages/elasticsearch-kibana
airgap/repos/packages/fluentbit
airgap/repos/packages/istio-controlplane
airgap/repos/packages/istio-operator
airgap/repos/packages/monitoring
airgap/repos/packages/policy
airgap/repos/packages/twistlock

Example invocation of scripts/package/images.sh:

➜  umbrella git:(BB-857_8) ./scripts/package/images.sh --image-list airgap/lists/images.txt --images airgap/tarballs/images.tar.gz
Edited by Zachariah Dzielinski

Merge request reports