beaker 2.18.0 → 2.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/HISTORY.md +699 -2
- data/acceptance/lib/beaker/acceptance/install_utils.rb +58 -0
- data/acceptance/pre_suite/puppet_gem/install.rb +1 -8
- data/acceptance/pre_suite/puppet_git/install.rb +6 -65
- data/acceptance/pre_suite/puppet_pkg/install.rb +1 -1
- data/acceptance/tests/foss_utils/clone_git_repo_on.rb +49 -0
- data/beaker.gemspec +2 -0
- data/lib/beaker/command.rb +1 -1
- data/lib/beaker/dsl/helpers/puppet_helpers.rb +8 -6
- data/lib/beaker/dsl/helpers/web_helpers.rb +2 -1
- data/lib/beaker/dsl/install_utils/aio_defaults.rb +0 -3
- data/lib/beaker/dsl/install_utils/foss_defaults.rb +19 -0
- data/lib/beaker/dsl/install_utils/foss_utils.rb +164 -67
- data/lib/beaker/dsl/install_utils/pe_defaults.rb +9 -11
- data/lib/beaker/dsl/install_utils/pe_utils.rb +48 -64
- data/lib/beaker/dsl/install_utils/puppet_utils.rb +43 -0
- data/lib/beaker/dsl/install_utils/windows_utils.rb +144 -0
- data/lib/beaker/dsl/roles.rb +20 -3
- data/lib/beaker/dsl/structure.rb +14 -3
- data/lib/beaker/host/freebsd/pkg.rb +18 -0
- data/lib/beaker/host/freebsd.rb +2 -0
- data/lib/beaker/host/unix/exec.rb +3 -3
- data/lib/beaker/host/unix/pkg.rb +37 -0
- data/lib/beaker/host/windows/exec.rb +3 -0
- data/lib/beaker/host.rb +38 -9
- data/lib/beaker/host_prebuilt_steps.rb +21 -11
- data/lib/beaker/hypervisor/aws_sdk.rb +22 -18
- data/lib/beaker/hypervisor/docker.rb +7 -0
- data/lib/beaker/hypervisor/openstack.rb +1 -0
- data/lib/beaker/hypervisor/vagrant_virtualbox.rb +10 -5
- data/lib/beaker/hypervisor/vmpooler.rb +4 -0
- data/lib/beaker/logger.rb +12 -1
- data/lib/beaker/options/command_line_parser.rb +9 -0
- data/lib/beaker/options/options_hash.rb +3 -296
- data/lib/beaker/options/parser.rb +12 -0
- data/lib/beaker/options/presets.rb +0 -1
- data/lib/beaker/platform.rb +3 -1
- data/lib/beaker/ssh_connection.rb +48 -23
- data/lib/beaker/test_case.rb +1 -1
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/dsl/helpers/puppet_helpers_spec.rb +0 -1
- data/spec/beaker/dsl/helpers/web_helpers_spec.rb +10 -1
- data/spec/beaker/dsl/install_utils/foss_utils_spec.rb +247 -49
- data/spec/beaker/dsl/install_utils/pe_utils_spec.rb +116 -26
- data/spec/beaker/dsl/install_utils/puppet_utils_spec.rb +57 -0
- data/spec/beaker/dsl/install_utils/windows_utils_spec.rb +132 -0
- data/spec/beaker/dsl/roles_spec.rb +36 -5
- data/spec/beaker/dsl/structure_spec.rb +9 -2
- data/spec/beaker/host/unix/pkg_spec.rb +26 -6
- data/spec/beaker/host_prebuilt_steps_spec.rb +3 -2
- data/spec/beaker/host_spec.rb +24 -6
- data/spec/beaker/hypervisor/aixer_spec.rb +1 -1
- data/spec/beaker/hypervisor/aws_sdk_spec.rb +595 -58
- data/spec/beaker/hypervisor/docker_spec.rb +2 -1
- data/spec/beaker/hypervisor/solaris_spec.rb +1 -0
- data/spec/beaker/hypervisor/vagrant_spec.rb +20 -5
- data/spec/beaker/hypervisor/vagrant_virtualbox_spec.rb +1 -1
- data/spec/beaker/logger_spec.rb +39 -0
- data/spec/beaker/options/command_line_parser_spec.rb +2 -2
- data/spec/beaker/options/options_hash_spec.rb +1 -102
- data/spec/beaker/options/parser_spec.rb +19 -0
- data/spec/beaker/options/pe_version_scaper_spec.rb +11 -1
- data/spec/beaker/options/presets_spec.rb +8 -0
- data/spec/beaker/ssh_connection_spec.rb +39 -21
- data/spec/helpers.rb +9 -3
- data/spec/mocks.rb +2 -0
- metadata +35 -11
- data/lib/beaker/answers/version20.rb +0 -120
- data/lib/beaker/answers/version28.rb +0 -121
- data/lib/beaker/answers/version30.rb +0 -227
- data/lib/beaker/answers/version32.rb +0 -44
- data/lib/beaker/answers/version34.rb +0 -51
- data/lib/beaker/answers/version38.rb +0 -29
- data/lib/beaker/answers/version40.rb +0 -44
- data/lib/beaker/answers.rb +0 -143
- data/spec/beaker/answers_spec.rb +0 -547
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# default - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST - 13
|
|
3
|
+
* [LATEST - 13 Aug, 2015 (821aefba)](#LATEST)
|
|
4
|
+
* [2.18.3 - 28 Jul, 2015 (d9a02474)](#2.18.3)
|
|
5
|
+
* [2.18.2 - 27 Jul, 2015 (c84f6f23)](#2.18.2)
|
|
6
|
+
* [2.18.1 - 14 Jul, 2015 (6a82f99f)](#2.18.1)
|
|
7
|
+
* [2.18.0 - 13 Jul, 2015 (e018f2fc)](#2.18.0)
|
|
4
8
|
* [2.17.0 - 10 Jul, 2015 (aaac4771)](#2.17.0)
|
|
5
9
|
* [2.16.0 - 6 Jul, 2015 (b3e76227)](#2.16.0)
|
|
6
10
|
* [2.15.1 - 1 Jul, 2015 (cd6f0bab)](#2.15.1)
|
|
@@ -87,7 +91,700 @@
|
|
|
87
91
|
* [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
|
|
88
92
|
|
|
89
93
|
## Details
|
|
90
|
-
### <a name = "LATEST">LATEST - 13
|
|
94
|
+
### <a name = "LATEST">LATEST - 13 Aug, 2015 (821aefba)
|
|
95
|
+
|
|
96
|
+
* (GEM) update beaker version to 2.19.0 (821aefba)
|
|
97
|
+
|
|
98
|
+
* Merge pull request #918 from johnduarte/dnf_fed22 (d9a52536)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
Merge pull request #918 from johnduarte/dnf_fed22
|
|
103
|
+
|
|
104
|
+
(BKR-439) Add DNF for fedora-22
|
|
105
|
+
```
|
|
106
|
+
* (BKR-439) Add DNF for fedora-22 (f13a1e3c)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
(BKR-439) Add DNF for fedora-22
|
|
111
|
+
|
|
112
|
+
This commit adds a case condition for fedora-22 to use the 'dnf'
|
|
113
|
+
command where the 'yum' command would previously have been executed.
|
|
114
|
+
```
|
|
115
|
+
* Merge pull request #917 from kevpl/bkr346_hostspreserved_multiple (fbeaf7fc)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
Merge pull request #917 from kevpl/bkr346_hostspreserved_multiple
|
|
120
|
+
|
|
121
|
+
(BKR-346) fixed repeat hosts_preserved issue
|
|
122
|
+
```
|
|
123
|
+
* Merge pull request #868 from er0ck/improvement/master/BKR-366-merge_up_install_from_git_changes_from_deployer_puppet (0029295b)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
Merge pull request #868 from er0ck/improvement/master/BKR-366-merge_up_install_from_git_changes_from_deployer_puppet
|
|
128
|
+
|
|
129
|
+
(BKR-366) merge-up install_from_git changes from deployer and puppet
|
|
130
|
+
```
|
|
131
|
+
* Merge pull request #906 from Iristyle/ticket/master/BKR-421-refactor-msi-installation (d7ae5ea7)
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
Merge pull request #906 from Iristyle/ticket/master/BKR-421-refactor-msi-installation
|
|
136
|
+
|
|
137
|
+
(BKR-421) Refactor MSI installation
|
|
138
|
+
```
|
|
139
|
+
* (BKR-346) fixed repeat hosts_preserved issue (c2f713cc)
|
|
140
|
+
|
|
141
|
+
* Merge pull request #916 from sschneid/use_token_during_cleanup (8b500667)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
Merge pull request #916 from sschneid/use_token_during_cleanup
|
|
146
|
+
|
|
147
|
+
(maint) Supply token (if exists) during VM cleanup
|
|
148
|
+
```
|
|
149
|
+
* Merge pull request #902 from anodelman/type (4737c014)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
```
|
|
153
|
+
Merge pull request #902 from anodelman/type
|
|
154
|
+
|
|
155
|
+
(BKR-412) clarify 'types' in beaker
|
|
156
|
+
```
|
|
157
|
+
* Merge pull request #914 from anodelman/answers (4d462c12)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
Merge pull request #914 from anodelman/answers
|
|
162
|
+
|
|
163
|
+
(BKR-340) separate answer file generation into a library
|
|
164
|
+
```
|
|
165
|
+
* Merge pull request #911 from anodelman/deb7 (b573ed80)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
Merge pull request #911 from anodelman/deb7
|
|
170
|
+
|
|
171
|
+
(BKR-422) debian7 fails to reboot during smoketest
|
|
172
|
+
```
|
|
173
|
+
* (maint) Supply token (if exists) during VM cleanup (2e1b91ae)
|
|
174
|
+
|
|
175
|
+
* Merge pull request #865 from madAndroid/BKR-208-preserve-SUT-host-output (1d267e8a)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
Merge pull request #865 from madAndroid/BKR-208-preserve-SUT-host-output
|
|
180
|
+
|
|
181
|
+
(BKR-208) Preserve SUT host output
|
|
182
|
+
```
|
|
183
|
+
* Merge pull request #913 from kevpl/bkr389_upgradepe_agentupgrades (e3784f1a)
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
Merge pull request #913 from kevpl/bkr389_upgradepe_agentupgrades
|
|
188
|
+
|
|
189
|
+
(BKR-389) fixed upgrade_pe issues for agent upgrade module
|
|
190
|
+
```
|
|
191
|
+
* (BKR-389) fixed upgrade_pe issues for agent upgrade module (c5d10577)
|
|
192
|
+
|
|
193
|
+
* Merge pull request #912 from anodelman/new-platform (b611d502)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
Merge pull request #912 from anodelman/new-platform
|
|
198
|
+
|
|
199
|
+
(BKR-372) add support for ubuntu 15.04, Vivid, amd64 & i386
|
|
200
|
+
```
|
|
201
|
+
* Merge pull request #886 from kevpl/bkr393_pm_ubuntu_fix (a7395ce7)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
Merge pull request #886 from kevpl/bkr393_pm_ubuntu_fix
|
|
206
|
+
|
|
207
|
+
(BKR-393) fixed ubuntu PM URLs, didn't match package versions
|
|
208
|
+
```
|
|
209
|
+
* Merge pull request #870 from vindir/feature/aws-specs (41568f1f)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
Merge pull request #870 from vindir/feature/aws-specs
|
|
214
|
+
|
|
215
|
+
(BKR-349) AwsSdk Hypervisor Specs (for review <3)
|
|
216
|
+
```
|
|
217
|
+
* Merge pull request #885 from mcanevet/fix/fqdn (3a9d36f1)
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
Merge pull request #885 from mcanevet/fix/fqdn
|
|
222
|
+
|
|
223
|
+
(BKR-391) Add fqdn to /etc/hosts
|
|
224
|
+
```
|
|
225
|
+
* (BKR-372) add support for ubuntu 15.04, Vivid, amd64 & i386 (f9a2e1ef)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
(BKR-372) add support for ubuntu 15.04, Vivid, amd64 & i386
|
|
230
|
+
|
|
231
|
+
- not quite sure what is going on here, but removing the timeout and
|
|
232
|
+
using the Net::SSH default allows ubuntu15.04 to reboot successfully
|
|
233
|
+
(was stuck on a blocking call to Net::SSH.start)
|
|
234
|
+
```
|
|
235
|
+
* Merge pull request #910 from kevpl/bkr426_fetchhttpfile_longersolution (2b252ce0)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
```
|
|
239
|
+
Merge pull request #910 from kevpl/bkr426_fetchhttpfile_longersolution
|
|
240
|
+
|
|
241
|
+
(BKR-426) long-term fix to end '/' issue in fetch_http_file
|
|
242
|
+
```
|
|
243
|
+
* Merge pull request #895 from anodelman/maint (7467e09c)
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
```
|
|
247
|
+
Merge pull request #895 from anodelman/maint
|
|
248
|
+
|
|
249
|
+
(BKR-410) `confine :except, {}, [host1,host2]` does not work as expected
|
|
250
|
+
```
|
|
251
|
+
* (BKR-422) debian7 fails to reboot during smoketest (f96a15aa)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
```
|
|
255
|
+
(BKR-422) debian7 fails to reboot during smoketest
|
|
256
|
+
|
|
257
|
+
- to fix current smoketest redness change how we connect to beaker boxes
|
|
258
|
+
- do three separate connection attempts (with retries)
|
|
259
|
+
* first with ip
|
|
260
|
+
* then the virtual hostname (vmhostname)
|
|
261
|
+
* then the name of the box provided by the user (hostname)
|
|
262
|
+
- Only when all three fail do we fail out
|
|
263
|
+
- decrease the Net::SSH timeout so that we can move through the various
|
|
264
|
+
attempts in a reasonable amount of time
|
|
265
|
+
- add a sleep post windows reboot, getting reds here because windows
|
|
266
|
+
takes so long to come back up
|
|
267
|
+
```
|
|
268
|
+
* Merge pull request #899 from anodelman/install (f4cc4c9b)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
```
|
|
272
|
+
Merge pull request #899 from anodelman/install
|
|
273
|
+
|
|
274
|
+
(BKR-414) install_pe_on assumes hosts will be an array
|
|
275
|
+
```
|
|
276
|
+
* (BKR-426) long-term fix to end '/' issue in fetch_http_file (013a7e3c)
|
|
277
|
+
|
|
278
|
+
* (BKR-421) Windows installs with service Disabled (4eae7d02)
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
(BKR-421) Windows installs with service Disabled
|
|
283
|
+
|
|
284
|
+
- Modify the default behavior to install Puppet with a disabled service
|
|
285
|
+
instead of Automatic
|
|
286
|
+
- Modify do_install so that on a Windows MSI install the method
|
|
287
|
+
setup_defaults_and_config_helper_on is called. This replaces the
|
|
288
|
+
existing configure_pe_defaults_on behavior and augments it with an
|
|
289
|
+
additional `puppet agent -t` run that generates certificates. Since
|
|
290
|
+
it calls puppet commands for configuring the server and certname,
|
|
291
|
+
additionally remove the redundant passing of these values to the
|
|
292
|
+
Windows installer.
|
|
293
|
+
```
|
|
294
|
+
* (BKR-421) Verify Windows puppet service status (5c70e60c)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
(BKR-421) Verify Windows puppet service status
|
|
299
|
+
|
|
300
|
+
- After completing an MSI install, verify the service status of the
|
|
301
|
+
puppet service.
|
|
302
|
+
```
|
|
303
|
+
* (BKR-421) Refactor foss_utils to use WindowsUtils (9b37abb5)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
```
|
|
307
|
+
(BKR-421) Refactor foss_utils to use WindowsUtils
|
|
308
|
+
|
|
309
|
+
- There are 4 separate points in the code where an MSI installation can
|
|
310
|
+
be launched from, that all differ. Unify all entry points to use the
|
|
311
|
+
helper install_msi_on from WindowUtils.
|
|
312
|
+
|
|
313
|
+
Simplify the logic in the foss_utils install_a_puppet_msi_on and
|
|
314
|
+
instead of verifying which command Beaker sends (since the actual
|
|
315
|
+
code execution is thorougly tested for install_msi_on), simply
|
|
316
|
+
verify that the proper method is being called
|
|
317
|
+
```
|
|
318
|
+
* (BKR-421) Add WindowsUtils with MSI helper (49920a8b)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
```
|
|
322
|
+
(BKR-421) Add WindowsUtils with MSI helper
|
|
323
|
+
|
|
324
|
+
- Refactor the do_install portion of pe_utils so that it no longer uses
|
|
325
|
+
the installer_cmd helper when on Windows. Instead, extract out a new
|
|
326
|
+
MSI installation helper to WindowsUtils called install_msi_on.
|
|
327
|
+
|
|
328
|
+
- install_msi_on expects 4 parameters
|
|
329
|
+
hosts - to run the installer on
|
|
330
|
+
msi_path - can be a local path on disk or uri
|
|
331
|
+
msi_opts - options passed to the installer to configure behavior
|
|
332
|
+
opts - additional options, currently only :debug to emit the log
|
|
333
|
+
after installation
|
|
334
|
+
|
|
335
|
+
- install_msi_on will generate a batch file and SCP it to the host
|
|
336
|
+
to avoid any potential command line quoting issues with Cygwin
|
|
337
|
+
and will properly propagate the msiexec exit code
|
|
338
|
+
|
|
339
|
+
- MSI exit codes 0, 1641 and 3010 are acceptable since they may
|
|
340
|
+
simply indicate a reboot is required
|
|
341
|
+
install_msi_on will automatically dump the MSI log to the output
|
|
342
|
+
when a different failure code is encountered
|
|
343
|
+
```
|
|
344
|
+
* (maint) remove errant pe_utils docs for installer_cmd (cae4fc68)
|
|
345
|
+
|
|
346
|
+
* (BKR-412) clarify 'types' in beaker (72e82f58)
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
```
|
|
350
|
+
(BKR-412) clarify 'types' in beaker
|
|
351
|
+
|
|
352
|
+
- having made 'aio' a type meant that we were losing pe/foss specific
|
|
353
|
+
information (like the puppet service)
|
|
354
|
+
- make 'aio' a role that a host can have, meaning that the aio defaults
|
|
355
|
+
will be installed overtop of any foss/pe defaults
|
|
356
|
+
- stay backwards compatible with some of our weirder test types occuring
|
|
357
|
+
in the wild (like git-package)
|
|
358
|
+
```
|
|
359
|
+
* (BKR-413) beaker incorrectly reading preview 'LATEST' file (81077e35)
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
```
|
|
363
|
+
(BKR-413) beaker incorrectly reading preview 'LATEST' file
|
|
364
|
+
|
|
365
|
+
- unable to reproduce bug as reported, but found errors in spec test
|
|
366
|
+
coverage while poking around.
|
|
367
|
+
```
|
|
368
|
+
* (BKR-414) install_pe_on assumes hosts will be an array (7ac2ca96)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
```
|
|
372
|
+
(BKR-414) install_pe_on assumes hosts will be an array
|
|
373
|
+
|
|
374
|
+
- ensure that we only confine to an array of hosts
|
|
375
|
+
```
|
|
376
|
+
* (BKR-410) `confine :except, {}, [host1,host2]` does not work as expected (3a27e489)
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
```
|
|
380
|
+
(BKR-410) `confine :except, {}, [host1,host2]` does not work as expected
|
|
381
|
+
|
|
382
|
+
- add support to confine to all hosts *except* those in provided host
|
|
383
|
+
array
|
|
384
|
+
```
|
|
385
|
+
* (BKR-208) - add commandline option, as requested by @anodelman (81139678)
|
|
386
|
+
|
|
387
|
+
* (BKR-340) separate answer file generation into a library (2a3d9dc5)
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
```
|
|
391
|
+
(BKR-340) separate answer file generation into a library
|
|
392
|
+
|
|
393
|
+
- remove answer file generation from beaker
|
|
394
|
+
- add dependencies to new beaker-answers gem and stringify-hash
|
|
395
|
+
```
|
|
396
|
+
* (BKR-393) fixed ubuntu PM URLs, didn't match package versions (2b820611)
|
|
397
|
+
|
|
398
|
+
* (BKR-391) Add fqdn to /etc/hosts (033dc9a8)
|
|
399
|
+
|
|
400
|
+
* (BKR-349) awsSdk pass-through to make specs more idiomatic and DRY things up (a3e1fa83)
|
|
401
|
+
|
|
402
|
+
* (BKR-349) Revert "(BKR-349) Clean out unused methods AwsSdk#kill_zombies and AwsSdk#kill_zombie_volumes" (76969db6)
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
```
|
|
406
|
+
(BKR-349) Revert "(BKR-349) Clean out unused methods AwsSdk#kill_zombies and AwsSdk#kill_zombie_volumes"
|
|
407
|
+
|
|
408
|
+
This reverts commit e2da888de350d9c9f98e0bb20533d61a35ad419e.
|
|
409
|
+
```
|
|
410
|
+
* (BKR-349) Revert "(BKR-349) Remove unused AWS hypervisor method for log_instances" (bc6535ac)
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
```
|
|
414
|
+
(BKR-349) Revert "(BKR-349) Remove unused AWS hypervisor method for log_instances"
|
|
415
|
+
|
|
416
|
+
This reverts commit b33ae4b49175dc30da71dcdff56045aed9ca7c49.
|
|
417
|
+
```
|
|
418
|
+
* (BKR-208) - Rename option and method to color_host_output, as per suggestion fron @anodelman (02223524)
|
|
419
|
+
|
|
420
|
+
* (BKR-349) Add specs to test out configuration of /etc/hosts for new instances (ebe312d0)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
(BKR-349) Add specs to test out configuration of /etc/hosts for new instances
|
|
425
|
+
|
|
426
|
+
Includes tests for AwsSdk#configure_hosts and AwsSdk#etc_hosts_entry
|
|
427
|
+
```
|
|
428
|
+
* (BKR-349) Add Host#dns_name to spec/helpers.rb host defaults. (b586da67)
|
|
429
|
+
|
|
430
|
+
* (BKR-349) AwsSdk#configure_hosts now returns nil as api docs indicate (433b9033)
|
|
431
|
+
|
|
432
|
+
* (BKR-349) Remove redundant entry in spec/helpers.rb host defaults (974bd4a3)
|
|
433
|
+
|
|
434
|
+
* (BKR-349) Refactor AwsSdk#configure_hosts for improved testability (0b28c5d2)
|
|
435
|
+
|
|
436
|
+
* (BKR-349) Update yard doc for create_instance to the proper @return type. (1d2b5322)
|
|
437
|
+
|
|
438
|
+
* (BKR-349) Add specs to test AwsSdk#load_fog_credentials (1d3545d4)
|
|
439
|
+
|
|
440
|
+
* (BKR-349) Specs added for AwsSdk#create_group (99470010)
|
|
441
|
+
|
|
442
|
+
* (BKR-349) Specs added for AwsSdk#ensure_group (66eb22fb)
|
|
443
|
+
|
|
444
|
+
* (BKR-349) Add private ip to host creation in the spec helpers (2b1a1fb8)
|
|
445
|
+
|
|
446
|
+
* (BKR-349) Stub out remaining simple methods for AwsSdk spec testing (0eb22705)
|
|
447
|
+
|
|
448
|
+
* (BKR-349) Add new specs for AwsSdk#ensure_key_pair (82231282)
|
|
449
|
+
|
|
450
|
+
* (BKR-366) merge up install from git changes from deployer and puppet (953423ce)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
```
|
|
454
|
+
(BKR-366) merge up install from git changes from deployer and puppet
|
|
455
|
+
|
|
456
|
+
This change merges changes to install_from_git that were overloaded into
|
|
457
|
+
puppet and other repos' acceptance libraries.
|
|
458
|
+
We also split the cloning portion of install_from_git into its own
|
|
459
|
+
method, added options that are passed through to on() and moved a method
|
|
460
|
+
to beaker's acceptance library that needs to be shared across tests
|
|
461
|
+
(install_packages_on).
|
|
462
|
+
This addition of an acceptance library for beaker may require changes to
|
|
463
|
+
the jenkins CI configuration, to add the library to the test-runner's
|
|
464
|
+
load-path.
|
|
465
|
+
The merge-up also brought in helpers for install_from_git,
|
|
466
|
+
build_git_url() and lookup_in_env().
|
|
467
|
+
This change also adds a few more features to build_git_url that were required
|
|
468
|
+
for deployer, including giturl protocol.
|
|
469
|
+
```
|
|
470
|
+
* (BKR-349) Add new specs for AwsSdk#local_user (a280d073)
|
|
471
|
+
|
|
472
|
+
* (BKR-349) Add new specs for AwsSdk#set_hostnames (1ae376a2)
|
|
473
|
+
|
|
474
|
+
* (BKR-349) Add new specs for AwsSdk#add_tags (0ee05d39)
|
|
475
|
+
|
|
476
|
+
* (BKR-349) Add new specs for AwsSdk#wait_for_status (8d331dfc)
|
|
477
|
+
|
|
478
|
+
* (BKR-349) Clean out unused methods AwsSdk#kill_zombies and AwsSdk#kill_zombie_volumes (e60692eb)
|
|
479
|
+
|
|
480
|
+
* (BKR-349) Update yard docs with actual return type for AwsSdk#security_groups (dc7401cd)
|
|
481
|
+
|
|
482
|
+
* (BKR-349) New spec test for AwsSdk#security_groups (bd40500f)
|
|
483
|
+
|
|
484
|
+
* (BKR-349) Add specs to test AwsSdk#security_group_by_id (5509c3fc)
|
|
485
|
+
|
|
486
|
+
* (BKR-349) Update yard docs with actual return type for AwsSdk#vpcs (e016a375)
|
|
487
|
+
|
|
488
|
+
* (BKR-349) New spec test for AwsSdk#vpcs (0c800e52)
|
|
489
|
+
|
|
490
|
+
* (BKR-349) Add specs to test AwsSdk#vpc_by_id (e13d7e18)
|
|
491
|
+
|
|
492
|
+
* (BKR-208) - Add spec for preserving SUT host output (97a9a1df)
|
|
493
|
+
|
|
494
|
+
* (BKR-208) - Add preserve_host_output method, to set allow us to not strip colour for beaker runs (07f06d7b)
|
|
495
|
+
|
|
496
|
+
* (BKR-349) Add specs to test AwsSdk#instances (b28c39ed)
|
|
497
|
+
|
|
498
|
+
* (BKR-349) Update yard docs with actual return type for AwsSdk#instances (ce44abac)
|
|
499
|
+
|
|
500
|
+
* (BKR-349) Add specs to test AwsSdk#instance_by_id (538458a3)
|
|
501
|
+
|
|
502
|
+
* (BKR-349) Improved specs for AwsSdk#cleanup (68f8a5d4)
|
|
503
|
+
|
|
504
|
+
* (BKR-349) Fix incorrect key name for access credentials in spec helper for fog creds (90b88e57)
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
```
|
|
508
|
+
(BKR-349) Fix incorrect key name for access credentials in spec helper for fog creds
|
|
509
|
+
|
|
510
|
+
PS: This still doesn't appear to play nicely when attempting to work with
|
|
511
|
+
resulting instance objects. Seems like it has to be mocked any time it digs
|
|
512
|
+
into the aws lib.
|
|
513
|
+
```
|
|
514
|
+
* (BKR-349) Remove unused AWS hypervisor method for log_instances (16d506ef)
|
|
515
|
+
|
|
516
|
+
* (BKR-349) Add spec tests for AWS hypervisor cleanup method (6f3c8fa8)
|
|
517
|
+
|
|
518
|
+
* (BKR-349) Add spec tests for AwsSdk#kill_instances (72c53781)
|
|
519
|
+
|
|
520
|
+
* (BKR-349) Add tests for AwsSdk#provision (3fbb8a3e)
|
|
521
|
+
|
|
522
|
+
* (BKR-349) Stub out describes for missing method tests (784102ff)
|
|
523
|
+
|
|
524
|
+
* (BKR-349) Clean up describe/context naming for existing tests (147e78aa)
|
|
525
|
+
|
|
526
|
+
* (BKR-349) Sort tests based on method appearance (e1920ade)
|
|
527
|
+
|
|
528
|
+
### <a name = "2.18.3">2.18.3 - 28 Jul, 2015 (d9a02474)
|
|
529
|
+
|
|
530
|
+
* (HISTORY) update beaker history for gem release 2.18.3 (d9a02474)
|
|
531
|
+
|
|
532
|
+
* (GEM) update beaker version to 2.18.3 (c0553c0c)
|
|
533
|
+
|
|
534
|
+
* Merge pull request #908 from kevpl/bkr424_windows_doubleslash (cec8965d)
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
```
|
|
538
|
+
Merge pull request #908 from kevpl/bkr424_windows_doubleslash
|
|
539
|
+
|
|
540
|
+
(BKR-424) eliminated extra '/' on windows download URL
|
|
541
|
+
```
|
|
542
|
+
* (BKR-424) eliminated extra '/' on windows download URL (6b9735e0)
|
|
543
|
+
|
|
544
|
+
### <a name = "2.18.2">2.18.2 - 27 Jul, 2015 (c84f6f23)
|
|
545
|
+
|
|
546
|
+
* (HISTORY) update beaker history for gem release 2.18.2 (c84f6f23)
|
|
547
|
+
|
|
548
|
+
* (GEM) update beaker version to 2.18.2 (15c0496b)
|
|
549
|
+
|
|
550
|
+
* Merge pull request #894 from anodelman/shallow (d2860c7a)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
```
|
|
554
|
+
Merge pull request #894 from anodelman/shallow
|
|
555
|
+
|
|
556
|
+
(BKR-405) The "install_pe" DSL Method Fails to Install SG...
|
|
557
|
+
```
|
|
558
|
+
* Merge pull request #880 from petems/BKR-326-fix_freebsd_install (6383f3d6)
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
```
|
|
562
|
+
Merge pull request #880 from petems/BKR-326-fix_freebsd_install
|
|
563
|
+
|
|
564
|
+
(BKR-326) Fixes FreeBSD install to use ports
|
|
565
|
+
```
|
|
566
|
+
* Merge pull request #896 from bstopp/master (35f8e63e)
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
```
|
|
570
|
+
Merge pull request #896 from bstopp/master
|
|
571
|
+
|
|
572
|
+
(BKR-417) Add support for specifying # of CPUs in VirtualBox
|
|
573
|
+
```
|
|
574
|
+
* Merge pull request #900 from ferventcoder/maint/issue/start-wait-winrm (f8f01651)
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
```
|
|
578
|
+
Merge pull request #900 from ferventcoder/maint/issue/start-wait-winrm
|
|
579
|
+
|
|
580
|
+
(maint) Always wait for Windows agent installs
|
|
581
|
+
```
|
|
582
|
+
* Merge pull request #901 from justinstoller/bug/master/bkr-420_no-more-latest (282371b4)
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
```
|
|
586
|
+
Merge pull request #901 from justinstoller/bug/master/bkr-420_no-more-latest
|
|
587
|
+
|
|
588
|
+
(BKR-420) Allow easily installing latest puppet-agent
|
|
589
|
+
```
|
|
590
|
+
* (BKR-420) Allow easily installing latest puppet-agent (460a6247)
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
```
|
|
594
|
+
(BKR-420) Allow easily installing latest puppet-agent
|
|
595
|
+
|
|
596
|
+
Prior to this we were over eagerly failing if there was no puppet-agent
|
|
597
|
+
version explicitly set. Having install_puppet_agent install the latest
|
|
598
|
+
released version of puppet-agent is a desired and common workflow.
|
|
599
|
+
|
|
600
|
+
This patch removes the aggressive failing on non-specified puppet-agent
|
|
601
|
+
versions in `install_puppet_agent_on`
|
|
602
|
+
```
|
|
603
|
+
* (maint) use type over cat in pure Windows (f53a9f6d)
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
```
|
|
607
|
+
(maint) use type over cat in pure Windows
|
|
608
|
+
|
|
609
|
+
If the host is not a cygwin environment, prefer `type` to produce the
|
|
610
|
+
contents of the log file over `cat`. `type` is built-in, where `cat` is
|
|
611
|
+
only available if someone has put *nix tools on the path, whether
|
|
612
|
+
through a git install (MinGW tools), installing GnuWin utils or some
|
|
613
|
+
other method.
|
|
614
|
+
```
|
|
615
|
+
* (maint) Always wait for Windows agent installs (c8cb9384)
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
```
|
|
619
|
+
(maint) Always wait for Windows agent installs
|
|
620
|
+
|
|
621
|
+
When installing Windows agents with cygwin or any other means, always
|
|
622
|
+
prefer `start /w` over just calling msiexec.
|
|
623
|
+
|
|
624
|
+
This adds to what was first introduced in 9c32cac7a7a5bf.
|
|
625
|
+
```
|
|
626
|
+
* Merge branch 'master' of github.com:bstopp/beaker (4452e5a9)
|
|
627
|
+
|
|
628
|
+
* Merge pull request #889 from spjmurray/bkr_401_os_volume_races (5c17bca4)
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
```
|
|
632
|
+
Merge pull request #889 from spjmurray/bkr_401_os_volume_races
|
|
633
|
+
|
|
634
|
+
(BKR-401) fix race in OpenStack volume deletion
|
|
635
|
+
```
|
|
636
|
+
* Merge pull request #892 from petems/maint_move_vb_vagrant_out_of_disk_path (17fe242f)
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
```
|
|
640
|
+
Merge pull request #892 from petems/maint_move_vb_vagrant_out_of_disk_path
|
|
641
|
+
|
|
642
|
+
(maint) Moves various VB options out of `disk_path` logic
|
|
643
|
+
```
|
|
644
|
+
* Merge pull request #812 from bodgit/openbsd (e37685d0)
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
```
|
|
648
|
+
Merge pull request #812 from bodgit/openbsd
|
|
649
|
+
|
|
650
|
+
(BKR-249) Add OpenBSD support
|
|
651
|
+
```
|
|
652
|
+
* Merge pull request #898 from kevpl/bkr415_acceptance_fix (888788a9)
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
```
|
|
656
|
+
Merge pull request #898 from kevpl/bkr415_acceptance_fix
|
|
657
|
+
|
|
658
|
+
(BKR-415) re-targeted puppet_pkg acceptance from 3.7.5 -> 3.8.1
|
|
659
|
+
```
|
|
660
|
+
* (BKR-415) re-targeted puppet_pkg acceptance from 3.7.5 -> 3.8.1 (c37cc8d7)
|
|
661
|
+
|
|
662
|
+
* This patch adds support for configuring the number of CPUs for (c3fae736)
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
```
|
|
666
|
+
This patch adds support for configuring the number of CPUs for
|
|
667
|
+
vagrant VirtualBox instances. The `vagrant_cpus` config option is
|
|
668
|
+
used to set the value.
|
|
669
|
+
```
|
|
670
|
+
* (BKR-417) This patch adds support for configuring the number of CPUs for (837fe37e)
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
```
|
|
674
|
+
(BKR-417) This patch adds support for configuring the number of CPUs for
|
|
675
|
+
vagrant VirtualBox instances. The `vagrant_cpus` config option is
|
|
676
|
+
used to set the value.
|
|
677
|
+
```
|
|
678
|
+
* (BKR-405) The "install_pe" DSL Method Fails to Install SG... (c31f2d9d)
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
```
|
|
682
|
+
(BKR-405) The "install_pe" DSL Method Fails to Install SG...
|
|
683
|
+
|
|
684
|
+
...if "Latest-win" Version File is Missing
|
|
685
|
+
|
|
686
|
+
- do not attempt to determine windows pe_ver if master version is
|
|
687
|
+
greater than 3.99, just inherit from the master (if it exists)
|
|
688
|
+
- there's probably more edge cases here, but I don't believe that
|
|
689
|
+
install_pe can handle every combinations of platforms/versions
|
|
690
|
+
```
|
|
691
|
+
* (maint) Moves out of `disk_path` logic... (c8f98aa6)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
```
|
|
695
|
+
(maint) Moves out of `disk_path` logic...
|
|
696
|
+
|
|
697
|
+
Looks like these got moved into the `if` logic for `disk_path` accidentally around v2.8. This means that you can no longer use these options without adding disk_path logic in later versions of Beaker. This moves them back into their own section.
|
|
698
|
+
```
|
|
699
|
+
* (BKR-401) fix race in OpenStack volume deletion (b93046ed)
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
```
|
|
703
|
+
(BKR-401) fix race in OpenStack volume deletion
|
|
704
|
+
|
|
705
|
+
There is a delay between a volume being detached from a virtual machine and
|
|
706
|
+
when it is ready to be deleted. The code as it stands is likely to hit a 400
|
|
707
|
+
error as the volume is still in the 'detaching' state. Add in a wait_for
|
|
708
|
+
statement to allow the volume to get back into the 'available' state before
|
|
709
|
+
deleting
|
|
710
|
+
```
|
|
711
|
+
* (BKR-326) Fixes FreeBSD install to use ports (a0d47d14)
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
```
|
|
715
|
+
(BKR-326) Fixes FreeBSD install to use ports
|
|
716
|
+
|
|
717
|
+
* Adds helper method to `FreeBSD:Pkg` to install packages on FreeBSD using ports with sensible default arguments
|
|
718
|
+
```
|
|
719
|
+
* (BKR-249) Add OpenBSD support (3f72ecfc)
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
```
|
|
723
|
+
(BKR-249) Add OpenBSD support
|
|
724
|
+
|
|
725
|
+
Add install method to prefer installing the OpenBSD-maintained Puppet package
|
|
726
|
+
which tends to work better than vanilla gem versions. Also add enough smarts
|
|
727
|
+
to be able to do gem installations. The shell is not a login shell therefore
|
|
728
|
+
it doesn't pick up the .profile that contains the PKG_PATH variable so pkg_add
|
|
729
|
+
doesn't automatically install from the network so add the PKG_PATH to the
|
|
730
|
+
.ssh/environment too.
|
|
731
|
+
|
|
732
|
+
The packaging support handles the case when there are multiple rubies
|
|
733
|
+
available. Currently it will install the newest in the list that is older than
|
|
734
|
+
2.2.x as that doesn't work with all versions of Puppet. Also, if installing the
|
|
735
|
+
package advises to create symlinks to make this package the default, perform
|
|
736
|
+
this step automatically. This handles for example when installing ruby-1.9.3
|
|
737
|
+
and all the commands have a 19 suffix, etc.
|
|
738
|
+
```
|
|
739
|
+
### <a name = "2.18.1">2.18.1 - 14 Jul, 2015 (6a82f99f)
|
|
740
|
+
|
|
741
|
+
* (HISTORY) update beaker history for gem release 2.18.1 (6a82f99f)
|
|
742
|
+
|
|
743
|
+
* (GEM) update beaker version to 2.18.1 (f9939536)
|
|
744
|
+
|
|
745
|
+
* Merge pull request #891 from anodelman/shallow (c4b30018)
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
```
|
|
749
|
+
Merge pull request #891 from anodelman/shallow
|
|
750
|
+
|
|
751
|
+
(BKR-402) Regression in Beaker 2.18.0 AIO testing for PuppetDB usage
|
|
752
|
+
```
|
|
753
|
+
* Merge pull request #890 from justinstoller/bug/master/BKR-403_sless (e52b0af4)
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
```
|
|
757
|
+
Merge pull request #890 from justinstoller/bug/master/BKR-403_sless
|
|
758
|
+
|
|
759
|
+
(BKR-403) Use rpm on sles for pe puppet-agent
|
|
760
|
+
```
|
|
761
|
+
* (BKR-402) Regression in Beaker 2.18.0 AIO testing for PuppetDB usage (8c262979)
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
```
|
|
765
|
+
(BKR-402) Regression in Beaker 2.18.0 AIO testing for PuppetDB usage
|
|
766
|
+
|
|
767
|
+
- provide a sane default for puppetservice for aio defaults, but allow
|
|
768
|
+
override with a user setting
|
|
769
|
+
```
|
|
770
|
+
* (BKR-403) Use rpm on sles for pe puppet-agent (6acd9938)
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
```
|
|
774
|
+
(BKR-403) Use rpm on sles for pe puppet-agent
|
|
775
|
+
|
|
776
|
+
In BKR-397 we updated rpm using platforms to use yum instead of rpm in
|
|
777
|
+
the install_puppet_agent_pe_promoted_repo, however it wasn't noticed
|
|
778
|
+
that SLES was also an rpm using platform in the match that doesn't also
|
|
779
|
+
include yum.
|
|
780
|
+
|
|
781
|
+
This patch moves SLES platforms into their own branch of logic that uses
|
|
782
|
+
the old rpm installation method while retaining the yum based
|
|
783
|
+
installation for other platforms.
|
|
784
|
+
```
|
|
785
|
+
### <a name = "2.18.0">2.18.0 - 13 Jul, 2015 (e018f2fc)
|
|
786
|
+
|
|
787
|
+
* (HISTORY) update beaker history for gem release 2.18.0 (e018f2fc)
|
|
91
788
|
|
|
92
789
|
* (GEM) update beaker version to 2.18.0 (268ce21e)
|
|
93
790
|
|