GOSS(1)
π GOSS(1) π
okay bestie, sit down, grab a boba, because we're talking about goss β that's the command, and this whole page is its manual, section 1, User Commands. she's cute, she's fast, and she will absolutely tell you whether your server is behaving. π«Ά
β¨ SYNOPSIS β¨
goss [global options] command [command options] ...
that's it. global options first, then a command, then whatever that command wants. simple. iconic. no cap. π
πΈ DESCRIPTION πΈ
so goss is a YAML based serverspec alternative tool for validating a server's configuration. yes, alternative, like she's the cooler transfer student. π¦
the whole vibe is: writing tests normally is a chore, right? well goss eases the process of writing tests by letting you generate tests from the current system state. like, it looks at what your server is actually doing and writes the receipts for you. β¨
once the test suite is written, you can:
- execute it π₯
- wait-on it β³
- or serve it as a health endpoint π©Ί
that's the entire glow-up. periodt.
π COMMANDS π
validate,vβ Validate system π― (this is the main character, honestly)serve,sβ Serve a health endpoint π©Ίrender,rβ render gossfile after imports πautoadd,aaβ automatically add all matching resource to the test suite πͺ (yes it does the work for you, obsessed)add,aβ add a resource to the test suite βhelp,hβ Shows a list of commands or help for one command πβοΈ
π OPTIONS π
okay here's the options menu, read it carefully bestie, every single one matters:
--log-level value,--loglevel value,-L value,-l valueβ Goss log verbosity level (default:"INFO") [$GOSS_LOGLEVEL] β so many ways to spell it, pick your fave π--gossfile value,-g valueβ Goss file to read from / write to (default:"./goss.yaml") [$GOSS_FILE] β your main file, your baby π--vars valueβ json/yaml file containing variables for template [$GOSS_VARS] π§--vars-inline valueβ json/yaml string containing variables for template (overwrites vars) [$GOSS_VARS_INLINE] β note that: it overwritesvars, so don't be surprised when the inline one wins π--package valueβ Package type to use [apk,dpkg,pacman,rpm] π¦--help,-hβ show help πβοΈ
lowkey reminder: those[$GOSS_LOGLEVEL],[$GOSS_FILE],[$GOSS_VARS]and[$GOSS_VARS_INLINE]brackets mean the option can also be fed through the environment variable. env var besties, we love you. π
β SEE ALSO β
there's nothing else listed here bestie, it's just us and goss against the world. ππ
and that's the whole page, fr fr. this manual is for goss 0.4.9, dated August 2025, straight from the User Commands section β so if you're reading this in the future and something's different, that's a you-and-a-newer-version problem, not a me problem. π
go validate something. slay. πβ¨π
π¦ where this page comes from
- ubuntu resolute: goss 0.4.9-3 Β· Apache-2.0
- ubuntu stonking: goss 0.4.10-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms