diff --git a/.circleci/config.yml b/.circleci/config.yml index d82810155..6a155db5d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -139,6 +139,15 @@ jobs: command: | make functional-test-team + security_test: + machine: true + steps: + - run: + name: "Horus Security Analysis" + command: | + echo "Starting..." + docker run --rm -e HORUS_CLIENT_REPO_URL=$HORUS_CLIENT_REPO_URL -e HORUS_CLIENT_REPO_BRANCH=$HORUS_CLIENT_REPO_BRANCH -e HORUS_CLIENT_API_ADDR=$HORUS_CLIENT_API_ADDR -e HORUS_CLIENT_TOKEN=$HORUS_CLIENT_TOKEN -e HORUS_CLIENT_API_USE_HTTPS=$HORUS_CLIENT_API_USE_HTTPS -e HORUS_VULNERABILITY_CHECK=$HORUS_VULNERABILITY_CHECK horuszup/horus-client:latest + build: executor: ritchie-executor branches: @@ -204,6 +213,11 @@ workflows: requires: - unit_test - lint + - security_test: + filters: + <<: *FILTERS_CHECK + requires: + - build - functional_test_single: filters: <<: *FILTERS_CHECK