Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Improve Pipeline with security test #114

Merged
merged 8 commits into from
May 26, 2020
14 changes: 14 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -204,6 +213,11 @@ workflows:
requires:
- unit_test
- lint
- security_test:
filters:
<<: *FILTERS_CHECK
requires:
- build
- functional_test_single:
filters:
<<: *FILTERS_CHECK
Expand Down