mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-17 23:50:40 +00:00
56 lines
627 B
YAML
56 lines
627 B
YAML
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
clone:
|
|
disable: true
|
|
depth: 50
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
variant: 7
|
|
version: 1803
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- go get
|
|
- go build
|
|
|
|
- name: test
|
|
image: golang
|
|
commands:
|
|
- go test -v
|
|
|
|
trigger:
|
|
status:
|
|
- success
|
|
branch:
|
|
- master
|
|
- develop
|
|
|
|
depends_on:
|
|
- foo
|
|
- bar
|
|
|
|
---
|
|
kind: secret
|
|
name: username
|
|
data: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK
|
|
|
|
---
|
|
kind: cron
|
|
name: nightly
|
|
|
|
spec:
|
|
schedule: "1 * * * *"
|
|
branch: master
|
|
deployment:
|
|
target: production
|
|
|
|
---
|
|
kind: signature
|
|
hmac: N2NmYjA3ODQwNTY1ODFlY2E5MGJmOWI1NDk0NDFhMTEK
|