4 SCRIPTDIR="$(readlink -f $(dirname ${BASH_SOURCE[0]}))"
5 LIBDIR="$(dirname $(dirname $(dirname ${SCRIPTDIR})))/env/lib"
7 source $LIBDIR/common.sh
8 source $SCRIPTDIR/../common.sh
10 BUILDDIR=${SCRIPTDIR/deploy/build}
13 SITE_REPO=${SITE_REPO:-" https://gerrit.akraino.org/r/icn"}
14 SITE_BRANCH=${SITE_BRANCH:-"master"}
15 SITE_PATH=${SITE_PATH:-"deploy/site/vm-mc/deployment"}
18 "clean") site_clean ;;
20 gpg --import ${FLUX_SOPS_PRIVATE_KEY}
24 site_wait_for_all_ready
25 site_insert_control_plane_network_identity_into_ssh_config
27 "wait-clean") site_wait_for_all_deleted ;;
29 Usage: $(basename $0) COMMAND
32 clean - Remove the site
33 deploy - Deploy the site
34 wait - Wait for the site to be ready
35 wait-clean - Wait for the site to be removed