yq/acceptance_tests
Robin H. Johnson c6029376a5
feat: K8S KYAML output format support (#2560)
* feat: K8S KYAML output format support

Reference: https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/5295-kyaml/README.md
Co-authored-by: Codex <codex@openai.com>
Generated-with: OpenAI Codex CLI (partial)
Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>

* build: gomodcache/gocache should not be committed

Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>

* chore: fix spelling of behaviour

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

* build: pass GOFLAGS to docker to support buildvcs=false

In trying to develop the KYAML support, various tests gave false
positive results because they made assumptions about Git functionality
Make it possible to avoid that by passing GOFLAGS='-buildvcs=false' to
to Makefile.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

* doc: cover documentScenarios for tests

Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>

* build: exclude go caches from gosec

Without tuning, gosec scans all of the vendor/gocache/gomodcache, taking
several minutes (3m35 here), whereas the core of the yq takes only 15
seconds to scan.

If we intend to remediate upstream issues in future; add a seperate
target to scan those.

Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>

---------

Signed-off-by: Robin H. Johnson <rjohnson@coreweave.com>
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Co-authored-by: Codex <codex@openai.com>
2026-01-01 15:14:53 +11:00
..
bad_args.sh Spellig with cspell 2023-09-19 10:43:11 +10:00
basic.sh Do not panic when StdIn is closed (#1867) 2023-11-18 12:20:12 +11:00
completion.sh Fix zsh completion (#1108) 2022-02-14 08:03:24 +11:00
empty.sh Refactored decoder responsibilities (#1402) 2022-10-28 14:16:46 +11:00
flags.sh String interpolation! #1149 2024-03-05 14:10:12 +11:00
front-matter.sh Split printer 2021-10-30 10:04:41 +11:00
header-processing-off.sh Added examples of header-preprocess needing to be turned off 2022-09-30 09:36:38 +10:00
inputs-format-auto.sh Draft: Toml (#1439) 2023-03-26 10:59:15 +11:00
inputs-format.sh feat: K8S KYAML output format support (#2560) 2026-01-01 15:14:53 +11:00
leading-separator.sh Fix typos (#1798) 2023-09-26 14:18:18 +10:00
load-file.sh Updating golanglint 2025-05-03 16:34:21 +10:00
nul-separator.sh Add `--nul-output|-0` flag to separate element with NUL character (#1550) 2023-03-29 09:51:55 +11:00
output-format.sh feat: K8S KYAML output format support (#2560) 2026-01-01 15:14:53 +11:00
pipe.sh Debug github build 2022-01-27 13:24:05 +11:00
pretty-print.sh Split printer 2021-10-30 10:04:41 +11:00
shebang.sh Can shebang yq scripts! #1851 2024-02-16 10:48:07 +11:00
split-printer.sh Bumping goccy 2025-01-12 14:13:31 +11:00