Skip to content

Commit

Permalink
Bring python code inline with what was removed from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Sep 24, 2021
1 parent 88b20d6 commit 64ddc34
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions deployer/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,11 @@ def deploy(self, auth_provider, secret_key, skip_hub_health_test=False):
Deploy this hub
"""
# Ensure helm charts are up to date
os.chdir("hub-templates/basehub")
subprocess.check_call(["helm", "dep", "up"])
os.chdir("hub-templates")
subprocess.check_call(["helm", "dep", "up", "basehub"])
if self.spec["template"] == "daskhub":
os.chdir("../daskhub")
subprocess.check_call(["helm", "dep", "up"])
os.chdir("../..")
subprocess.check_call(["helm", "dep", "up", "daskhub"])
os.chdir("..")

generated_values = self.get_generated_config(auth_provider, secret_key)

Expand Down

0 comments on commit 64ddc34

Please sign in to comment.