[tests-only][full-ci] use tcp for antivirus service in ci (#6573)
* Test antivirus service in ci with different config * enable other tests and update docker compose files
This commit is contained in:
@@ -6,9 +6,4 @@ services:
|
||||
command: clamav:3310
|
||||
clamav:
|
||||
image: owncloudci/clamavd
|
||||
volumes:
|
||||
- clamavSocket:/var/run/clamav/
|
||||
|
||||
volumes:
|
||||
clamavSocket:
|
||||
|
||||
|
||||
@@ -38,16 +38,10 @@ services:
|
||||
|
||||
# antivirus
|
||||
ANTIVIRUS_SCANNER_TYPE: "clamav"
|
||||
ANTIVIRUS_CLAMAV_SOCKET: "/var/run/clamav/clamd.sock"
|
||||
ANTIVIRUS_CLAMAV_SOCKET: tcp://clamav:3310
|
||||
|
||||
# postprocessing step
|
||||
POSTPROCESSING_STEPS: $POSTPROCESSING_STEPS
|
||||
volumes:
|
||||
- ../../../config:/drone/src/tests/config
|
||||
- ../../../ociswrapper/bin/ociswrapper:/usr/bin/ociswrapper
|
||||
- clamavSocket:/var/run/clamav/
|
||||
|
||||
volumes:
|
||||
clamavSocket:
|
||||
external:
|
||||
name: ocis-acceptance-tests_clamavSocket
|
||||
|
||||
Reference in New Issue
Block a user