@@ -598,13 +598,67 @@ configure_v0_1_16_manifests() {
598598 msg " Created branch $BRANCH "
599599}
600600
601+ # =====================================
602+ # Configure v0.1.17 manifests.
603+ #
604+ configure_v0_1_17_manifests () {
605+ TAG=v0.1.17
606+ TARBALL=" manifests-$TAG .tar"
607+ BRANCH=" rel-$TAG "
608+ git checkout main
609+ git checkout -b " $BRANCH "
610+ get_and_unpack_manfest " $TAG " " $TARBALL "
611+ set_branch_in_bootstraps " $BRANCH "
612+
613+ git mv environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml-orig
614+ # Remove the patches section.
615+ # Chop off the end of the file, where we think the patches section lives.
616+ sed -n ' 1,/^patches/p' environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml-orig | grep -vE ' ^patches:' > environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml
617+
618+ git add environments
619+ git commit -s -m " Release $TAG "
620+
621+ ./tools/verify-deployment.sh -e " $GITOPS_ENV "
622+
623+ $NO_PUSH_DBG git push --set-upstream origin " $BRANCH "
624+ msg " Created branch $BRANCH "
625+ }
626+
627+ # =====================================
628+ # Configure v0.1.18 manifests.
629+ #
630+ configure_v0_1_18_manifests () {
631+ TAG=v0.1.18
632+ TARBALL=" manifests-$TAG .tar"
633+ BRANCH=" rel-$TAG "
634+ git checkout main
635+ git checkout -b " $BRANCH "
636+ get_and_unpack_manfest " $TAG " " $TARBALL "
637+ set_branch_in_bootstraps " $BRANCH "
638+
639+ git mv environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml-orig
640+ # Remove the patches section.
641+ # Chop off the end of the file, where we think the patches section lives.
642+ sed -n ' 1,/^patches/p' environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml-orig | grep -vE ' ^patches:' > environments/" $GITOPS_ENV " /nnf-dm/kustomization.yaml
643+
644+ git add environments
645+ git commit -s -m " Release $TAG "
646+
647+ ./tools/verify-deployment.sh -e " $GITOPS_ENV "
648+
649+ $NO_PUSH_DBG git push --set-upstream origin " $BRANCH "
650+ msg " Created branch $BRANCH "
651+ }
652+
601653create_new_repo
602654configure_v0_1_11_manifests
603655configure_v0_1_12_manifests
604656configure_v0_1_13_manifests
605657configure_v0_1_14_manifests
606658configure_v0_1_15_manifests
607659configure_v0_1_16_manifests
660+ configure_v0_1_17_manifests
661+ configure_v0_1_18_manifests
608662
609663if [[ -z $NO_PUSH ]]; then
610664 echo
0 commit comments