Commit 0f3d94a
committed
fix: set TEST_MODE_API on the container-start step
The previous patch set TEST_MODE_API on the `E2E Test API` step,
which runs *after* docker compose has already started the rocketchat
container — so the env var never reached the Node process.
Move the export to the `Start containers` steps (CE + EE) gated on
`inputs.type == 'api' || inputs.type == 'api-livechat'` so the var
exists in the shell when docker compose substitutes it into the
container's environment from `docker-compose-ci.yml`.1 parent 8539580 commit 0f3d94a
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
178 | 185 | | |
179 | 186 | | |
180 | 187 | | |
| |||
185 | 192 | | |
186 | 193 | | |
187 | 194 | | |
| 195 | + | |
188 | 196 | | |
189 | 197 | | |
190 | 198 | | |
| |||
0 commit comments