Skip to content

Commit

Permalink
Merge pull request #102 from apenella/release-1.1.6
Browse files Browse the repository at this point in the history
release notes for v1.1.6
  • Loading branch information
apenella authored Jun 14, 2022
2 parents cab99e2 + 7e83e9c commit 6825bce
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 30 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v1.1.6

### Fixed
- Quote `Args` value on `AnsibleAdhocCmd`'s `String` method #91
- On default executor, set all parent process environment variables to `cmd.Env` when a custom env vars is defined #94
- Fix parsing of long lines in output #101

### Added
- `ExecutorTimeMeasurement` is a decorator defined on `github.com/apenella/go-ansible/pkg/execute`, that measures the duration of an execution, it receives an `Executor` which is measured the execution time #92
- Add `unreachable` state on task play results struct `AnsiblePlaybookJSONResultsPlayTaskHostsItem` #100

### Chanded
- `MockExecute` uses `github.com/stretchr/testify/mock` #92
- Examples' name are prefixed by `ansibleplaybook` or `ansibleadhoc`

### Removed
- `DefaultExecutor` does not measures the execution duration anymore. Instead of it, `ExecutorTimeMeasurement` must be used #92

## v1.1.5

### Added
Expand Down
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,33 @@ It supports the most of its options for each command.
<!-- code_chunk_output -->

- [go-ansible](#go-ansible)
- [Install](#install)
- [Upgrade to 1.x](#upgrade-to-1x)
- [Packages](#packages)
- [Adhoc](#adhoc)
- [Playbook](#playbook)
- [Execute](#execute)
- [DefaultExecute](#defaultexecute)
- [Custom executor](#custom-executor)
- [Measurements](#measurements)
- [Options](#options)
- [ansible adhoc and ansible-playbook common options](#ansible-adhoc-and-ansible-playbook-common-options)
- [Stdout Callback](#stdout-callback)
- [Results](#results)
- [Transformers](#transformers)
- [Default](#default)
- [JSON](#json)
- [Manage JSON output](#manage-json-output)
- [Examples](#examples)
- [License](#license)
- [Install](#install)
- [Upgrade to 1.x](#upgrade-to-1x)
- [Packages](#packages)
- [Adhoc](#adhoc)
- [Playbook](#playbook)
- [Execute](#execute)
- [DefaultExecute](#defaultexecute)
- [Custom executor](#custom-executor)
- [Measurements](#measurements)
- [Options](#options)
- [ansible adhoc and ansible-playbook common options](#ansible-adhoc-and-ansible-playbook-common-options)
- [Stdout Callback](#stdout-callback)
- [Results](#results)
- [Transformers](#transformers)
- [Default](#default)
- [JSON](#json)
- [Manage JSON output](#manage-json-output)
- [Examples](#examples)
- [License](#license)

<!-- /code_chunk_output -->

## Install

To install the latest stable version run the command below:
```
$ go get github.com/apenella/[email protected].5
$ go get github.com/apenella/[email protected].6
```

### Upgrade to 1.x
Expand Down
20 changes: 10 additions & 10 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## undefined
## v1.1.6

### Fixed
- Quote `Args` value on `AnsibleAdhocCmd`'s `String` method
- On default executor, set all parent process environment variables to `cmd.Env` when a custom env vars is defined

- Quote `Args` value on `AnsibleAdhocCmd`'s `String` method #91
- On default executor, set all parent process environment variables to `cmd.Env` when a custom env vars is defined #94
- Fix parsing of long lines in output #101

### Added
- `ExecutorTimeMeasurement` is a decorator defined on `github.com/apenella/go-ansible/pkg/execute`, that measures the duration of an execution, it receives an `Executor` which is measured the execution time
- Add `unreachable` state on task play results struct `AnsiblePlaybookJSONResultsPlayTaskHostsItem`
- `ExecutorTimeMeasurement` is a decorator defined on `github.com/apenella/go-ansible/pkg/execute`, that measures the duration of an execution, it receives an `Executor` which is measured the execution time #92
- Add `unreachable` state on task play results struct `AnsiblePlaybookJSONResultsPlayTaskHostsItem` #100

### Chanded
- `MockExecute` uses `github.com/stretchr/testify/mock`
- Examples' name is prefixed by `ansibleplaybook` or `ansibleadhoc`
- `MockExecute` uses `github.com/stretchr/testify/mock` #92
- Examples' name are prefixed by `ansibleplaybook` or `ansibleadhoc`

### Removed
- `DefaultExecutor` does not measures the execution duration anymore. Instead of it, `ExecutorTimeMeasurement` must be used

- `DefaultExecutor` does not measures the execution duration anymore. Instead of it, `ExecutorTimeMeasurement` must be used #92

0 comments on commit 6825bce

Please sign in to comment.