Update dependency goss-org/goss to v0.4.2 #18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.4.0-rc.1->v0.4.2Release Notes
goss-org/goss (goss-org/goss)
v0.4.2Compare Source
What's Changed
Full Changelog: goss-org/goss@v0.4.1...v0.4.2
v0.4.1Compare Source
Features
What's Changed
Full Changelog: goss-org/goss@v0.4.0...v0.4.1
v0.4.0Compare Source
Features
Thanks to all the contributors who have helped with this.
Summary:
echo "3"is less than 5.Matcher change
v4 introduced the ability to compare different types and more advanced string matching. See matchers section in the manual for more information.
For example:
This conversion also allows treating an io.Reader (memory efficient line-by-line parsing) as a whole string (when compared with a string). This has the benefit of showing the full command output, which was a long-requested feature. For example:
Breaking changes
file.Contains->file.Contents-qf "%|EPOCH?{%{EPOCH}:}:{}|%{VERSION}-%{RELEASE}), this opens the door for proper rpm version comparison in the futureuser.Groups) duplicate entries will raise an error if they don't exist in the system.In goss 3.X this would succeed:
Now it will throw an error unless groups actually contain 2 copies of "wheel" in its response array from the system.
You can mimic the old behavior by modifying the test as follows:
For example, this no longer works:
New way:
Changes
-o include_rawwill show the non-transformed valueequalmatcher added to do strict type comparison (e.x. string to string)contain-substringhave-patterns- This mimics the existing default behavior of file contents and command outputcontain-elements- checks that an array value matches a set of matcherscat -E /proc/<PID>/commto avoid whitespace issues (closes #762)matcher.as-readerthis allows the matcher string to behave as an io.Reader output. Can be useful for testingjson_onlineoutput format, use:goss v -f json -o onelinevfs-optssupport (#826)v0.4.0-rc.3Compare Source
Features
Special thanks to @matsuo for fixing the darwin/windows alpha release process
Summary:
echo "3"is less than 5.Since v0.4.0-rc.1
vfs-opts(#826)mount.optsbreaking change when upgrading from v0.3.XMatcher change
v4 introduced the ability to compare different types and more advanced string matching. See matchers section in the manual for more information.
For example:
This conversion also allows treating an io.Reader (memory efficient line-by-line parsing) as a whole string (when compared with a string). This has the benefit of showing the full command output, which was a long-requested feature. For example:
Breaking changes
file.Contains->file.Contents-qf "%|EPOCH?{%{EPOCH}:}:{}|%{VERSION}-%{RELEASE}), this opens the door for proper rpm version comparison in the futureuser.Groups) duplicate entries will raise an error if they don't exist in the system.In goss 3.X this would succeed:
Now it will throw an error unless groups actually contain 2 copies of "wheel" in its response array from the system.
You can mimic the old behavior by modifying the test as follows:
For example, this no longer works:
New way:
Changes
-o include_rawwill show the non-transformed valueequalmatcher added to do strict type comparison (e.x. string to string)contain-substringhave-patterns- This mimics the existing default behavior of file contents and command outputcontain-elements- checks that an array value matches a set of matcherscat -E /proc/<PID>/commto avoid whitespace issues (closes #762)matcher.as-readerthis allows the matcher string to behave as an io.Reader output. Can be useful for testingjson_onlineoutput format, use:goss v -f json -o onelinev0.4.0-rc.2Compare Source
Features
Summary:
echo "3"is less than 5.Since v0.4.0-rc.1
vfs-opts(#826)mount.optsbreaking change when upgrading from v0.3.XMatcher change
v4 introduced the ability to compare different types and more advanced string matching. See matchers section in the manual for more information.
For example:
This conversion also allows treating an io.Reader (memory efficient line-by-line parsing) as a whole string (when compared with a string). This has the benefit of showing the full command output, which was a long-requested feature. For example:
Breaking changes
file.Contains->file.Contents-qf "%|EPOCH?{%{EPOCH}:}:{}|%{VERSION}-%{RELEASE}), this opens the door for proper rpm version comparison in the futureuser.Groups) duplicate entries will raise an error if they don't exist in the system.In goss 3.X this would succeed:
Now it will throw an error unless groups actually contain 2 copies of "wheel" in its response array from the system.
You can mimic the old behavior by modifying the test as follows:
For example, this no longer works:
New way:
Changes
-o include_rawwill show the non-transformed valueequalmatcher added to do strict type comparison (e.x. string to string)contain-substringhave-patterns- This mimics the existing default behavior of file contents and command outputcontain-elements- checks that an array value matches a set of matcherscat -E /proc/<PID>/commto avoid whitespace issues (closes #762)matcher.as-readerthis allows the matcher string to behave as an io.Reader output. Can be useful for testingjson_onlineoutput format, use:goss v -f json -o onelineConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.