forked from rabbitmq/chef-cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.alphas.yml
123 lines (108 loc) · 3.53 KB
/
.kitchen.alphas.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
driver:
name: dokken
chef_version: latest
privileged: true # because Docker and SystemD/Upstart
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
transport:
name: dokken
provisioner:
name: dokken
verifier:
root_path: '/opt/verifier'
sudo: false
platforms:
- name: centos-6
driver:
image: dokken/centos-6
platform: rhel
pid_one_command: /sbin/init
hostname: localhost
intermediate_instructions:
- RUN yum -y install sudo which initscripts
- name: centos-7.4
driver:
image: dokken/centos-7
platform: rhel
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN yum -y install sudo lsof which systemd-sysv initscripts openssl net-tools
- name: fedora-31
driver:
image: dokken/fedora-31
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:
- RUN dnf -y install sudo
- name: ubuntu-18.04
driver:
image: dokken/ubuntu-18.04
pid_one_command: /bin/systemd
intermediate_instructions:
- ENV DEBIAN_FRONTEND noninteractive
- RUN /usr/bin/apt-get update -y
- RUN /usr/bin/apt-get install -y ca-certificates sudo apt-transport-https lsb-release procps net-tools
- name: debian-9
driver:
image: dokken/debian-9
pid_one_command: /bin/systemd
intermediate_instructions:
- ENV DEBIAN_FRONTEND noninteractive
- RUN /usr/bin/apt-get update -y
- RUN /usr/bin/apt-get install -y ca-certificates sudo apt-transport-https lsb-release procps net-tools
#
# Suites
#
suites:
- name: default-deb-alpha
run_list:
- recipe[erlang::default]
- recipe[rabbitmq::plugins]
attributes:
erlang:
install_method: "esl"
esl:
version: "1:21.3.8.16-1"
rabbitmq:
# export RABBITMQ_VERSION="3.7.14-alpha.11"
version: <%= ENV['RABBITMQ_VERSION'] %>
deb_package_url: "https://dl.bintray.com/rabbitmq/all-dev/rabbitmq-server/<%= ENV['RABBITMQ_VERSION'] %>/"
deb_package: "rabbitmq-server_<%= ENV['RABBITMQ_VERSION'].to_s.gsub(/\-alpha/, "~alpha") %>-1_all.deb"
verifier:
inspec_tests:
- test/integration/default
includes: ["ubuntu-18.04", "debian-9"]
- name: default-rpm-el7-alpha
run_list:
- recipe[rabbitmq::erlang_package]
- recipe[rabbitmq::plugins]
attributes:
rabbitmq:
erlang:
enabled: true
version: "21.3.8.16"
# export RABBITMQ_VERSION="3.7.13-alpha.21"
version: <%= ENV['RABBITMQ_VERSION'] %>
rpm_package_url: "https://dl.bintray.com/rabbitmq/all-dev/rabbitmq-server/<%= ENV['RABBITMQ_VERSION'] %>/"
rpm_package: "rabbitmq-server-<%= ENV['RABBITMQ_VERSION'].to_s.gsub(/\-alpha/, "~alpha") %>-1.el7.noarch.rpm"
verifier:
inspec_tests:
- test/integration/default
includes: ["centos-7", "fedora-31"]
- name: default-rpm-el6-alpha
run_list:
- recipe[erlang::default]
- recipe[rabbitmq::plugins]
attributes:
erlang:
install_method: "esl"
esl:
version: "21.3.8.16-1"
rabbitmq:
# export RABBITMQ_VERSION="3.7.13-alpha.21"
version: <%= ENV['RABBITMQ_VERSION'] %>
rpm_package_url: "https://dl.bintray.com/rabbitmq/all-dev/rabbitmq-server/<%= ENV['RABBITMQ_VERSION'] %>/"
rpm_package: "rabbitmq-server-<%= ENV['RABBITMQ_VERSION'].to_s.gsub(/\-alpha/, "~alpha") %>-1.el6.noarch.rpm"
verifier:
inspec_tests:
- test/integration/default
includes: ["centos-6"]