woodpecker/pipeline/samples/sample_7_redis/pipeline.yml
Jacob Floyd e34daae0cf
Move cncd/pipeline/pipeline/ to pipeline/ (#347)
* Refactor: move cncd/pipeline/ to pipeline/

* Refactor: move pipeline/pipeline/ to pipeline/
2021-09-24 13:18:34 +02:00

22 lines
465 B
YAML

workspace:
base: /go
path: src/github.com/drone/envsubst
pipeline:
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