Skip to content

Commit 8a5c46f

Browse files
committed
fix port forward
1 parent 85d3610 commit 8a5c46f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/mlflow-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ jobs:
323323
# Install infra chart from Replicated registry
324324
echo "Installing infra chart from Replicated registry..."
325325
echo "Chart path: $OCI_URL/infra"
326-
KUBECONFIG="$KUBECONFIG_FILE" helm upgrade --install infra-values-test $OCI_URL/infra \
326+
KUBECONFIG="$KUBECONFIG_FILE" helm upgrade --install infra $OCI_URL/infra \
327327
--namespace values-test \
328328
--wait --timeout 5m --debug || {
329329
echo "ERROR: Failed to install infra chart from $OCI_URL/infra"
@@ -335,7 +335,7 @@ jobs:
335335
echo "Installing mlflow chart from Replicated registry with custom values..."
336336
echo "Chart path: $OCI_URL/mlflow"
337337
echo "Using values args: $MLFLOW_VALUES_ARGS"
338-
KUBECONFIG="$KUBECONFIG_FILE" helm upgrade --install mlflow-values-test $OCI_URL/mlflow \
338+
KUBECONFIG="$KUBECONFIG_FILE" helm upgrade --install mlflow $OCI_URL/mlflow \
339339
--namespace values-test \
340340
$MLFLOW_VALUES_ARGS \
341341
--wait --timeout 5m --debug || {
@@ -374,7 +374,7 @@ jobs:
374374
375375
# Set up port forwarding in the background
376376
echo "Setting up port forwarding to run in the background"
377-
nohup bash -c "KUBECONFIG='$KUBECONFIG_FILE' kubectl port-forward -n values-test svc/mlflow-values-test $PORT:5000 &>/tmp/port-forward-${{ github.run_id }}.log" &
377+
nohup bash -c "KUBECONFIG='$KUBECONFIG_FILE' kubectl port-forward -n values-test svc/mlflow $PORT:5000 &>/tmp/port-forward-${{ github.run_id }}.log" &
378378
PORT_FORWARD_PID=$!
379379
echo "port_forward_pid=$PORT_FORWARD_PID" >> $GITHUB_OUTPUT
380380
echo "Set up port forwarding with PID: $PORT_FORWARD_PID"

0 commit comments

Comments
 (0)