Skip to content

Commit df7a152

Browse files
committed
fix kubeconfig retrieval
1 parent 602951d commit df7a152

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/mlflow-ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,25 +79,20 @@ jobs:
7979
kubernetes-version: ${{ matrix.cluster.version }}
8080
cluster-name: mlflow-e2e-${{ github.run_id }}-${{ matrix.cluster.distribution }}-${{ matrix.cluster.version }}
8181
ttl: 1h
82+
export-kubeconfig: true
8283

8384
- name: Install Infra Chart
8485
run: ct install --config applications/mlflow/ct.yaml --chart-dirs applications/mlflow/charts --charts applications/mlflow/charts/mlflow --skip-clean-up --namespace default
85-
env:
86-
KUBECONFIG: ${{ steps.create-cluster.outputs.cluster-kubeconfig }}
8786

8887
- name: Install Mlflow Chart
8988
run: ct install --config applications/mlflow/ct.yaml --chart-dirs applications/mlflow/charts --charts applications/mlflow/charts/mlflow --skip-clean-up --namespace default
90-
env:
91-
KUBECONFIG: ${{ steps.create-cluster.outputs.cluster-kubeconfig }}
9289

9390
- name: Install troubleshoot
9491
run: curl -L https://github.com/replicatedhq/troubleshoot/releases/latest/download/support-bundle_linux_amd64.tar.gz | tar xzvf -
9592
if: failure()
9693

9794
- name: Collect bundle
9895
run: ./support-bundle --kubeconfig=${{ steps.create-cluster.outputs.cluster-kubeconfig }} --interactive=false -o ci-bundle-${{ matrix.cluster.distribution }}-${{ matrix.cluster.version }} https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/main/in-cluster/default.yaml
99-
env:
100-
KUBECONFIG: ${{ steps.create-cluster.outputs.cluster-kubeconfig }}
10196
if: failure()
10297

10398
- name: Upload support bundle artifact

0 commit comments

Comments
 (0)