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

Commit

Permalink
Improve Pipeline with security test (#114)
Browse files Browse the repository at this point in the history
* change config.yml version

* change config.yml version

* Include HORUS security test build in .circleci/config.yml

* Include HORUS security test build in .circleci/config.yml

* Include HORUS security test build in .circleci/config.yml

* Include HORUS security test build in .circleci/config.yml

* Include HORUS security test build in .circleci/config.yml

* Include HORUS security test build in .circleci/config.yml

Co-authored-by: Flavio Anello <flavio.anello@zup.com>
  • Loading branch information
flavioanellozup and Flavio Anello authored May 26, 2020
1 parent 0cd3b4f commit 4b37f08
Showing 1 changed file with 14 additions and 0 deletions.
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

0 comments on commit 4b37f08

Please sign in to comment.