2020-08-12 15:05:26 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
|
|
|
image: golang:1.15
|
|
|
|
commands:
|
|
|
|
- make test
|
|
|
|
- make build
|
|
|
|
- name: check
|
|
|
|
pull: always
|
|
|
|
image: golang:1.15
|
|
|
|
commands:
|
2020-10-25 19:49:50 +00:00
|
|
|
- make vet
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: release
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
|
|
|
image: golang:1.15
|
|
|
|
commands:
|
|
|
|
- make build
|
|
|
|
- name: gitea-release
|
|
|
|
pull: always
|
|
|
|
image: jolheiser/drone-gitea-main:latest
|
|
|
|
settings:
|
|
|
|
token:
|
|
|
|
from_secret: gitea_token
|
|
|
|
base: https://git.etztech.xyz
|
|
|
|
files:
|
|
|
|
- "lurk"
|