mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-01 01:00:41 +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
|
||
|
...
|