forked from ronakbanka/cf-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
64 lines (57 loc) · 1.46 KB
/
.kitchen.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true
platforms:
- name: ubuntu-13.04
driver_config:
box: opscode-ubuntu-13.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-13.04_provisionerless.box
customize:
memory: 1024
run_list:
- recipe[apt::default]
suites:
- name: default
run_list:
- recipe[cf-jenkins]
attributes:
rubies:
list:
- 'ruby 1.9.3-p484'
install_bundler: true
chruby_install:
default_ruby: '1.9.3-p484'
auto: false
selfsigned_certificate:
destination: /usr/var/ssl/certs/
sslpassphrase: changeme
country: CO
state: ST
city: CI
orga: OR
depart: DE
cn: CN
email: EMAIL
cf_jenkins:
ssh_known_hosts: []
jobs:
- name: dummy_job
build_vars:
build_repo: https://github.com/cloudfoundry/tac.git
build_repo_branch: master
build_shell_command: |
#!/bin/bash -l
# required to load /etc/profile.d/gvm.sh
env | sort
type gvm # this should be a function, loaded by /etc/profile.d/gvm.sh
if ! gvm use 1.2; then
echo "Wrong Go version or GVM not installed."
exit 1
fi
if ! chruby 1.9.3; then
echo "Wrong Ruby version or chruby not installed."
exit 1
fi
echo "All is well."
exit 0