go-paste/.drone.yml

50 lines
569 B
YAML
Raw Permalink Normal View History

2020-08-17 09:40:10 -06:00
---
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
steps:
- name: Setup
2020-08-28 19:27:29 -06:00
commands:
2020-08-28 19:30:57 -06:00
- git fetch origin --tags
2020-08-17 09:40:10 -06:00
- make setup
- name: Test
2020-08-17 09:45:10 -06:00
commands:
2020-08-17 09:40:10 -06:00
- make test
2020-08-28 19:32:41 -06:00
2020-08-17 12:40:32 -06:00
trigger:
event:
- push
- pull_request
2020-08-17 12:36:48 -06:00
---
kind: pipeline
type: exec
2020-08-17 12:37:07 -06:00
name: deploy
2020-08-17 12:36:48 -06:00
platform:
os: linux
arch: amd64
steps:
- name: Setup
commands:
2020-08-28 19:32:41 -06:00
- git fetch origin --tags
2020-08-17 12:36:48 -06:00
- make setup
2020-08-17 09:40:10 -06:00
- name: Build Release
2020-08-17 09:45:10 -06:00
commands:
2020-08-17 12:36:48 -06:00
- cd debian
- make build
- make copy
- make deploy
2020-08-28 19:46:51 -06:00
- make tag
2020-08-17 12:36:48 -06:00
trigger:
event:
- promote
2020-08-28 19:30:57 -06:00
...