Skip to content

Commit

Permalink
Merge pull request #15 from oxr463/add-fossa-drone
Browse files Browse the repository at this point in the history
Add FOSSA to Drone Pipeline
  • Loading branch information
ibuildthecloud authored Nov 9, 2021
2 parents 7186720 + 5b8f99a commit fda40e7
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,26 @@ steps:
volumes:
- name: docker
path: /var/run/docker.sock

- name: fossa
image: registry.suse.com/suse/sle15:15.3.17.8.1
failure: ignore
environment:
FOSSA_API_KEY:
from_secret: FOSSA_API_KEY
commands:
- zypper -n install curl unzip
- "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/spectrometer/master/install.sh | sh"
- fossa analyze
- fossa test
when:
instance:
- drone-publish.rancher.io
ref:
include:
- "refs/heads/master"
event:
- push
- tag
- name: github_binary_release
image: plugins/github-release
settings:
Expand Down

0 comments on commit fda40e7

Please sign in to comment.