Drone plugin for FOSSA.
The following snippet should be applied to the .drone.yml
file:
kind: pipeline
name: fossa
steps:
- name: fossa
image: rancher/drone-fossa:latest
settings:
api_key:
from_secret: FOSSA_API_KEY
By default, this plugin will run the analyze
command per the generic CI documentation for FOSSA.
kind: pipeline
name: fossa
steps:
- name: fossa-test
image: rancher/drone-fossa:latest
settings:
api_key:
from_secret: FOSSA_API_KEY
command: test
kind: pipeline
name: fossa
steps:
- name: fossa-test
image: rancher/drone-fossa:latest
settings:
api_key:
from_secret: FOSSA_API_KEY
command:
- test
Note: this syntax only accepts a single command.
kind: pipeline
name: fossa
steps:
- name: fossa
image: rancher/drone-fossa:latest
settings:
api_key:
from_secret: FOSSA_API_KEY
debug: true