- Removed `install.sh` and moved Docker-related assets to `deploy/docker`. - Updated all Dockerfile references from `build/` to `deploy/docker/`. - Refactored paths in E2E tests, Makefile, and documentation for consistency with new directory structure. - Added `HAPROXY_STATS_CORS_ORIGIN` environment variable in `docker-compose.yml`.
956 B
956 B
Instructions for testing
- Run a docker compose in background for the specified feature e.g.
docker compose -f docker-compose.yml up -d - Check if it is running by running
docker psand verifying the container is up - If the container is not running, check the logs with
docker logs <container_id>to diagnose any issues - In the top each file, you can find the instructions to test and check if it is working.
- If everything is working tear down the container with
docker compose -f docker-compose.yml down - To ensure the container is properly shut down, use
docker compose -f docker-compose.yml down --remove-orphansto remove any orphaned containers.
In case you find issues
DONT TEAR DOWN THE CONTAINERS
- Investigate the source code in src/*
- Try to fix it.
- After the code is changed, build it again:
docker build -t byjg/easy-haproxy:5.0.0 -f deploy/docker/Dockerfile --no-cache .and start the tests again.