Releases: goss-org/goss
v0.1.1
The YAML era..
Features
Yaml
- Added YAML support and set it as the default.
- If you would like the old behavior of JSON default
export GOSS_FILE=./goss.json
- If you would like the old behavior of JSON default
- Added
desc
attribute, this attribute will be persisted when runninggoss add
(think of it as a comment)
Complex asserts
- Example:
{"uid": {"and": [{"gt": 50}, {"lt":100}]}
"uid betwen 50 and 100" - Support for 13 Gomega matchers
- Convert the following attributes to numeric. This allows for numeric asserts
- user.uid
- user.gid
- group.gid
- command.exit-status
- String attributes will work, but print deprecation warning, to migrate run:
sed -ri 's/("(uid|gid|exit-status)": )"(.*)"/\1\3/g' goss.json
- See manual for more information
Misc
- Smaller binaries, compressed with upx:
- amd64: 7.34MB -> 2.21 MB
- 386: 5.95MB -> 2.02 MB
v0.0.22
Features:
- Drop CGO to avoid glibc and cross-compiling complexities
- Added 386 binary to release
WARNING: If you are upgrading from v0.0.16 or earlier you and use addr you will run into an error with the IP attribute. Either manually convert it to an array of strings, or run the following on your existing goss.json files to migrate it:
sed -ri 's/("ip": )(".*")/\1[\2]/' goss.json
v0.0.21
release v0.0.21
v0.0.20
Features:
- Support for alpine linux
WARNING: If you are upgrading from v0.0.16 or earlier you and use addr you will run into an error with the IP attribute. Either manually convert it to an array of strings, or run the following on your existing goss.json files to migrate it:
sed -ri 's/("ip": )(".*")/\1[\2]/' goss.json
v0.0.19
Features:
- Addr, DNS, and Command
--timeout
flag changed to be in a more human readable format.
Instead of--timeout 1000
now you can just run--timeout 1s
WARNING: If you are upgrading from v0.0.16 or earlier you and use addr you will run into an error with the IP attribute. Either manually convert it to an array of strings, or run the following on your existing goss.json files to migrate it:
sed -ri 's/("ip": )(".*")/\1[\2]/' goss.json
v0.0.18
WARNING: If you are upgrading from v0.0.16
or earlier you and use addr
you will run into an error with the IP attribute. Either manually convert it to an array of strings, or run the following on your existing goss.json
files to migrate it:
sed -ri 's/("ip": )(".*")/\1[\2]/' goss.json
Features:
- Allow user to specify --timeout for addr, dns, and command.
- Added timeout to command and set the default command timeout to 10 seconds.
v0.0.17
WARNING: This new version is not backwards compatible with old goss.json files, run the following on your existing files to migrate them:
sed -ri 's/("ip": )(".*")/\1[\2]/' goss.json
Enhancement:
- Port check now supports multiple IPs. #30
Bugfix:
- Add workaround for goss hanging over ssh when no tty/stdin is present. Using
-g
will force goss to NOT read from stdin when running over ssh #28