Skip to content

The YAML era..

Compare
Choose a tag to compare
@aelsabbahy aelsabbahy released this 18 Feb 00:43
· 417 commits to master since this release

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
  • Added desc attribute, this attribute will be persisted when running goss 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