Skip to content

Commit

Permalink
Add fossa step to drone pipeline (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Ramage <ramage.lucas@protonmail.com>
  • Loading branch information
oxr463 authored Nov 2, 2021
1 parent ae7b14b commit 47dc726
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ steps:
- name: docker
path: /var/run/docker.sock

- name: fossa
image: registry.suse.com/suse/sle15:15.3
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.k3s.io
ref:
include:
- "refs/heads/master"
event:
- push
- tag

- name: github-amd64-binary-release
image: plugins/github-release
settings:
Expand Down

0 comments on commit 47dc726

Please sign in to comment.