Commit f35c5566 authored by David José Araújo Ferreira's avatar David José Araújo Ferreira
Browse files

REDEPLOYALL flag removed

parent a57f997e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -18,12 +18,6 @@
# Read deployment settings
########################################################################################################################

# ----- Redeploy All ------------------------------------------------------------

# If not already set, enables all components redeployment
export REDEPLOYALL=${REDEPLOYALL:-""}


# ----- TeraFlowSDN ------------------------------------------------------------

# If not already set, set the URL of the Docker registry where the images will be uploaded to.
+2 −7
Original line number Diff line number Diff line
@@ -18,11 +18,6 @@
# Read deployment settings
########################################################################################################################

# ----- Redeploy All ------------------------------------------------------------
# If not already set, enables all components redeployment
export REDEPLOYALL=${REDEPLOYALL:-""}


# If not already set, set the namespace where CockroackDB will be deployed.
export CRDB_NAMESPACE=${CRDB_NAMESPACE:-"crdb"}

@@ -365,7 +360,7 @@ function crdb_drop_database_cluster() {
}

if [ "$CRDB_DEPLOY_MODE" == "single" ]; then
    if [ "$CRDB_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then
    if [ "$CRDB_REDEPLOY" == "YES" ]; then
        crdb_undeploy_single
    fi

@@ -375,7 +370,7 @@ if [ "$CRDB_DEPLOY_MODE" == "single" ]; then
        crdb_drop_database_single
    fi
elif [ "$CRDB_DEPLOY_MODE" == "cluster" ]; then
    if [ "$CRDB_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then
    if [ "$CRDB_REDEPLOY" == "YES" ]; then
        crdb_undeploy_cluster
    fi

+1 −5
Original line number Diff line number Diff line
@@ -18,10 +18,6 @@
# Read deployment settings
########################################################################################################################

# ----- Redeploy All ------------------------------------------------------------
# If not already set, enables all components redeployment
export REDEPLOYALL=${REDEPLOYALL:-""}

# If not already set, set the namespace where NATS will be deployed.
export NATS_NAMESPACE=${NATS_NAMESPACE:-"nats"}

@@ -224,7 +220,7 @@ function nats_undeploy() {
    echo
}

if [ "$NATS_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then
if [ "$NATS_REDEPLOY" == "YES" ]; then
    nats_undeploy
fi

+1 −5
Original line number Diff line number Diff line
@@ -18,10 +18,6 @@
# Read deployment settings
########################################################################################################################

# ----- Redeploy All ------------------------------------------------------------
# If not already set, enables all components redeployment
export REDEPLOYALL=${REDEPLOYALL:-""}

# If not already set, set the namespace where QuestDB will be deployed.
export QDB_NAMESPACE=${QDB_NAMESPACE:-"qdb"}

@@ -181,7 +177,7 @@ function qdb_drop_tables() {
    echo
}

if [ "$QDB_REDEPLOY" == "YES" ] || [ "$REDEPLOYALL" == "YES" ]; then
if [ "$QDB_REDEPLOY" == "YES" ]; then
    qdb_undeploy
fi

+0 −6
Original line number Diff line number Diff line
@@ -13,12 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# ----- Redeploy All ------------------------------------------------------------

# If not already set, enables all components redeployment
export REDEPLOYALL=""


# ----- TeraFlowSDN ------------------------------------------------------------

# Set the URL of the internal MicroK8s Docker registry where the images will be uploaded to.