-
Notifications
You must be signed in to change notification settings - Fork 112
/
.drone.yml
48 lines (48 loc) · 1.51 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
pipeline:
build_centos:
group: build
image: gtmanfred/kitchen-salt:latest
environment:
- DOCKER_HOST=tcp://172.17.0.1:2375
commands:
- bundle install --with=docker --without windows vagrant
- bundle exec kitchen create centos -l warn -c 4
- bundle exec kitchen converge centos
build_debian:
group: build
image: gtmanfred/kitchen-salt:latest
environment:
- DOCKER_HOST=tcp://172.17.0.1:2375
commands:
- bundle install --with=docker --without windows vagrant
- bundle exec kitchen create debian -l warn -c 4
- bundle exec kitchen converge debian
build_ubuntu:
group: build
image: gtmanfred/kitchen-salt:latest
environment:
- DOCKER_HOST=tcp://172.17.0.1:2375
commands:
- bundle install --with=docker --without windows vagrant
- bundle exec kitchen create ubuntu -l warn -c 4
- bundle exec kitchen converge ubuntu
verify:
image: gtmanfred/kitchen-salt:latest
environment:
- DOCKER_HOST=tcp://172.17.0.1:2375
commands:
- bundle install --with=docker --without windows vagrant
- python3 -m pip install --user -r test-requirements.txt
- bundle exec kitchen verify all
clean:
when:
status:
- failure
- success
image: gtmanfred/kitchen-salt:latest
environment:
- DOCKER_HOST=tcp://172.17.0.1:2375
commands:
- bundle install --with=docker --without windows vagrant
- bundle exec kitchen list
- bundle exec kitchen destroy all