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

Commit

Permalink
Merge branch 'master' of github.com:brunats/ritchie-cli into improvem…
Browse files Browse the repository at this point in the history
…ent/update-stdin-for-tutorial-command

Signed-off-by: Bruna Tavares <silvatavares.bruna@gmail.com>
  • Loading branch information
brunats committed Aug 17, 2020
2 parents 872d383 + 835d5d4 commit 14a2a34
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ references:
python: &PYTHON_IMAGE circleci/python:2.7-stretch
ruby: &RUBY_IMAGE cimg/ruby:2.6.5
ci_machine: &CI_MACHINE_IMAGE ubuntu-1604:202004-01
horus: &HORUS_IMAGE library/docker:dind
ubuntu: &UBUNTU_IMAGE cimg/base:2020.01
centos: &CENTOS_IMAGE viniciusramosdefaria/centos-circleci:7.0
windows: &WINDOWS_IMAGE windows-server-2019
Expand Down Expand Up @@ -57,9 +56,8 @@ executors:
working_directory: /workspace

horus-executor:
docker:
- image: *HORUS_IMAGE
user: root
machine:
image: ubuntu-1604:202004-01

delivery-executor:
docker:
Expand Down Expand Up @@ -108,20 +106,13 @@ jobs:
/go/bin/golangci-lint run --no-config --issues-exit-code=1 --deadline=10m -v
horus:
executor: horus-executor
environment:
<<: *ENVIRONMENT
steps:
- setup_remote_docker
- checkout
- run:
name: Horus Security Analysis
command: |
echo "Starting scan Horus..."
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
curl -fsSL https://horus-assets.s3.amazonaws.com/install.sh | bash
horus start -p ./ -i testdata,vendor
unit_test:
executor: ritchie-tests-executor
Expand Down

0 comments on commit 14a2a34

Please sign in to comment.