|
1 | | -name: MLflow CI (Direct Commands) |
| 1 | +name: MLflow CI |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | pull_request: |
5 | 5 | paths: |
6 | 6 | - 'applications/mlflow/charts/**' |
7 | 7 | - 'applications/mlflow/kots/**' |
8 | 8 | - 'applications/mlflow/tests/**' |
9 | | - - '.github/workflows/mlflow-ci-direct.yml' |
| 9 | + - '.github/workflows/mlflow-ci.yml' |
10 | 10 | push: |
11 | 11 | branches: |
12 | 12 | - main |
13 | 13 | paths: |
14 | 14 | - 'applications/mlflow/charts/**' |
15 | 15 | - 'applications/mlflow/kots/**' |
16 | 16 | - 'applications/mlflow/tests/**' |
17 | | - - '.github/workflows/mlflow-ci-direct.yml' |
| 17 | + - '.github/workflows/mlflow-ci.yml' |
18 | 18 |
|
19 | 19 | env: |
20 | 20 | APP_SLUG: diamon-mlflow |
|
44 | 44 | helm repo add minio https://operator.min.io/ |
45 | 45 | helm repo update |
46 | 46 |
|
| 47 | + - name: Update Helm dependencies |
| 48 | + run: | |
| 49 | + echo "Updating Helm dependencies for all charts..." |
| 50 | + helm dependency update applications/mlflow/charts/infra |
| 51 | + helm dependency update applications/mlflow/charts/mlflow |
| 52 | + echo "Helm dependencies updated successfully." |
| 53 | +
|
47 | 54 | - name: Lint charts |
48 | 55 | run: | |
49 | 56 | echo "Linting Helm charts..." |
@@ -99,6 +106,13 @@ jobs: |
99 | 106 | helm repo add minio https://operator.min.io/ |
100 | 107 | helm repo update |
101 | 108 |
|
| 109 | + - name: Update Helm dependencies |
| 110 | + run: | |
| 111 | + echo "Updating Helm dependencies for all charts..." |
| 112 | + helm dependency update applications/mlflow/charts/infra |
| 113 | + helm dependency update applications/mlflow/charts/mlflow |
| 114 | + echo "Helm dependencies updated successfully." |
| 115 | +
|
102 | 116 | - name: Package infra chart |
103 | 117 | run: | |
104 | 118 | helm package applications/mlflow/charts/infra -d applications/mlflow/kots/ -u |
@@ -240,6 +254,15 @@ jobs: |
240 | 254 | helm repo add minio https://operator.min.io/ |
241 | 255 | helm repo update |
242 | 256 |
|
| 257 | + - name: Update Helm dependencies |
| 258 | + run: | |
| 259 | + # This step ensures dependencies are updated for local chart references |
| 260 | + # Note: For OCI charts, dependencies are already included in the packaged chart |
| 261 | + echo "Updating Helm dependencies for all charts..." |
| 262 | + helm dependency update applications/mlflow/charts/infra |
| 263 | + helm dependency update applications/mlflow/charts/mlflow |
| 264 | + echo "Helm dependencies updated successfully." |
| 265 | +
|
243 | 266 | # Authenticate with the Replicated registry |
244 | 267 | - name: Login to Replicated registry |
245 | 268 | run: | |
|
0 commit comments