forked from Capgemini/Apollo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
34 lines (34 loc) · 1.1 KB
/
wercker.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
box: wercker/python
no-response-timeout: 15
build:
steps:
- install-packages:
packages: wget unzip
- pip-install:
requirements_file: "requirements-test.txt"
- script:
name: install packer
cwd: packer/
code: |
wget https://dl.bintray.com/mitchellh/packer/packer_0.7.5_linux_amd64.zip
unzip packer_0.7.5_linux_amd64.zip
./packer version
- script:
cwd: packer/
name: validate packer template for AMI
code: ./packer validate ubuntu-14.04_amd64-amis.json
- script:
cwd: packer/
name: validate packer template for Digitalocean
code: ./packer validate ubuntu-14.04_amd64-droplet.json
- script:
cwd: packer/
name: validate packer template for Vagrant
code: ./packer validate ubuntu-14.04_amd64.json
- script:
cwd: packer/
name: validate packer template for Google
code: ./packer validate ubuntu-14.04_amd64-google.json
- capgemini/ansible-lint:
name: run ansible-lint against the site.yml playbook
playbook: site.yml