mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-27 04:11:03 +00:00
7e708874ae
Adjust pipeline-config to match [Terminology](https://woodpecker-ci.org/docs/next/usage/terminology)
20 lines
356 B
YAML
20 lines
356 B
YAML
workspace:
|
|
base: /go
|
|
path: src/github.com/go-sql-driver/mysql
|
|
|
|
steps:
|
|
build:
|
|
image: golang:1.7
|
|
environment:
|
|
MYSQL_TEST_ADDR: database:3306
|
|
commands:
|
|
- sleep 20
|
|
- go get -v -t
|
|
- go test -v
|
|
|
|
services:
|
|
database:
|
|
image: mysql
|
|
environment:
|
|
- MYSQL_DATABASE=gotest
|
|
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
|