Skip to content

Commit c92ac11

Browse files
committed
Idempotency for admin-panels
1 parent 541df1c commit c92ac11

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ignore-paths=^.*\\generated_models\\.*$|^.*/generated_models/.*$
5858
# Files or directories matching the regex patterns are skipped. The regex
5959
# matches against base names, not paths. The default value ignores Emacs file
6060
# locks
61-
ignore-patterns=venv,.venv
61+
ignore-patterns=venv,.venv,jupyter_server_config.py
6262

6363
# List of module names for which member attributes should not be checked
6464
# (useful for modules/projects where namespaces are manipulated during runtime

scripts/deployments/deploy_everything_locally.bash

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ if [ "$start_opsstack" -eq 0 ]; then
235235
# -------------------------------- ADMIN-PANELS -------------------------------
236236

237237
log_info "starting admin-panels..."
238+
# Check if the stack 'admin-panels' exists and delete it if it does
239+
# shellcheck disable=2015
240+
docker stack ls | grep -q admin-panels && docker stack rm admin-panels >/dev/null 2>&1 || true
238241
# Pushd because a call with call_make trigger a strange behavior
239242
pushd "${repo_basedir}"/services/admin-panels;
240243
call_make "." up-"$stack_target";

0 commit comments

Comments
 (0)