fix: mount the Slack stub from the directory the recipe actually runs in

`just --justfile e2e-tests/justfile` runs recipes from that file's own
directory, so `$(pwd)/e2e-tests/stubs/slack` pointed a level too deep. Docker
created the missing path and mounted it empty, WireMock started with no
mappings, and every Slack call answered 404. CI was unaffected: it mounts the
stub by workspace path.
This commit is contained in:
Al Amin committed 2026-09-06 14:19:45 +02:00
1 parent 3689539689
commit 643efa8781
1 file changed
+1 -1
+1 -1
View File
@@ -170,7 +170,7 @@ up: _ensure-images
if ! docker ps --format '{{ '{{.Names}}' }}' | grep -q "^e2e-slack-stub$"; then
echo "Starting Slack stub..."
docker run -d --network={{ network }} --name e2e-slack-stub \
-v "$(pwd)/e2e-tests/stubs/slack:/home/wiremock:ro" \
-v "$(pwd)/stubs/slack:/home/wiremock:ro" \
{{ slack_stub_image }}
fi