mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-16 05:26:31 +00:00
24 lines
399 B
YAML
24 lines
399 B
YAML
|
clone:
|
||
|
- name: git
|
||
|
image: woodpeckerci/plugin-git
|
||
|
settings:
|
||
|
partial: true
|
||
|
- name: testdata
|
||
|
image: woodpeckerci/plugin-git
|
||
|
settings:
|
||
|
remote: https://gitserver/owner/testdata.git
|
||
|
path: testdata
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: golang
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test
|
||
|
|
||
|
services:
|
||
|
- name: database
|
||
|
image: mysql
|
||
|
- name: cache
|
||
|
image: redis
|