Skip to content

fix: CI smoke test — use haproxy.cfg.template in Dockerfile - #3

Merged
ronsilver merged 5 commits into
mainfrom
feat/sqlmap-scan-script
Jul 27, 2026
Merged

fix: CI smoke test — use haproxy.cfg.template in Dockerfile#3
ronsilver merged 5 commits into
mainfrom
feat/sqlmap-scan-script

Conversation

@ronsilver

@ronsilver ronsilver commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Changes

Root cause: CI smoke test failed at docker compose up -d --build because the HAProxy Dockerfile copies haproxy.cfg which is gitignored (generated file), but only haproxy.cfg.template is tracked in the repo. On fresh CI clones, haproxy.cfg doesn't exist → Docker build fails.

Fix: Updated config/haproxy/Dockerfile to copy haproxy.cfg.template instead. The template IS the config (no runtime variable substitution needed), so this is safe.

Files changed

File Change
config/haproxy/Dockerfile Copy haproxy.cfg.template (tracked) instead of haproxy.cfg (gitignored)
config/haproxy/haproxy.cfg.template Added info log level + log-format for better debugging
.gitignore Added docs/resources and docs/reports
.github/workflows/test.yml New: CI smoke test with Tor connectivity + DNS leak checks

@ronsilver ronsilver self-assigned this Jul 27, 2026
…gnored)

The Dockerfile was copying haproxy.cfg which is gitignored and
doesn't exist on fresh CI clones. Use haproxy.cfg.template
(which is tracked) as the build source.
@ronsilver ronsilver changed the title Feat/sqlmap scan script fix: CI smoke test — use haproxy.cfg.template in Dockerfile Jul 27, 2026
check.torproject.org returns {"IsTor":true,...} without
space after colon, causing the grep '"IsTor": true' to fail.
Use 'IsTor:[ ]*true' pattern to match both
'IsTor:true' and 'IsTor: true' but reject false.
@ronsilver
ronsilver merged commit 0290831 into main Jul 27, 2026
1 check passed
@ronsilver
ronsilver deleted the feat/sqlmap-scan-script branch July 27, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant