Skip to content

Commit 3bde122

Browse files
committed
debug ci
1 parent 7bdd2dd commit 3bde122

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/mlflow-ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,18 +220,28 @@ jobs:
220220
run: |
221221
echo "Authenticating with Replicated registry using license ID from previous step"
222222
cd applications/mlflow
223-
make registry-login
223+
# Print env var name to check it's set in the shell (without revealing value)
224+
if [ -n "$REPLICATED_LICENSE_ID" ]; then
225+
echo "REPLICATED_LICENSE_ID is set in the shell"
226+
else
227+
echo "ERROR: REPLICATED_LICENSE_ID is not set in the shell"
228+
exit 1
229+
fi
230+
# Pass the env var directly to make
231+
REPLICATED_LICENSE_ID="$REPLICATED_LICENSE_ID" make registry-login
224232
env:
225233
REPLICATED_LICENSE_ID: ${{ steps.get-license.outputs.license_id }}
226234

227235
- name: Run Helm installation test with charts from Replicated registry
228236
run: |
229237
cd applications/mlflow
230-
make test-replicated-helm
238+
# Pass env vars directly to make
239+
KUBECONFIG="$KUBECONFIG" REPLICATED_APP="$REPLICATED_APP" REPLICATED_CHANNEL="$REPLICATED_CHANNEL" REPLICATED_LICENSE_ID="$REPLICATED_LICENSE_ID" make test-replicated-helm
231240
env:
232241
KUBECONFIG: ${{ steps.create-cluster.outputs.cluster-kubeconfig }}
233242
REPLICATED_APP: ${{ env.APP_SLUG }}
234243
REPLICATED_CHANNEL: ${{ needs.create-release.outputs.channel-slug }}
244+
REPLICATED_LICENSE_ID: ${{ steps.get-license.outputs.license_id }}
235245

236246
- name: Install troubleshoot
237247
run: curl -L https://github.com/replicatedhq/troubleshoot/releases/latest/download/support-bundle_linux_amd64.tar.gz | tar xzvf -

0 commit comments

Comments
 (0)