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)
21 lines
462 B
YAML
21 lines
462 B
YAML
workspace:
|
|
base: /go
|
|
path: src/github.com/drone/envsubst
|
|
|
|
steps:
|
|
build:
|
|
image: redis:3.0
|
|
commands:
|
|
- sleep 1 # redis needs a second to init
|
|
- redis-cli -h redis1 ping
|
|
- redis-cli -h redis2 ping
|
|
- redis-cli -h redis1 set HELLO hello
|
|
- redis-cli -h redis2 set HELLO hola
|
|
- redis-cli -h redis1 get HELLO
|
|
- redis-cli -h redis2 get HELLO
|
|
|
|
services:
|
|
redis1:
|
|
image: redis:3.0
|
|
redis2:
|
|
image: redis:3.0
|