[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:
Swikriti Tripathi
2023-06-22 09:55:58 +05:45
committed by GitHub
parent 68393150df
commit 4f85efee84
3 changed files with 4 additions and 38 deletions
@@ -6,9 +6,4 @@ services:
command: clamav:3310
clamav:
image: owncloudci/clamavd
volumes:
- clamavSocket:/var/run/clamav/
volumes:
clamavSocket:
+1 -7
View File
@@ -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