Skip to content

Commit

Permalink
Add Docker Desktop to deploy.py
Browse files Browse the repository at this point in the history
Related to jupyterhub#3157
  • Loading branch information
rgaiacs committed Jan 7, 2025
1 parent 1760865 commit 2c23aea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ def main():
"release",
help="Release to deploy",
choices=[
"docker-desktop",
"staging",
"prod",
"ovh",
Expand Down Expand Up @@ -479,6 +480,9 @@ def main():

args = argparser.parse_args()

if args.release == "docker-desktop":
args.local = True

# if one argument given make cluster == release
cluster = args.cluster or args.release

Expand Down Expand Up @@ -520,6 +524,8 @@ def main():
setup_auth_gcloud(args.release, cluster, args.dry_run)
elif cluster in AWS_DEPLOYMENTS:
setup_auth_aws(cluster, args.dry_run)
elif cluster == "docker-desktop":
pass
else:
raise Exception("Cloud cluster not recognised!")

Expand Down

0 comments on commit 2c23aea

Please sign in to comment.