mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 19:10:40 +00:00
34 lines
315 B
YAML
34 lines
315 B
YAML
---
|
|
kind: pipeline
|
|
name: amd64
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang
|
|
commands:
|
|
- go build
|
|
- go test
|
|
|
|
services:
|
|
- name: database
|
|
image: redis
|
|
ports:
|
|
- 6379
|
|
|
|
---
|
|
kind: pipeline
|
|
name: arm
|
|
|
|
platform:
|
|
arch: arm
|
|
|
|
steps:
|
|
- name: test
|
|
image: golang
|
|
commands:
|
|
- go build
|
|
- go test
|
|
|
|
depends_on:
|
|
- foo
|
|
... |