diff --git a/.pylintrc b/.pylintrc index f7317a50..e9682aa1 100644 --- a/.pylintrc +++ b/.pylintrc @@ -58,7 +58,7 @@ ignore-paths=^.*\\generated_models\\.*$|^.*/generated_models/.*$ # Files or directories matching the regex patterns are skipped. The regex # matches against base names, not paths. The default value ignores Emacs file # locks -ignore-patterns=venv,.venv +ignore-patterns=venv,.venv,jupyter_server_config.py # List of module names for which member attributes should not be checked # (useful for modules/projects where namespaces are manipulated during runtime diff --git a/scripts/deployments/deploy_everything_locally.bash b/scripts/deployments/deploy_everything_locally.bash index 90e1d21d..878960f5 100755 --- a/scripts/deployments/deploy_everything_locally.bash +++ b/scripts/deployments/deploy_everything_locally.bash @@ -235,6 +235,9 @@ if [ "$start_opsstack" -eq 0 ]; then # -------------------------------- ADMIN-PANELS ------------------------------- log_info "starting admin-panels..." + # Check if the stack 'admin-panels' exists and delete it if it does + # shellcheck disable=2015 + docker stack ls | grep -q admin-panels && docker stack rm admin-panels >/dev/null 2>&1 || true # Pushd because a call with call_make trigger a strange behavior pushd "${repo_basedir}"/services/admin-panels; call_make "." up-"$stack_target";