mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 19:10:40 +00:00
58 lines
635 B
Plaintext
58 lines
635 B
Plaintext
---
|
|
kind: pipeline
|
|
name: default
|
|
|
|
platform:
|
|
os: linux
|
|
arch: arm64
|
|
variant: 7
|
|
version: 1803
|
|
|
|
clone:
|
|
depth: 50
|
|
disable: true
|
|
|
|
steps:
|
|
- name: build
|
|
image: golang
|
|
commands:
|
|
- go get
|
|
- go build
|
|
|
|
- name: test
|
|
image: golang
|
|
commands:
|
|
- go test -v
|
|
|
|
trigger:
|
|
branch:
|
|
- master
|
|
- develop
|
|
status:
|
|
- success
|
|
|
|
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
|
|
|
|
...
|