1
0
Fork 0
Commit graph

50 commits

Author SHA1 Message Date
Joao Gilberto Magalhaes
48f6e1f783 Migrate build assets and scripts to deploy/docker structure
- 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`.
2026-02-18 02:58:32 -05:00
Joao Gilberto Magalhaes
bfd38adea5 Add standalone Python entrypoint for EasyHAProxy and pip-based installation
- Introduced `/scripts/.venv/bin/easy-haproxy` as the default entrypoint for standalone environments.
- Added `_build_parser` and `start` functions to enable CLI-driven functionality configuration.
- Updated packaging to reflect new `easyhaproxy.main` module and adapted project name from `easymapping` to `easyhaproxy`.
- Modified `Dockerfile` to align with new script paths and entrypoints for better portability.
- Enhanced documentation with dedicated sections for pip-based installation, CLI references, and systemd setup for non-Docker environments.
- Adjusted helm, plugin, and environment-related docs for accurate sidebar ordering.
- Added a new GitHub workflow to automate package publishing to PyPI.
2026-02-17 21:41:33 -05:00
Joao Gilberto Magalhaes
353fd392f6 Add support for proxy-awareness headers: X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto, X-Forwarded-Host, and X-Request-ID
- Updated HAProxy configuration template to set all standard proxy headers for HTTP requests.
- Added support for a unique request ID via `unique-id-format` and `unique-id-header` directives.
- Implemented E2E tests for header validation, request correlation, and configuration correctness.
- Enhanced documentation to explain usage and examples of proxy headers.
- Updated CI workflows to include E2E tests for proxy headers.
2026-02-16 17:49:11 -05:00
Joao Gilberto Magalhaes
776f216a36 Add support for proxy-awareness headers: X-Forwarded-For, X-Forwarded-Port, X-Forwarded-Proto, X-Forwarded-Host, and X-Request-ID
- Updated HAProxy configuration template to set all standard proxy headers for HTTP requests.
- Added support for a unique request ID via `unique-id-format` and `unique-id-header` directives.
- Implemented E2E tests for header validation, request correlation, and configuration correctness.
- Enhanced documentation to explain usage and examples of proxy headers.
- Updated CI workflows to include E2E tests for proxy headers.
2026-02-16 17:26:59 -05:00
Joao Gilberto Magalhaes
3e963228f3 Add ACME/Certbot E2E tests with Pebble integration and update dependencies in CI workflows
- Introduced `docker-compose-acme-e2e.yml` for end-to-end testing with Pebble test server.
- Added tests to validate ACME challenge routing, certificate issuance, HTTPS functionality, and HAProxy configuration.
- Implemented CA certificate download fixture (`create_pebble_ca_file`) for test session initialization.
- Updated `.gitignore` to exclude Pebble-related files.
- Modified CI workflows to include `needs: [Test]` dependencies for E2E jobs, ensuring proper sequencing.
2026-02-14 17:40:40 -05:00
Joao Gilberto Magalhaes
ece012a884 Introduce plugin initialization phase and consolidate config handling
- Added `initialize_plugins` method to `PluginManager` for requesting and processing file system resources during plugin initialization.
- Introduced `InitializationResult` and `ResourceRequest` structures for fine-grained resource management (e.g., directories, files).
- Enhanced configuration injection by separating `global_configs`, `defaults_configs`, and backend-level `haproxy_config`.
- Updated existing plugins (e.g., JWT Validator, Cloudflare) to use the initialization phase for resource setup.
- Simplified domain plugin execution by consolidating configuration logic into unified loops.
2026-02-13 16:14:05 -05:00
Joao Gilberto Magalhaes
904a102b0a Enhance logging and error handling in E2E tests and CI workflows
- Added detailed log messages in `conftest.py` for SSL certificate and JWT generation steps.
- Improved Docker Compose E2E test output with service-specific logs during startup and cleanup.
- Adjusted pytest run options in CI workflows to use `--tb=short` for concise error traceback.
2026-02-12 18:26:59 -05:00
Joao Gilberto Magalhaes
4160babc94 Update CI workflow to adjust job dependencies and remove conditional triggers
- Removed `if` conditions for `Tests-E2E-Docker` and `Tests-E2E-Kubernetes` jobs, ensuring they always run.
- Updated `Build` job to depend on both E2E test jobs for stricter validation before building.
2026-02-12 18:13:04 -05:00
Joao Gilberto Magalhaes
bec91950c5 Update CI workflow to adjust job dependencies and remove conditional triggers
- Removed `if` conditions for `Tests-E2E-Docker` and `Tests-E2E-Kubernetes` jobs, ensuring they always run.
- Updated `Build` job to depend on both E2E test jobs for stricter validation before building.
2026-02-12 18:11:18 -05:00
Joao Gilberto Magalhaes
0a400b976c Add improved output formatting and new manual test workflows
- Added blank lines before specific print statements in E2E test scripts for better readability.
- Enabled `workflow_dispatch` in `.github/workflows/build.yml` to allow manual triggering of workflows.
- Added separate jobs for running Docker Compose and Kubernetes E2E tests in CI pipeline.
2026-02-12 18:07:01 -05:00
Joao Gilberto Magalhaes
343987ab58 Update secrets configuration in CI workflow for DOC_TOKEN
- Replaced `secrets: inherit` with explicit `DOC_TOKEN` in workflow file.
2026-02-07 23:42:57 -05:00
Joao Gilberto Magalhaes
17f40bf2bd Update CI workflow to use uv sync for dependency installation and streamline test execution
- Replaced `pip install` with `uv sync --group dev` for dependency management.
- Adjusted test step to ensure `uv` commands are properly initialized in the PATH.
2026-02-06 20:23:58 -05:00
Joao Gilberto Magalhaes
55d0d1a105 Modernizing PyThon Projec 2026-01-22 20:14:22 -05:00
Joao Gilberto Magalhaes
be9a99eb79 Automate version bumping with bump-version.sh script
- Added `scripts/bump-version.sh` to centralize and streamline version updates across repository components (images, docs, Helm chart).
- Updated release process in `RELEASE.md` to incorporate the version bump script for creating PRs and manual version verification.
- Modified CI workflows to verify pre-bumped versions instead of auto-updating during tag builds.
- Simplified version management and enhanced consistency in deployment artifacts.
2025-12-04 13:07:24 -05:00
Joao Gilberto Magalhaes
3c7ef2d2a8 Update Swarm documentation to replace tags dynamically during release
- Added release tag replacement logic for `docs/swarm.md` to align with Kubernetes and Helm documentation updates.
- Ensured consistency in versioning across all deployment examples and documentation.
2025-12-04 11:18:19 -05:00
Joao M
cd230528f0
Update build.yml 2024-11-11 13:39:45 -06:00
Joao M
775b1c4cc7
Update build.yml 2024-11-11 13:29:39 -06:00
Joao M
cc5fb83dab
Update build.yml 2024-11-11 13:26:33 -06:00
Joao M
67e40dab43
Update to support Build on PRs 2024-11-11 13:21:49 -06:00
Joao M
5b76656993
Create FUNDING.yml 2024-06-04 21:28:47 -05:00
Joao M
fea04f0510
Add Helm as GitHub actions 2024-01-12 14:22:15 -06:00
Joao Gilberto Magalhaes
2a992d3977 Update Github Actions 2023-12-04 01:27:41 -06:00
Joao Gilberto Magalhaes
c58c3509dc Fix version in the examples 2023-07-03 21:46:49 -05:00
Joao M
b76daa32f1 More adjusts on github actions 2022-09-02 06:59:14 +00:00
Joao M
21a6fcc3d2 One more github action 2022-09-02 06:44:36 +00:00
Joao M
7571f3dec5 Github Actions HELM auto 2022-09-02 06:30:10 +00:00
Joao M
c5cb113f66 Fix github actions 2022-09-02 06:07:03 +00:00
Joao M
2dbfa10219 Update Github Actions 2022-09-02 03:36:50 +00:00
Joao M
a8953a3d10 Changing Workflow 2022-09-01 18:08:08 +00:00
Joao Gilberto Magalhaes
c5f9857a6f Preparing to pack to create a version 2022-08-31 23:23:11 -05:00
Joao Gilberto Magalhaes
fa49e16454 Rename helm package 2022-08-28 01:05:04 -05:00
Joao Gilberto Magalhaes
4de8361951 Add build HELM 2022-08-27 15:29:01 -05:00
Joao Gilberto Magalhaes
e8aa05512a More adjusts in the documentation 2022-08-26 20:22:26 -05:00
Joao Gilberto Magalhaes
7a1fc46f00 Minor changes in github actions 2022-08-26 16:05:18 -05:00
Joao Gilberto Magalhaes
2a74f5d445 Code reorganization 2022-08-26 15:56:13 -05:00
Joao Gilberto Magalhaes
7d441d6386 adjusting level of debug 2022-08-25 12:30:17 -05:00
Joao M
2fe6ce4bea Github flow 2022-08-25 13:52:14 +00:00
Joao M
3f958edbaa
Update build.yml 2022-08-24 22:10:28 -05:00
Joao M
eb5f7e313f Fix build 2022-08-21 00:40:08 +00:00
Joao M
defa564601 Try add release tags 2022-08-20 16:10:23 +00:00
Joao M
4b85b98412 Some log information and error treatment 2022-08-20 15:51:38 +00:00
Joao M
ee0c0908fc
Update dependabot.yml 2022-08-15 13:03:39 -05:00
Jose Diaz-Gonzalez
e6327af4d6
feat: add dependabot config for updating dockerfile automatically 2022-08-14 12:50:52 -04:00
Joao Gilberto
3bea967273 Update README.md on Docker Hub 2022-03-28 15:19:10 -05:00
Joao Gilberto
c301b2f437 Update README.md on Docker Hub 2022-03-28 15:11:01 -05:00
Joao Gilberto
7cf35a4e07 Update README.md on Docker Hub 2022-03-28 15:08:03 -05:00
Joao Gilberto
3aaff4aa04 Update README.md on Docker Hub 2022-03-28 14:51:58 -05:00
Joao Gilberto Magalhaes
50af051a33 Added tests for multi-container 2022-03-27 18:52:52 -05:00
Joao Gilberto Magalhaes
0821f5e2dc Add github actions 2022-03-26 10:55:53 -05:00
Joao Gilberto Magalhaes
68d3acaac0 Add gihub actions 2022-03-26 10:52:37 -05:00