mmetc
ce32fc019e
func tests improvements ( #2759 )
...
* faster reload test
* decode-jwt script
* replace 'netcat' requirement with python script
* fix lapi status test
2024-01-19 13:55:28 +01:00
mmetc
0f722916b8
use go 1.21.6 ( #2714 )
...
* use go 1.21.6
2024-01-11 09:40:51 +01:00
mmetc
90d3a21853
CI: use go 1.21.5 ( #2640 )
...
* use go 1.21.5
* Simpler go:build directives
2023-12-06 12:38:36 +01:00
mmetc
47eb2e240d
Use go 1.21.4 ( #2595 )
2023-11-16 11:09:13 +01:00
mmetc
a254b436c7
use go 1.12.3 ( #2535 )
2023-10-12 16:28:24 +02: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
b2212f4225
Use go 1.20.8 ( #2473 )
2023-09-19 13:21:55 +02:00
mmetc
f02f34d64c
CI: remove explicit cache-dependency-path ( #2452 )
...
not required anymore after moving the plugins to cmd/
2023-09-04 16:55:48 +02:00
mmetc
32f196a774
use go 1.20.7 ( #2409 )
2023-08-25 16:24:04 +02:00
mmetc
e73ceafdba
Use go 1.20.6 ( #2358 )
2023-07-18 09:51:32 +02:00
mmetc
ebe25d7653
func tests: install dependencies from make, log test helpers ( #2314 )
2023-06-28 10:07:05 +02:00
mmetc
956703c31a
CI: Update setup-go action to v4 (with automatic cache) ( #2168 )
2023-06-27 14:50:45 +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
381220daf4
Use go 1.20.5 ( #2280 )
...
https://groups.google.com/g/golang-announce/c/q5135a9d924
2023-06-15 23:18:57 +02:00
mmetc
b2d3520519
decouple bouncer dependencies: use go-cs-lib in test code ( #2229 )
2023-05-25 15:37:44 +02:00
mmetc
eddb994c0b
Use go 1.20.4 ( #2209 )
2023-05-17 11:24:37 +02:00
mmetc
774a8cfc00
CI: use Go 1.20.3 ( #2163 )
2023-04-12 16:57:52 +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
137e7408fd
Run lint after tests instead of separate workflow ( #2103 )
2023-03-08 14:50:59 +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
83b6c2cfef
Bump bats-core to 1.9 ( #2083 )
...
- update bats-core to the last release
- renamed 01_base.bats to 01_cscli.bats
- separate stderr for all the run commands in 01_*.bats, fix out/err check where appropriate
- cache go modules for bats build too
- add configuration file for buildx jobs
2023-03-01 10:56:25 +01:00
mmetc
5de500d6da
CI: set GOBIN instead of go install + cp ( #2030 )
2023-02-15 14:27:47 +01:00
mmetc
5ff6bfba9c
CI: build with/require go 1.20 ( #2031 )
2023-02-15 14:27:17 +01:00
mmetc
2067ab0427
CI: print stack traces ( #1886 )
2022-11-25 12:02:38 +01:00
mmetc
7b4f300eb2
update codecov action (node 12 is deprecated) ( #1830 )
2022-10-24 12:48:25 +02:00
blotus
1f5224b74b
switch to go 1.19 ( #1709 )
2022-08-26 13:31:49 +02:00
mmetc
c78c833400
CI: colored test output, colored crowdsec and crowdsec-api logs, full final db dump for mysql and sqlite ( #1596 )
...
* github-ci: color unit test output and logs
* new config option: force_color_logs (useful in CI)
* bats: show sqlite/mysql dump at the end
* removed "-v" (print package names) from "go build"
* general workflow cleanup
2022-06-17 16:12:49 +02:00
Thibault "bui" Koechlin
1c0fe09576
Add support for certificate authentication for agents and bouncers ( #1428 )
2022-06-08 16:05:52 +02:00
mmetc
8ea9e83798
Codecov ( #1561 )
...
* fix coverage report (#1553 )
* codecov
2022-05-24 17:22:08 +02:00
mmetc
5f2797c83c
more func test coverage; capture exit code for bincover ( #1425 )
2022-04-13 15:44:23 +02:00
mmetc
0190614342
show crowdsec logs after the tests ( #1439 )
2022-04-13 15:03:37 +02:00
mmetc
bf4bc0c9fc
single workflow for all tests, with bats coverage ( #1413 )
2022-04-05 11:00:11 +02:00