Comments (5)
Perhaps there's a middle-ground opportunity here:
goss --vars <(goss validate -g discovery.yaml --format discovery) validate
from goss.
hi @ekelali
Thats a great solution. It allows goss to be the one required tool (which is perfect in restricted environments).
from goss.
--format discovery
does not exist in Goss today. Someone would have to implement that before this ticket is closed.
There's --format json
but I don't think that meets @uk-bolly need.
from goss.
Thanks for the thorough explanation.
Reflecting on this, let's approach it from the other end and see where the gaps are.
Today goss can leverage external discovery tools as follows:
$ goss --vars <(ohai) validate
$ goss --vars <(facter -j) validate
doc (for the above): https://github.com/aelsabbahy/goss/blob/master/docs/manual.md#examples-2
These tools are dedicated to system discovery and have been around for quite some time, thus having quite a bit of maturity and a rich feature set (ex. pluggability). The same can be said for ansibles fact engine and its plugins.
To better understand this enhancement, where do those tools fall short today as an end user?
from goss.
@uk-bolly Does this mean this can be closed now?
Should there be a documentation update to show this example?
from goss.
Related Issues (20)
- https test's dont honor Status+Header if expected as "ok" if failed HOT 2
- kgoss - error: open .: is a directory
- semver-constraint usage with package version
- Latest version of goss removed --version option HOT 7
- Goss validation fails within a container while reading the process name in ubuntu16.04 HOT 6
- package scan format HOT 2
- Support querying snap packages HOT 1
- Support multiple valid values for the `file.mode` check HOT 3
- Prometheus goss_tests_run_{outcomes, duration} metric has wrong label if the goss suite has no errors/skipped tests HOT 3
- Syntax error: redirection unexpected HOT 6
- Command exec - multiple command in a single yaml file HOT 3
- GOSS_KUBECTL_OPTS not working with some kubectl args HOT 1
- Package Semver-Constraint Check - Printing warnings condition not met HOT 3
- test python package issue while use pip HOT 2
- goss does not see the listening port HOT 4
- Goss test fails during build but manually passes within image HOT 1
- concat *.yml and test HOT 1
- Add optional correction attribute to tests giving command to run on test failure HOT 3
- if statement returns "invalid memory address or nil pointer dereference" error HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goss.