Releases: avamia/kanrisuru
Releases · avamia/kanrisuru
1.0.0
1.0.0.beta1
- Add parallel mode for cluster. Allows hosts to run commands concurrently, reducing time it takes due to the high I/O blocking nature of the network requests.
- Add test cases for cluster parallel mode.
- Clean up methods on cluster class to use map and each methods in a simplified manner.
- Remove /spec dir from codecoverage.
0.20.0
- Allow hosts to be connected via proxy host. This is much like using a bastion / jump server.
- Add integration test cases for proxy host connection.
0.17.0
- Add nproc command with test cases.
0.16.2
- Organize functional ip specs
- Log in realtime, debug output the stdout from the remote server, as opposed to waiting until after the command is done.
- Fix the
opensuse_leap
for the stubnetwork rspec helper. - Refactor and cleanup the
append_array
method for theKanrisuru::Command
instance - Move
gpg_opts
forzypper
command into re-usable method - Add functional test cases for
zypper
command.
0.16.0
- Fix
append_array
for theKanrisuru::Command
class with negated check on Array type. - Add
to_f
method forKanrisuru::Command
andKanrisuru::Result
with unit test cases. - Refactor
lsblk_version
into seperate command namespace with it's own parser. - Add functional test cases for several core modules.
- Add
return_value
option tostub_command!
method for non-result return methods. These are few and far between, but need to be tested appropriately. - Refactor several core modules with use of
command
calls for legibility. - Fix several issues with
create_user
,update_user
, anddelete_user
.
0.15.0
- Add opts for
ip
command. - Refactor
ip
object commands into smaller methods. Refactorversion
for consistent use and stub ability in funcitonal test cases. - Add functional test cases for
ip
command. - Add
append_flag_no
toKanrisuru::Command
class. Adds no to value forfalsey
statements. Theno
flag is commonly appended to indicate a deactived state for many arguments passed to programs on the command line. - Fix test case
transfer
by appending the osname to the filename to avoid parallel overwrite.
0.14.0
- Add additional unit test cases for
util
methods. - Refactor the
core
module commands into smaller files, with each command split up. Also refactor parsing code into separateParser
class.
0.13.0
- Add functional test cases for
Kanrisuru::Result
class. - Refactor integration tests for better parallelization with the
parallel_tests
gem. This dropped overall test time from 35 minutes, to 22 minutes after first integration with 1 processor. After scaling upto 8 core machine, the run time dropped to 16 minutes, but was still sending the entire test file to a processor. By splitting up each host test into a seperate file, the run time dropped to a little over 9 minutes. There's probably a way to optimize which test gets run together, but overall a much better scenario.
0.12.0
- Add functional test cases for
mount
command. - Fix typos and command preperation for
mount
command. - Refactor
os_package
module into smaller modules forKanrisuru::OsPackage::Collection
,Kanrisuru::OsPackage::Define
, andKanrisuru::OsPackage::Include
. - Add
append_array
tocommand
class for easy string to array conversion for variable option passing. - Cleanup bad coding styles.
- Add parallel testing support for long running integration tests on remote servers.
- Refactor specs to use variable spec_dir path for parallel testing on remote hosts with possible overwriting at the same time.