This guide covers configuring continuous integration pipelines for projects that have a Memcached dependency. If you’re new to Drone please read our Tutorial and build configuration guides first.
Basic Example
In the below example we demonstrate a pipeline that launches a Memcached service container. The server will be available at localhost:11211
.
kind: pipeline
type: kubernetes
name: default
steps:
- name: test
image: ubuntu
commands:
- apt-get update -qq
- apt-get install -y -qq telnet > /dev/null
- (sleep 1; echo "stats"; sleep 2; echo "quit";) | telnet localhost 11211 || true
services:
- name: cache
image: memcached:alpine
command: [ -vv ]