Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 707 Bytes

adding-hawkeye.md

File metadata and controls

24 lines (18 loc) · 707 Bytes

Adding Hawkeye to the deploy pipeline

Add the following to the sample-flask-app's docker-compose.yml file:

#services:
  #...
  hawkeye:
    image: stono/hawkeye
    command: scan --target /usr/src/app
    volumes_from:
      - web

Add a new “Execute shell” build step to run Hawkeye with the following command:

docker-compose run hawkeye

Running Hawkeye

Return to the sample-flask-app job and select Build Now. This time you should see the build fail, navigate into the build instance and review the console output to discover why. What changes would we need to make to get the build passing again?