go-paste/.drone.yml

42 lines
467 B
YAML
Raw 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-17 09:45:10 -06:00
commands:
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-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:
- 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 release
- make build
- make copy
- make deploy
trigger:
event:
- promote
2020-08-17 09:40:10 -06:00
...