Skip to content

Commit

Permalink
build: unify ui and ui-server charts
Browse files Browse the repository at this point in the history
  • Loading branch information
cramakri authored and ciyer committed Jul 6, 2022
1 parent 3fbbd37 commit ca664c0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions deploy-renku/deploy-dev-renku.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import yaml

components = ["renku-core", "renku-gateway", "renku-graph", "renku-notebooks", "renku-ui", "renku-ui-server"]
components = ["renku-core", "renku-gateway", "renku-graph", "renku-notebooks", "renku-ui"]


class RenkuRequirement(object):
Expand Down Expand Up @@ -57,13 +57,11 @@ def helm_repo(self):
return f"file://{self.tempdir}/{self.repo}/helm-chart/{self.component}"
return "https://swissdatasciencecenter.github.io/helm-charts/"

# handle the special case of renku-python and renku-ui-server
# handle the special case of renku-python
@property
def repo(self):
if self.component == "renku-core":
return "renku-python"
if self.component == "renku-ui-server":
return "renku-ui"
return self.component

@property
Expand Down Expand Up @@ -172,10 +170,6 @@ def configure_requirements(tempdir, reqs, component_versions):

## 2. set the chosen versions in the requirements.yaml file

# keep renku-ui-server version aligned with renku-ui
if component_versions["renku_ui"] and not component_versions["renku_ui_server"]:
component_versions["renku_ui_server"] = component_versions["renku_ui"]

reqs = configure_requirements(tempdir, reqs, component_versions)

with open(reqs_path, "w") as f:
Expand Down

0 comments on commit ca664c0

Please sign in to comment.