Skip to content

Commit

Permalink
ci: avoid helm repo update for performance reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jan 15, 2021
1 parent ad32bf0 commit 0c89358
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,11 @@ jobs:
- name: Install JupyterHub chart for main tests
if: matrix.test == 'main'
run: |
helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/
helm repo update
./testing/local-binder-k8s-hub/install-jupyterhub-chart
- name: Install JupyterHub chart for auth tests
if: matrix.test == 'auth'
run: |
helm repo add jupyterhub https://jupyterhub.github.io/helm-chart/
helm repo update
./testing/local-binder-k8s-hub/install-jupyterhub-chart --auth
- name: Use chartpress to create the helm chart
Expand Down
3 changes: 2 additions & 1 deletion testing/local-binder-k8s-hub/install-jupyterhub-chart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ with NamedTemporaryFile(mode="w") as tmp:

cmd = ['helm', 'upgrade', '--install', 'binderhub-test']
cmd.extend([
'jupyterhub/jupyterhub',
'jupyterhub',
'--repo=https://jupyterhub.github.io/helm-chart/',
f'--version={_get_jupyterhub_dependency_version()}',
f'--values={tmp.name}',
f'--values={os.path.join(here, "jupyterhub-chart-config.yaml")}',
Expand Down

0 comments on commit 0c89358

Please sign in to comment.