v0.3.12
Features
Special thanks to @petemounce and @pedroMMM for their contributions!
In this release
- OSX/Windows binaries (alpha), these are community supported, see: platform-feature-parity
- Add sprig templating language, see: doc
Since v0.3.0
- Increase buffer size to 10MB to handle larger file/url lines (#583)
http
- Host header works correctly as a request-header (#565)dgoss
- Honor ${GOSS_FILE} when copying back from container to host (#579)dgoss
- Collect the logs regardless of GOSS_FILE_STRATEGY (#582)- Releases now contain sha256 checksums
- Enhancements to allow running goss as a library (544)[https://github.com//issues/544#issuecomment-585347171]
- Fix udp reachable check (#545)
- [#439] Add --vars-inline that is capable of overwriting --vars on the CLI (#534)
- Correct Debian package discovery (#535)
- fix(file): Correctly report when goss does not have correct permissions (#531)
- Breaking Change:
http
Changed attributeheader
->headers
to be more consistent json
output now supports-o pretty
and behaves likejson_oneline
.json_oneline
will be deprecated in the futureaddr
- Addlocal-address
config attribute (#344)dns
- Modifyserver
attribute to support optional portserver:port
(#378)dgoss
-docker logs
routed to stderr to not interfere with test output (#359)dgoss
- Allow retaining container logs$CONTAINER_LOG_OUTPUT
(#519)dgoss
- Allow overriding default goss file name using$GOSS_FILE
(#454)- matcher - Add Support for
semver-constraint
matcher (#508) - kgoss added to
extras/
folder. kubectl wrapper to test containers in Kubernetes (#465) - Add
request-header
and responseheader
attributes added to http test (#496 / #498) - Add
usage
attribute to mount test (#503) - Add
toUpper
andtoLower
function to templates (#505) - Fix - Using
exec
on command test no longer clutters command ID/test output (#495) - dgoss - Improve health check and file permissions (#473)
- Fix systemd service implementation to not fallback to sysv (#319) (#374)
- Add optional
exec
attribute to command test - Add optional
skip
attribute to all tests - Fix DNS PTR for IPv6 (#428)
- Invalid CLI flags return non-0 exit status
- dcgoss added to
extras/
folder - Breaking Change: Added new
--format-options,-o
flag doc--format nagios_verbose
becomes--format nagios -o verbose
- Breaking Change: Add more specific filetypes: character-device/block-device/pipe/socket to file resource
- Add MTU check to interface resource
- Add basic auth for http resource doc
- Trying to import a non-existant gossfile will now throw an error
- dgoss SELinux compat added volume
:z
mount flag - Increase buffer size to 1MB to handle larger file/url lines (#351)
- Adding ARM architecture release (#275)
- Add the ability to run dgoss when the docker daemon is not local. (#271)
- Fix bug in matching resource (#280)
- Upgrade to go 1.9
- Fix spelling of resolveable -> resolvable, keep backwards compatibility with old name (#284)
- Add
--format json_oneline
output #265 - Fix race condition with process validator (#268)
- Support
service.override
file for upstrat (#245) - Add sha-256 file checksum support doc
- Add matching resource doc
- Add Support for
have-key-with-value
gomega matcher - Add support for vars file (GOSS_VARS) to dgoss doc
- Add CAA record support for DNS.
- Add
--format silent
output (#216) - Add
regexMatch
function to templates (#219) - Add glob pattern support for gossfile import (#222)
- Add gomega
have-key
function (#224) - Fallback to using
getent
for file owner/group lookup when uid/gid not in /etc/passwd (#210) - Fix http connection leak (#221)
- Escape XML in JUnit (#203)
- Add dgoss docker wrapper to ease docker testing
- Add
getEnv
andreadFile
functions to templates doc - Add
--color
flag to force color mode - Template support doc
goss render
now has a-d
debug flag to aid in template debugginggoss validate
andgoss render
now support--vars
to provide template vars
- Fix test count in --format documentation output