Skip to content

Commit

Permalink
Add new options to Command resource (goss-org#434)
Browse files Browse the repository at this point in the history
* Add optional exec attribute to command definitions
Allow skip attribute in command definitions

Documentation changes for new command exec attribute, and skip attribute

Update CI tests to match changes to the command exec attribute

* Disable dnstest (goss-org#440)

* Disable dnstest.io tests, seems to be down

* Update md5 for latest docker images

* Add tests for command and skip
Fix problem with skipping first test
Fix where commands add exec attribute automatically

* gofmt loves tabs and vertical space
  • Loading branch information
sshipway authored and Peter Mounce committed Jun 25, 2019
1 parent 7b7b59c commit 2cfffd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ service:
file:
/var/www/html:
filetype: directory
exists: true
exists: true
```

If you try to validate this file, it will **only** run the second `file` test:
Expand Down Expand Up @@ -371,7 +371,7 @@ file:
exists: true
/var/www/html:
filetype: directory
exists: true
exists: true
service:
httpd:
Expand Down Expand Up @@ -440,7 +440,7 @@ command:
# required attributes
exit-status: 0
# defaults to hash key
exec: "go version"
exec: "go version"
# optional attributes
stdout:
- go version go1.6 linux/amd64
Expand Down

0 comments on commit 2cfffd0

Please sign in to comment.