Commit 5a1fdad
authored
fix(e2e): fix gen-ai and maas BFF startup failures on self-hosted runners (RHOAIENG-55511) (opendatahub-io#6961)
Two BFF startup issues in the e2e workflow:
1. gen-ai: .env.development contains placeholder URLs like
`LLAMA_STACK_URL=<your-llama-stack-url>` which the parent Makefile
exports. The shell interprets `<...>` as a redirect, crashing the BFF.
Fix: pass explicit empty URL overrides in dev-bff-e2e-cluster, matching
what dev-bff-e2e-mock already does.
2. maas: The BFF crashes fatally when it cannot auto-discover the K8s
cluster domain (expected on self-hosted runners outside a cluster).
Fix: log the error and continue with an empty MaaS API URL, matching
the graceful pattern used by gen-ai and eval-hub BFFs.1 parent 6785d78 commit 5a1fdad
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
125 | 128 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments