From 31b46ce434e261b5518fa02594fd30eb8f25205e Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Tue, 8 Oct 2024 17:40:07 +0000 Subject: [PATCH] Scripts: - Corrected show logs automation - Cosmetic change in deploy crdb --- deploy/crdb.sh | 2 ++ scripts/show_logs_automation.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/crdb.sh b/deploy/crdb.sh index 3fcbb5cfa..42b49fe98 100755 --- a/deploy/crdb.sh +++ b/deploy/crdb.sh @@ -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" diff --git a/scripts/show_logs_automation.sh b/scripts/show_logs_automation.sh index 8a0e417d9..266842980 100755 --- a/scripts/show_logs_automation.sh +++ b/scripts/show_logs_automation.sh @@ -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 -- GitLab