Zakhar Bessarab
172d6c6dc6
acquisition/victorialogs: add new datasource ( #3310 )
...
* acquisition/victorialogs: add new datasource
Data source supports:
- cat mode with automatic adjustment of poll interval (same as one at Loki datasource)
- tail mode by using tailing API
2025-01-29 16:59:03 +01:00
mmetc
36e2c6c8be
make: improve re2/wasm check ( #3335 )
2024-11-19 11:02:37 +01:00
he2ss
19b70f10be
add HTTP datasource ( #3294 )
2024-11-05 14:15:04 +01:00
mmetc
094072441c
make: allow build on ubuntu 24.10 ( #3311 )
2024-10-31 17:12:53 +01:00
mmetc
97c1f60a68
make: remove obsolete/redundant parameters ( #3304 )
...
* makefile: remove -w from build flags (implied by -s)
* remove reference to obsolete build param
2024-10-29 09:56:51 +01:00
mmetc
50d115b914
Update protobufs ( #3276 )
...
* deps: update protobufs; add pkg/protobufs/generate.go
* generate protobuf in CI
* make: remove generate target
* pin protoc
2024-10-10 15:54:25 +02:00
mmetc
56c9c7a804
Re-generate capi models ( #3260 )
...
* add centralapi_swagger.yaml
* remove nullable to avoid generate error
* re-generate pkg/modelscapi
* update go-swagger to 0.31.0
2024-10-02 16:44:13 +02:00
mmetc
e2196bdd66
remove dependency from pkg/cwversion to pkg/acquisition ( #3242 )
...
* register built-in components without dependencies
* package comment
2024-09-20 10:34:53 +02:00
mmetc
cae76baa3a
refact acquisition: build profiles (optionally exclude datasources from final binary) ( #3217 )
...
example
$ make BUILD_PROFILE=minimal
or
$ make EXCLUDE=datasource_s3,datasource_kinesis
2024-09-12 17:26:39 +02:00
blotus
a3d7900b5f
update expr ( #3144 )
2024-07-22 12:14:46 +02:00
mmetc
aa0c389d2b
make: remove redundant go version check ( #3118 )
...
It's already done by the toolchain with go.mod
2024-07-09 14:49:55 +02:00
mmetc
7d6514c7cc
update user agent with version and platform information ( #3035 )
...
* update user agent with version and platform information
* remove unused import
* user agent: omit tag correctly if git is dirty
2024-05-30 09:45:43 +02:00
mmetc
0ba05acc03
tests: replace "docker-compose" -> "docker compose" ( #3000 )
...
* replace "docker-compose" -> "docker compose"
* obsolete doc note
* bats: clean up extra output
2024-05-17 10:07:28 +02:00
mmetc
8108e4156d
CI: "make generate" target; use ent 0.12.5 ( #2871 )
...
* CI: "make generate" target; pin tool versions
* use ent 0.12.5
* fix make help
* fix model generation target; re-run swagger
2024-03-07 14:25:25 +01:00
mmetc
1530d93fc1
Update localstack services + loki (dev and CI) ( #2649 )
2023-12-19 15:27:04 +01:00
mmetc
44eb4d4a94
Makefile: "make help" target, remove obsolete "notification-email" target ( #2282 )
2023-12-18 10:13:08 +01:00
mmetc
1aa4fc5949
CI: avoid pipe in makefile, correctly report error in CI when tests fail ( #2621 )
...
so we don't assume bash+pipefail for the makefile
2023-11-28 17:10:44 +01:00
mmetc
61d4ccbfdd
use go 1.21.1 ( #2418 )
...
* use go 1.21.1, require 1.21
* import "slices" from stdlib
* allow codeql to set version number from tags
* codeql: custom WASM build - the automated one can silently fail
2023-10-04 13:01:57 +02:00
mmetc
b562103024
Make: build with debug symbols in func tests or if DEBUG=1; drop BUILD_VENDOR_FLAGS ( #2443 )
2023-08-28 15:58:26 +02:00
mmetc
0c9943b740
CI: alternate vendor file (xz compression and version number) ( #2425 )
2023-08-25 17:02:00 +02:00
mmetc
2aa55e9444
move plugins/notifications/* to cmd/notification-* ( #2429 )
...
This ensures keeping all dependencies in sync, and simplifies
packaging under freebsd/gentoo/etc because there is a single
vendor directory.
2023-08-24 09:46:25 +02:00
mmetc
ffadd42779
update dependency on go-cs-lib; drop the pkg/ part ( #2393 )
2023-07-28 16:35:08 +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
mmetc
6c8ddbccac
Make: error if BUILD_VERSION does not start with "v" ( #2355 )
2023-07-18 09:31:04 +02:00
mmetc
486b56d1ed
CI: reduce test verbosity; set PKG_CONFIG_PATH for re2 in rpm distros ( #2331 )
...
* wip
* wip
* go install with commit hash
2023-07-05 17:45:31 +02:00
mmetc
73f71a0aa3
tests: vagrant refactoring ( #2328 )
2023-07-04 12:26:32 +02:00
mmetc
17cd792826
CI: update ansible tests for re2 ( #2318 )
2023-06-29 16:35:19 +02:00
mmetc
98c6038fde
Build with libre2 by default, options for wasm and static; add mk/gmsl ( #2295 )
2023-06-23 14:25:29 +02:00
mmetc
4c4b545e9b
append vendor.tgz to each release ( #2288 )
2023-06-21 09:52:33 +02:00
mmetc
edd062522d
build against libre2-dev if found ( #2255 )
2023-06-06 15:46:25 +02:00
mmetc
9ccdddaab1
CI: refactor makefile for plugins and vendor target ( #2256 )
2023-06-05 23:15:18 +02:00
mmetc
18764eff0e
make: allow using a development version of Go, with a warning ( #2260 )
2023-06-05 13:02:37 +02:00
mmetc
1f9f81da70
makefiles: de-duplicate, simplify and remove unused code ( #2222 )
2023-05-25 10:32:05 +02:00
mmetc
534328ca30
decouple bouncer dependencies: use go-cs-lib/pkg/* ( #2216 )
...
* decouple bouncer dependencies: use go-cs-lib/pkg/trace
* decouple bouncer dependencies: use go-cs-lib/pkg/version
* decouple bouncer dependencies: use go-cs-lib/pkg/yamlpatch
* decouple bouncer dependencies: use go-cs-lib/pkg/csstring
* unused import
2023-05-23 10:52:47 +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
80de87ac34
Report docker systems in version and user agents ( #2136 )
2023-03-22 11:57:29 +01:00
mmetc
e63a3ab92b
Unit tests: fix authentication to localstack ( #2106 )
2023-03-08 14:41:16 +01:00
mmetc
0a748d324e
Make: extract "goversion.mk" to reuse it in bouncers ( #2101 )
2023-03-07 11:46:52 +01:00
mmetc
a19748ae35
Rename directory "tests" to "test" ( #2094 )
...
If you use a ./test/local directory, you need to create it again:
$ make clean bats-build bats-fixture
2023-03-03 15:54:49 +01:00
mmetc
5ff6bfba9c
CI: build with/require go 1.20 ( #2031 )
2023-02-15 14:27:17 +01:00
mmetc
6193047c35
remove SYSTEM=docker during build, update dockerignore ( #2017 )
2023-01-25 10:39:23 +01:00
ju_hnny5
83ed8a61aa
Store go module name in var in Makefile ( #1989 )
...
Co-authored-by: Julien Briault <jbriault@deezer.com>
2023-01-19 22:24:45 +01:00
mmetc
6b71da6b78
require go 1.19, test with 1.20 too ( #1935 )
2022-12-21 15:40:29 +01:00
Manuel Sabban
7c3dbffcc6
clean up BUILD_GOVERSION which is set at runtime with runtime lib ( #1901 )
...
* clean up BUILD_GOVERSION which is set at runtime with runtime lib
* simplify version check
Co-authored-by: sabban <15465465+sabban@users.noreply.github.com>
Co-authored-by: Marco Mariani <marco@crowdsec.net>
2022-12-02 13:04:00 +01:00
mmetc
5bdd3bbfcb
require at least go 1.18 to build ( #1884 )
2022-11-24 11:29:54 +01:00
blotus
1ba6c67ff2
rename ROOT var to CS_ROOT ( #1755 )
2022-09-15 17:12:29 +02:00
mmetc
52fbda1a5e
simpler makefiles for static targets ( #1744 )
2022-09-14 14:22:57 +02:00
mmetc
85e5a7e8ed
Makefile does not require go to run tests ( #1663 )
2022-07-18 12:54:03 +02:00
mmetc
a2d91119d4
make localstack-stop target ( #1593 )
2022-06-16 16:13:48 +02:00
mmetc
df7c51f34e
fixed coverage reporting for functional tests; added cscli ( #1568 )
2022-05-31 10:01:30 +02:00