Skip to content

Releases: avamia/kanrisuru

1.0.0

27 Apr 13:07
Compare
Choose a tag to compare
v1.0.0

bump version

1.0.0.beta1

27 Feb 22:54
01dc73f
Compare
Choose a tag to compare
  • 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

20 Feb 05:36
Compare
Choose a tag to compare
  • 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

20 Jan 21:37
Compare
Choose a tag to compare
  • Add nproc command with test cases.

0.16.2

19 Dec 05:46
Compare
Choose a tag to compare
  • 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 the Kanrisuru::Command instance
  • Move gpg_opts for zypper command into re-usable method
  • Add functional test cases for zypper command.

0.16.0

15 Dec 04:45
Compare
Choose a tag to compare
  • Fix append_array for the Kanrisuru::Command class with negated check on Array type.
  • Add to_f method for Kanrisuru::Command and Kanrisuru::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 to stub_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, and delete_user.

0.15.0

13 Dec 05:37
Compare
Choose a tag to compare
  • Add opts for ip command.
  • Refactor ip object commands into smaller methods. Refactor version for consistent use and stub ability in funcitonal test cases.
  • Add functional test cases for ip command.
  • Add append_flag_no to Kanrisuru::Command class. Adds no to value for falsey statements. The no 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

08 Dec 16:54
7bbc621
Compare
Choose a tag to compare
  • 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 separate Parser class.

0.13.0

07 Dec 07:03
Compare
Choose a tag to compare
  • 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

05 Dec 22:41
Compare
Choose a tag to compare
  • Add functional test cases for mount command.
  • Fix typos and command preperation for mount command.
  • Refactor os_package module into smaller modules for Kanrisuru::OsPackage::Collection, Kanrisuru::OsPackage::Define, and Kanrisuru::OsPackage::Include.
  • Add append_array to command 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.