mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-24 19:10:40 +00:00
38 lines
360 B
YAML
38 lines
360 B
YAML
|
---
|
||
|
kind: pipeline
|
||
|
name: amd64
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
|
||
|
- name: test
|
||
|
image: golang
|
||
|
commands:
|
||
|
- 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:
|
||
|
- amd64
|
||
|
...
|