2022-03-31 21:32:46 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: fossa
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: fossa
|
|
|
|
image: rancher/drone-fossa:latest
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: FOSSA_API_KEY
|
2022-10-14 20:02:53 +00:00
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
include:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
exclude:
|
|
|
|
- drone-pr.rancher.io
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: build
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: registry.suse.com/bci/golang:1.19
|
|
|
|
commands:
|
|
|
|
- make build-bin
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: test
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: registry.suse.com/bci/golang:1.19
|
|
|
|
commands:
|
|
|
|
- make test
|
2022-03-31 21:32:46 +00:00
|
|
|
when:
|
2022-10-14 20:02:53 +00:00
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|