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