mmetc
990dd5e08e
use go 1.21.9; update dependencies ( #2931 )
2024-04-05 15:11:11 +02:00
mmetc
b411782648
CI: use go 1.21.8 ( #2906 )
2024-03-19 10:03:54 +01:00
mmetc
45571cea08
use go 1.21.7 ( #2830 )
2024-02-14 09:47:12 +01:00
mmetc
4561eb787b
bats: color formatter in CI ( #2838 )
2024-02-12 20:15:16 +01:00
mmetc
3921c3f480
CI: rename workflows, improve docker build and tests ( #2798 )
2024-01-31 12:07:27 +01:00
mmetc
66544baa7f
CI: workflow improvements ( #2792 )
...
- update deprecated action dependencies
- remove go version matrix (track stable version)
- optimize docker builds
- comments, renamed workflow
2024-01-30 10:20:25 +01:00
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
7a4796d655
Support Postgres 16 (update entgo.io/ent to 0.12.4) ( #2368 )
2023-10-02 16:30:09 +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
202112bcae
CI: test with postgres 15 ( #2149 )
...
Postgres 15 restricts the default privileges for the public schema. We set crowdsec_test as owner which is shorter than granting permissions explicitly.
2023-07-24 11:56: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
eddb994c0b
Use go 1.20.4 ( #2209 )
2023-05-17 11:24:37 +02:00
mmetc
e1f5ed41df
Implement "cscli config show-yaml" ( #2191 )
2023-05-11 21:01:13 +02:00
mmetc
774a8cfc00
CI: use Go 1.20.3 ( #2163 )
2023-04-12 16:57:52 +02:00
Thibault "bui" Koechlin
7fa469d0b0
timeout of ci jobs ( #2160 )
2023-04-05 15:15:33 +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
ff17a961fc
CI: Cache all built go modules ( #2081 )
2023-02-28 17:25:09 +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
502a3cf841
ci: skip func tests with legacy postgres driver (keep pgx) ( #1864 )
2022-11-08 12:27:31 +01:00
mmetc
2b7f6b2b84
force postgres 14 for func tests ( #1813 )
...
the postgres 15 image (released two days ago) has a permission issue. proper fix will follow
2022-10-17 09:21:55 +02:00
mmetc
c4652d60a7
hardcode db password in CI to allow tests from third parties ( #1729 )
2022-09-01 16:49:12 +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
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