Skip to content

Instantly share code, notes, and snippets.

@analogic
Created March 18, 2019 07:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save analogic/421e244f1dd52cee262f77b7d0d28692 to your computer and use it in GitHub Desktop.
Save analogic/421e244f1dd52cee262f77b7d0d28692 to your computer and use it in GitHub Desktop.
Moving from cloud.docker.com autobuild+autotest to drone.io (repository must be privileged!§)
kind: pipeline
name: default
steps:
- name: test
image: docker:dind
privileged: true
pull: true
volumes:
- name: dockersock
path: /var/run
commands:
- apk update
- apk upgrade
- apk add python python-dev py-pip build-base
- pip install docker-compose
- docker-compose -f build/docker-compose.test.yml build
- docker-compose -f build/docker-compose.test.yml up sut
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment