Skip to content

Commit

Permalink
[GHA] Fix not fetching helm deps
Browse files Browse the repository at this point in the history
  • Loading branch information
meln5674 committed Jul 23, 2024
1 parent ac8b2a7 commit 455c9b9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Lint standalone chart
run: |
cd deploy/helm/mlflow-oidc-proxy
../../../bin/helm dependency update
../../../bin/helm dependency build
../../../bin/helm-hog test --no-apply --batch --auto-remove-success --parallel=0
- name: Lint omnibus dependencies chart
run: |
Expand All @@ -67,7 +67,7 @@ jobs:
- name: Lint omnibus chart
run: |
cd deploy/helm/mlflow-multitenant
../../../bin/helm dependency update
../../../bin/helm dependency build
../../../bin/helm-hog test --no-apply --batch --auto-remove-success --parallel=0
test:
Expand Down Expand Up @@ -102,6 +102,9 @@ jobs:
- name: Install Dependencies
run: |
make deps
bin/helm dependency build deploy/helm/mlflow-oidc-proxy
bin/helm dependency build deploy/helm/mlflow-multitenant
bin/helm dependency build deploy/helm/mlflow-multitenant-deps
# Tests
- name: Unit Tests
Expand Down Expand Up @@ -287,7 +290,7 @@ jobs:
helm push bin/mlflow-oidc-proxy-*.tgz "${HELM_REPO}"
helm push bin/mlflow-multitenant-deps-*.tgz "${HELM_REPO}"
rm -rf bin/*.tgz # The wildcard below matches the deps chart, this is a hack-y workaround
helm dependency update deploy/helm/mlflow-multitenant
helm dependency build deploy/helm/mlflow-multitenant
helm package deploy/helm/mlflow-multitenant/ --destination bin
helm push bin/mlflow-multitenant-*.tgz "${HELM_REPO}"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- name: Lint standalone chart
run: |
cd deploy/helm/mlflow-oidc-proxy
../../../bin/helm dependency update
../../../bin/helm dependency build
../../../bin/helm-hog test --no-apply --batch --auto-remove-success --parallel=0
- name: Lint omnibus dependencies chart
run: |
Expand Down Expand Up @@ -103,8 +103,9 @@ jobs:
- name: Install Dependencies
run: |
make deps
cd deploy/helm/mlflow-multitenant
../../../bin/helm dependency build
bin/helm dependency build deploy/helm/mlflow-oidc-proxy
bin/helm dependency build deploy/helm/mlflow-multitenant
bin/helm dependency build deploy/helm/mlflow-multitenant-deps
# Tests
- name: Unit Tests
Expand Down

0 comments on commit 455c9b9

Please sign in to comment.