All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog & makes a strong effort to adhere to Semantic Versioning.
Tracking in this Changelog began for this project in version 3.25.0. If you're looking for changes from before this, refer to the project's git logs & PR history.
The headers used in Keep a Changelog are:
- Added - for new features.
- Changed - for changes in existing functionality.
- Deprecated - for soon-to-be removed features.
- Removed - for now removed features.
- Fixed - for any bug fixes.
- Security - in case of vulnerabilities.
4.27.0 - 07-24-2020
- Updated dependency versions and minimum Ruby version in gemspec to Ruby 2.4, which is the minimum version Beaker will run with.
- Added Travis unit testing and disabled Jenkins integrations in preparation for transferring the repo to Vox Pupuli
- Fixed deprecated SSH option handling for
verify_ssh_key
being passed into Net::SSH. #1655
- Removed deprecated use of
paranoid
flag with Net::SSH. #1655
- Execution of Beaker directly through ruby on localhost #1637 (#1637)
4.24.0 - 2020-06-05
- Host method which (#1651)
- Fixed implementation for cat and file_exists? host methods for PSWindows (#1654)
- Fixed implementation for mkdir_p host method for PSWindows (#1657)
- Fixed Beaker's behavior when the
strict_host_key_checking
option is provided in the SSH config and Net-SSH > 5 is specified. (#1652)
- Reversed the quoting changes on Unix from #1644 in favor of only quoting on Windows. (#1650)
- Relaxed dependency on
net-ssh
to>= 5
to support newer versions. (#1648) cat
DSL method added. Works on both Unix and Windows hosts. (#1645)
- The
mkdir_p
andmv
commands now double quote their file arguments. (#1644) If you rely on file globbing in these methods or elsewhere, please open an issue on the BEAKER project. - Change
reboot
method to usewho -b
for uptime detection (#1643)
- Use Base64 UTF-16LE encoding for commands (#1626)
- Fix
tmpdir
method for Powershell on Windows (#1645)
- Removed single quotes around paths for file operation commands on
Host
voxpupuli#1642
4.22.0 - 2020-05-08
- Host methods chmod and modified_at. (#1638)
4.21.0 - 2020-03-31
- Empty file
/etc/environment
while preparing ssh environment on Ubuntu 20.04 to keep the current behavior and consider all variables from~/.ssh/environment
. (#1635)
4.20.0 - 2020-03-19
- Vagrant RSync/SSH settings will now be picked up if set via beaker-vagrant (#1634 and beaker-vagrant#28)
4.19.0 - 2020-03-13
apt-transport-https
package will now be installed on Debian-based systems as part of the prebuilt process. (#1631)- Ubuntu 19.10 and 20.04 code name handling. (#1632)
- The
wait_time
,max_connection_tries
, anduptime_retries
parameters have been added toHost::Unix::Exec.reboot
. This allows for more fine-grained control over how the reboot is handled. (#1625)
- In
hosts.yml
,packaging_platform
will now default toplatform
if unspecified. This fixed a bug where beaker would fail unless you specified both values in your config, even if both values were identical. (#1628) version_is_less
will now correctly handle builds and RCs when used in version numbers. (#1630)
- Update
rake
to~> 12.0
, which currently resolves to12.3.3
to remediate CVE-2020-8130
4.18.0 - 2020-02-26
- Thor dependency bumped to >=1.0.1 <2.0
4.17.0 - 2020-02-20
4.16.0 - 2020-02-05
host.reboot
usesuptime
rather thanping
to check host status (#1619)
4.15.0 - 2020-01-30
- macOS 10.15 Catalina support (BKR-1621)
4.14.1 - 2019-11-18
fips_mode?
detection (#1607)
4.14.0 - 2019-11-12
- Pre-built steps output stacktraces when aborted (QENG-7466)
4.13.1 - 2019-10-07
- Use correct platform variant for FIPS repo configs download (BKR-1616)
4.13.0 - 2019-09-16
- Host
enable_remote_rsyslog
method (QENG-7466)
4.12.0 - 2019-08-14
- redhatfips as a recognized platform (PE-27037)
4.11.1 - 2019-08-13
host.down?
's wait from a fibonacci to a constant wait (BKR-1595)
4.11.0 - 2019-07-22
- FIPS detection host method (BKR-1604)
- PassTest exception catching for standard reporting
4.10.0 - 2019-07-01
- Down & Up Checking to Host#reboot (BKR-1595)
4.9.0 - 2019-06-19
- SSH Connection failure backoff shortened (BKR-1599)
4.8.0 - 2019-04-17
- Support for Fedora >= 30 (BKR-1589)
- Codenames for Ubuntu 18.10, 19.04, and 19.10
- Remove "repos-pe" prefix for repo filenames
4.7.0 - 2019-04-17
- Provide for OpenSSL 1.1.x+ support
- enable Solaris10Sparc pkgutil SSL CA2 (IMAGES-844)
- update pry-byebug dependency 3.4.2->3.6 (BKR-1568)
- disabling hostkey checks for cisco hosts (QENG-7108)
- Change behavior of ruby versioning to accept job-parameter RUBY_VER
- Change subcommand pre-suite to install ruby 2.3.1
4.6.0 - 2019.03.07
- Codename for Debian 10 'Buster'
4.5.0 - 2019.01.23
- Do not mirror profile.d on Debian (BKR-1559)
4.4.0 - 2019.01.09
- Return root considerations for appending on nexus devices (BKR-1562)
- Permit user environment on osx-10.14 (BKR-1534)
- Add host helpers for working with files (BKR-1560)
- Replace ntpdate with crony on RHEL-8 (BKR-1555)
4.3.0 - 2018.12.12
- Use zypper to install RPM packages on SLES (PA-2336)
- Add only-fails capability to beaker (BKR-1523)
4.2.0 - 2018.11.28
BEAKER_HYPERVISOR
environment variable to choose the beaker-hostgenerator hypervisor
- Handling of vsh appended commands for cisco_nexus (BKR-1556)
- Acceptance tests: Add backoffs to other create_remote_file test
- Don't always start a new container with docker (can be reused between invocations of the provision and exec beaker subcommands) (BKR-1547)
- Recursively remove unpersisted subcommand options (BKR-1549)
4.1.0 - 2018.10.25
--preserve-state
flag will preserve a given host options hash across subcommand runs(BKR-1541)
- Added additional tests for EL-like systems and added 'redhat' support where necessary
- Test if puppet module is installed in '/' and avoid stripping of path seperator
4.0.0 - 2018-08-06
host.rsync_to
throwsBeaker::Host::CommandFailure
if rsync call fails (BKR-463)host.rsync_to
throwsBeaker::Host::CommandFailure
if rsync does not exist on remote system (BKR-462)host.rsync_to
now check through configured SSH keys to use the first valid one- Updated some
Beaker::Host
methods to always return aResult
object
- Adds
Beaker::Host#chown
,#chgrp
, and#ls_ld
methods (BKR-1499) #uninstall_package
host helper, to match#install_package
Host.uninstall_package
for FreeBSD- Now easily check a command's exit status by calling
Result.success?()
for a simple, truthy result. No need to validate the exit code manually.
#set_env
no longer calls#configure_type_defaults_on
beaker-puppet
DSL Extension Library has been formally split into a standard DSL Extension Library and removed as a dependency from Beaker. Please see our upgrade guidelines.- Beaker's Hypervisor Libraries have been removed as dependencies. Please see our upgrade guidelines.
PEDefaults
has been moved tobeaker-pe
3.37.0 - 2018-07-11
- Exit early on --help/--version/--parse-only arguments instead of partial dry-run
Beaker::Shared::FogCredentials.get_fog_credentials()
to parse .fog credential files
beaker-pe
is no longer automagically included. See the upgrade guide for more infobeaker-puppet
is no longer required as a dependency
3.36.0 - 2018-06-18
- Raise
ArgumentError
when passingrole = nil
toonly_host_with_role()
orfind_at_most_one_host_with_role()
- Use
install_package_with_rpm
inadd_el_extras
- Installation instructions for contributors
- Markdown formatting guidelines for
docs/
- Glossary for project jargon in
docs/concepts/glossary.md
- Use AIX 6.1 packages everywhere for puppet6
3.35.0 - 2018-05-16
- Report accurate location of generated smoke test
- Accept comma-separated tests for exec subcommand
- Added optional ability to use ERB in nodeset YAML files
3.34.0 - 2018-03-26
- Recursively glob the tests directory
- Codename for Ubuntu 18.04 'Bionic'
3.33.0 - 2018-03-07
- Use relative paths for beaker exec
3.32.0 - 2018-02-22
- Fully qualify sles ssh restart cmd
- Deprecated deploy_package_repo methods
- Configuration of host type in host_prebuilt_steps
- Added missing beaker options for subcommand passthorugh
3.31.0 - 2018-01-22
- Clean up ssh paranoid setting deprecation warnings
- Add macOS 10.13 support
3.30.0 - 2018-01-10
- Use
host.hostname
when combining options host_hash with host instance options
amazon
as a platform value
- Load project options from .beaker.yml
3.29.0 - 2017-11-16
- Adding default to read fog credentials
3.28.0 - 2017-11-01
- corruption of
opts[:ignore]
when usingrsync
3.27.0 - 2017-10-19
- support amazon as a platform
- add codenames for MacOS 10.13 and Ubuntu Artful
3.26.0 - 2017-10-05
- concept of
manual_test
andmanual_step