Skip to content

Commit

Permalink
add another suffix to app name
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Sep 16, 2024
1 parent 1bbd593 commit 37a78fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jhub_apps/spawner/spawner_creation.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import uuid

import structlog

from jhub_apps.spawner.utils import get_origin_host
Expand Down Expand Up @@ -64,7 +66,7 @@ def get_args(self):
# deploy the app from the repository.
command.args.extend([
f"--repo={repository.get('url')}",
f"--repofolder=/tmp/{self.name}",
f"--repofolder=/tmp/{self.name}-{uuid.uuid4().hex[:6]}",
f"--repobranch={repository.get('ref')}"
])

Expand Down

0 comments on commit 37a78fa

Please sign in to comment.