mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
refact acquisition: build profiles (optionally exclude datasources from final binary) (#3217)
example $ make BUILD_PROFILE=minimal or $ make EXCLUDE=datasource_s3,datasource_kinesis
This commit is contained in:
parent
d5c587cf2b
commit
cae76baa3a
29 changed files with 486 additions and 136 deletions
|
@ -871,7 +871,7 @@ func TestDetectDatasourceValidation(t *testing.T) {
|
|||
datasource:
|
||||
source: wombat`,
|
||||
expected: setup.Setup{Setup: []setup.ServiceSetup{}},
|
||||
expectedErr: "invalid datasource for foobar: unknown source 'wombat'",
|
||||
expectedErr: "invalid datasource for foobar: unknown data source wombat",
|
||||
}, {
|
||||
name: "source is misplaced",
|
||||
config: `
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue