mhx
900c7ebdc2
✨ tests: end-to-end suite scaffold + stream-mode scenario
...
Add tests/e2e/ structure with shared bash helpers and the first
scenario (stream-mode): spin up real Traefik + Crowdsec via docker
compose, mount the repo as a local plugin, add a ban via cscli, verify
the bouncer blocks the matching X-Forwarded-For, then delete the
decision and verify pass-through.
Adds .github/workflows/e2e.yml with one matrix job per scenario
(stream-mode for now), and Makefile targets `e2e` and `e2e_<scenario>`
for local runs.
Refs #328
2026-06-06 12:03:19 +02:00
c2bbc4dac5
✨ cicd: Automate proper version tagging in the bouncer.go that is reported to Crowdsec LAPI ( #314 )
...
* cicd(versioning): Automate proper version tagging in the bouncer.go that is reported to Crowdsec LAPI
* cicd(versioning): Move pluginVersion to it's own file
* Disablie lint check for no global variables
* Remove trailing new-line
* Update pluginVersion declaration style
* 🍱 Simplify for tests
Removed the verification step after updating the version and modified the commit message to include an emoji.
---------
Co-authored-by: maxlerebourg <maxlerebourg@gmail.com >
2026-02-19 23:41:55 +01:00
efb3a67019
🔒 ️ Potential fix for code scanning alert no. 8: Workflow does not contain permissions ( #311 )
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-01-22 09:44:33 +01:00
c26923dee5
⬆️ Bump actions/cache from 4 to 5 ( #303 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-20 14:30:49 +01:00
50beb4294f
⬆️ Bump actions/checkout from 5 to 6 ( #294 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-27 15:40:18 +01:00
a2ecc95dc9
⬆️ Bump actions/setup-go from 5 to 6 ( #268 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 16:23:10 +02:00
7397834e58
⬆️ Bump actions/checkout from 4 to 5 ( #261 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-18 11:59:31 +02:00
0e9620bfe9
👷 chore(ci) bump CI and automate dep updates ( #210 )
...
* 👷 chore(ci) bump CI and automate dep updates
* 🚨 chore(go) fix golang lint
* 🍱 fix lint
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2025-01-29 08:07:04 +01:00
6187a722ca
167 feature update to go 122 ( #168 )
...
* ⬆️ Upgrade golang version
* 🚨 Optimize Lint for strings
* 🔒 ️ Add allow list of packages
* 🚨 Fix final lint
* 👷 Update ci
* 🍱 upgrade dependencies
* 🍱 fix comment
---------
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2024-05-18 13:20:14 +02:00
mathieuHa and GitHub
24c7801dac
⬆️ Bump to go 1.19 ( #37 )
...
* ⬆️ Bump to go 1.19
* ⬆️ Remove depreciated function and replace io/utils calls
2022-11-19 20:40:03 +01:00
0a54f7b09f
Update CI following latest plugindemo version ( #34 )
...
* Update CI following latest plugindemo version
* disable some linter
* Disable some linter
* Fix linter in redis, add error logger
* 🚨 Fix lint errors in private packages
* 🚨 Update lints in package and core code
* 🚨 exclude unfixable lint errors
* 🚨 update lint at package level and ignore necessary global variable
* 🍱 fix lint qnd merge
* 🚨 Fix Lint for string
* 🚨 Fix lint for bouncer
* 🚨 Fix error
* Fix weird linter error
Co-authored-by: Max Lerebourg <maxlerebourg@gmail.com >
2022-11-19 19:35:01 +01:00
Max Lerebourg
0abf1b7390
fix main action
2022-09-29 09:13:04 +02:00
Max Lerebourg
af41af2cee
first commit
2022-09-27 18:12:25 +02:00