Merge "Allow certgen independent of bundle creation"

This commit is contained in:
Zuul 2019-04-15 18:35:19 +00:00 committed by Gerrit Code Review
commit 9f6bed21ac

View File

@ -33,6 +33,7 @@ then
sed -i "s/192.168.77.0\/24/${HOSTCIDR}/g" "${BUILD_DIR}"/*.yaml
fi
if [[ -z $1 ]] || [[ $1 = generate-certs ]]; then
echo === Generating updated certificates ===
docker run --rm -t \
-w /target \
@ -43,7 +44,9 @@ docker run --rm -t \
generate-certs \
-o /target \
$(ls ${BUILD_DIR})
fi
if [[ -z $1 ]] || [[ $1 = build-all ]]; then
echo === Building bootstrap scripts ===
docker run --rm -t \
-w /target \
@ -55,5 +58,6 @@ docker run --rm -t \
-o /target \
--validators \
$(ls ${BUILD_DIR})
fi
echo === Done ===