Skip to content

Releases: goss-org/goss

v0.1.1

07 Mar 16:11
Compare
Choose a tag to compare

Features

Config Changes

  • #44
    • Changed desc -> title attribute
    • Add meta to resources, which is an arbitrary map[string]interface{}
    • Preserve title and meta when doing a resource add on an existing resource
    • Add title and meta to JSON output

Bugfix

  • #41: Fix failing regex that started with backslash \

The YAML era..

18 Feb 00:43
Compare
Choose a tag to compare

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

v0.0.22

22 Jan 19:31
Compare
Choose a tag to compare

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

22 Jan 19:19
Compare
Choose a tag to compare
release v0.0.21

v0.0.20

19 Jan 17:04
Compare
Choose a tag to compare

Features:

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

18 Jan 22:16
Compare
Choose a tag to compare

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

09 Jan 20:14
Compare
Choose a tag to compare

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

07 Jan 06:09
Compare
Choose a tag to compare

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

v0.0.16

16 Nov 14:59
Compare
Choose a tag to compare
  • Fix tcp6 errors #24

v0.0.15

04 Nov 05:12
Compare
Choose a tag to compare

Fix upstart service running check #15