Commit 31b46ce4 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Scripts:

- Corrected show logs automation
- Cosmetic change in deploy crdb
parent 07b8adea
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -175,6 +175,7 @@ function crdb_drop_databases_single() {
            --execute "SHOW DATABASES;" --format=tsv | awk '{print $1}' | grep "^tfs"
    )
    echo "Found TFS databases: ${DATABASES}" | tr '\n' ' '
    echo

    for DB_NAME in $DATABASES; do
        echo "Dropping TFS database: $DB_NAME"
@@ -369,6 +370,7 @@ function crdb_drop_databases_cluster() {
            --execute "SHOW DATABASES;" --format=tsv | awk '{print $1}' | grep "^tfs"
    )
    echo "Found TFS databases: ${DATABASES}" | tr '\n' ' '
    echo

    for DB_NAME in $DATABASES; do
        echo "Dropping TFS database: $DB_NAME"
+1 −1
Original line number Diff line number Diff line
@@ -24,4 +24,4 @@ export TFS_K8S_NAMESPACE=${TFS_K8S_NAMESPACE:-"tfs"}
# Automated steps start here
########################################################################################################################

kubectl --namespace $TFS_K8S_NAMESPACE logs deployment/ztpservice
kubectl --namespace $TFS_K8S_NAMESPACE logs deployment/automationservice