2020-10-24 18:45:53 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: compliance
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
2021-09-19 19:56:30 +00:00
|
|
|
image: rust:1.55.0
|
2020-10-24 18:45:53 +00:00
|
|
|
commands:
|
|
|
|
- cargo build --verbose
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: release
|
|
|
|
type: docker
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
pull: always
|
2021-09-19 19:56:30 +00:00
|
|
|
image: rust:1.55.0
|
2020-10-24 18:45:53 +00:00
|
|
|
commands:
|
|
|
|
- cargo build --verbose --release
|
|
|
|
- name: gitea-release
|
|
|
|
pull: always
|
|
|
|
image: jolheiser/drone-gitea-main:latest
|
|
|
|
settings:
|
|
|
|
token:
|
|
|
|
from_secret: gitea_token
|
2021-09-19 19:56:30 +00:00
|
|
|
base: https://git.canopymc.net
|
2020-10-24 18:45:53 +00:00
|
|
|
files:
|
|
|
|
- "target/release/albatross"
|