mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-22 05:42:54 +00:00
Make repo script more dynamic #232
* also add the ability to download the tar for supported releases * use env variables for distribution, channel and branch * add tests for new archive download for supported releases
This commit is contained in:
@@ -397,6 +397,8 @@ test-commander: ## Test scripts with commander
|
||||
COMMANDER_OPTS="--concurrent 1" COMMANDER_FILES_PATH=core/commander/spooler dccommander run kopano_spooler
|
||||
COMMANDER_OPTS="--concurrent 1" COMMANDER_FILES_PATH=webapp dccommander run kopano_webapp
|
||||
COMMANDER_OPTS="--concurrent 1" COMMANDER_FILES_PATH=zpush dccommander run kopano_zpush
|
||||
# this test will fail if you are not on a whitelisted ip
|
||||
commander test tests/commander-supported.yaml || true
|
||||
|
||||
test-security: ## Scan containers with Trivy for known security risks (not part of CI workflow for now).
|
||||
cat $(TAG_FILE) | xargs -I % sh -c 'trivy --exit-code 0 --severity HIGH --quiet --auto-refresh %'
|
||||
|
||||
Reference in New Issue
Block a user