UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Resolve "Include Bigbang repos into repositories.tar.gz"

Merged joshwolf requested to merge 243-include-bigbang-repos-into-repositories-tar-gz into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -3,6 +3,10 @@ set -ex
mkdir -p repos/
# "Package" ourselves
# Do it this way on purpose (instead of cp or rsync) to ensure this never includes any unwanted "build" artifacts
git -C repos/ clone -b ${CI_COMMIT_REF_NAME} ${CI_REPOSITORY_URL}
# Clone core
yq e ".*.git.repo | select(. != null) | path | .[-3] " "chart/values.yaml" | while IFS= read -r package; do
git -C repos/ clone -b $(yq e ".${package}.git.tag" "chart/values.yaml") $(yq e ".${package}.git.repo" "chart/values.yaml")
Loading