Fix docker-compose to use pre-built images for integration tests

The compose file had build: sections which caused docker-compose to build
its own tagged images (pulse-test-pulse-test) instead of using the
pre-built images (pulse:test, pulse-mock-github:test).

Changed to use image: tags to reference the pre-built images. This ensures
the PULSE_AUTH_USER and PULSE_AUTH_PASS environment variables are properly
applied to the running containers.

Related to #695
This commit is contained in:
rcourtman 2025-11-12 09:53:49 +00:00
parent 2e1ef44ecd
commit f3fa199ff3

View file

@ -3,9 +3,7 @@ version: '3.8'
services:
# Mock GitHub API server for controlled testing
mock-github:
build:
context: ./mock-github-server
dockerfile: Dockerfile
image: pulse-mock-github:test
container_name: pulse-mock-github
ports:
- "8080:8080"
@ -27,9 +25,7 @@ services:
# Pulse server under test
pulse-test:
build:
context: ../../
dockerfile: Dockerfile
image: pulse:test
container_name: pulse-test-server
ports:
- "7655:7655"