auth-api/.drone.yml
Lilleman 439fd161c7
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is failing
Trying to get dind to work
2022-02-13 23:54:36 +01:00

30 lines
500 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: Tests
image: docker/compose:1.29.2
commands:
- docker-compose run --rm db-migrations
- docker-compose up -d
- docker-compose run --rm tests
volumes:
- name: docker-sock
path: /var/run/docker.sock
steps:
- name: build
image: node
volumes:
- name: cache
path: /tmp/cache
commands:
- npm install
- npm test
volumes:
- name: docker-sock
host:
path: /var/run/docker.sock