mmetc
26bcd0912a
docker: distribute geoip db in slim image ( #2920 )
2024-04-03 13:34:35 +02:00
mmetc
6c042f18f0
LAPI: local api unix socket support ( #2770 )
2024-03-14 10:43:02 +01:00
mmetc
e611d01c90
cscli: hide hashed api keys ( #2874 )
...
* cscli: hide hashed api keys
* lint
2024-03-06 14:27:05 +01:00
mmetc
3921c3f480
CI: rename workflows, improve docker build and tests ( #2798 )
2024-01-31 12:07:27 +01:00
mmetc
532e97e00f
disable docker flavor test ( #2783 )
2024-01-25 09:58:48 +01:00
mmetc
d7116a4a6f
disable docker flavor test ( #2781 )
2024-01-25 00:03:56 +01:00
mmetc
89f704ef18
light pkg/api{client,server} refact ( #2659 )
...
* tests: don't run crowdsec if not necessary
* make listen_uri report the random port number when 0 is requested
* move apiserver.getTLSAuthType() -> csconfig.TLSCfg.GetAuthType()
* move apiserver.isEnrolled() -> apiclient.ApiClient.IsEnrolled()
* extract function apiserver.recoverFromPanic()
* simplify and move APIServer.GetTLSConfig() -> TLSCfg.GetTLSConfig()
* moved TLSCfg type to csconfig/tls.go
* APIServer.InitController(): early return / happy path
* extract function apiserver.newGinLogger()
* lapi tests
* update unit test
* lint (testify)
* lint (whitespace, variable names)
* update docker tests
2023-12-14 14:54:11 +01:00
mmetc
ffcab0b2bc
Refactor hub management and cscli commands ( #2545 )
2023-11-24 15:57:32 +01:00
mmetc
7ffa0cc787
docker: replace cp -an with rsync to allow bind-mount of files in /etc/crowdsec ( #2611 )
...
fix for https://github.com/crowdsecurity/crowdsec/issues/2480
2023-11-23 11:08:14 +01:00
mmetc
6b9e065764
CI: update pytest-cs - don't remove stopped containers after tests ( #2459 )
2023-09-12 11:10:22 +02:00
mmetc
1a6f12c88e
Build target for "make tidy" ( #2378 )
...
The make tidy target runs "go mod tidy" in the root directory and all plugins.
2023-07-26 10:24:37 +02:00
blotus
77d58652a3
add sentinel notification plugin ( #2268 )
2023-07-25 15:07:10 +02:00
mmetc
89c3c18c19
allow running rootless docker tests ( #2281 )
...
Co-authored-by: Thibault "bui" Koechlin <thibault@crowdsec.net>
2023-06-19 12:02:59 +02:00
mmetc
e1400d28f1
support capi_whitelists.yaml ( #2224 )
2023-05-25 10:02:33 +02:00
mmetc
ea6401ce09
CI: Static builds by default; replace bincover with go -cover from 1.20 ( #2150 )
...
* Makefile: build static binaries only
* Replace bincover with go -cover from 1.20
* CI: Fix timing issue between lapi and agent containers
2023-03-30 15:05:09 +02:00
mmetc
f39fbf07fa
Docker: don't re-register local agent if not needed ( #2141 )
2023-03-27 15:38:38 +02:00
mmetc
68d4bdc1bd
Docker: correct behavior of AGENTS_ALLOWED_OU, BOUNCERS_ALLOWED_OU ( #2140 )
2023-03-24 11:23:04 +01:00
mmetc
80de87ac34
Report docker systems in version and user agents ( #2136 )
2023-03-22 11:57:29 +01:00
mmetc
0a114ca7d1
Fix docker tests by increasing timeout (again) and move compose test to plugin ( #2112 )
...
* Fix docker tests by increasing timeout (again) and move compose test to plugin
* Bump workflow timeout to 30 min
* Test only alpine-slim and debian-full flavors
2023-03-09 12:00:29 +01:00
mmetc
301782ae18
Docker tests: use pytest-cs 0.2 ( #2079 )
...
* Use pytest-cs 0.2
* fix pipenv cache key
* Cache docker layers
* Load build images from buildx to docker
* CI: commit Pipfile.lock
* Add full docker tag
* Cache only amd64 docker layers
* Cache layer mode=min
2023-02-28 17:49:32 +01:00
mmetc
be18fea136
Propagate taints to top collections ( fix #2064 ) ( #2066 )
2023-02-21 22:12:08 +01:00
mmetc
8fce946850
CI: functional docker tests ( #2056 )
2023-02-20 14:55:56 +01:00