Skip to content

Commit

Permalink
Add notification when user setup task starts
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Feb 5, 2025
1 parent 48baa1d commit 36aa2b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/htr2hpc/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,11 @@ def hpc_user_setup(user_pk=None):

# bash setup script is included with this package
user_setup_script = settings.HTR2HPC_INSTALL_DIR / "train" / "user_setup.sh"

user.notify(
"Running user setup script, on first run this may take a while...",
id="htr2hpc-setup",
level="info",
)
try:
with Connection(
host=settings.HPC_HOSTNAME,
Expand Down

0 comments on commit 36aa2b4

Please sign in to comment.