rancherlabs / drone-plugin-fossa

Drone plugin for FOSSA
https://plugins.drone.io/plugins/plugin-fossa
Apache License 2.0
4 stars 1 forks source link
drone fossa plugin

drone-plugin-fossa

Drone plugin for FOSSA.

Usage

Basic

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.

Advanced

Command

kind: pipeline
name: fossa

steps:
- name: fossa-test
  image: rancher/drone-fossa:latest
  settings:
    api_key:
      from_secret: FOSSA_API_KEY
    command: test

Alternate Syntax

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.

Debug

kind: pipeline
name: fossa

steps:
- name: fossa  
  image: rancher/drone-fossa:latest
  settings:
    api_key:
      from_secret: FOSSA_API_KEY
    debug: true

Reference