yq/scripts
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
..
acceptance.sh shellcheck 2021-07-18 17:05:12 +10:00
build-small-yq.sh feat: K8S KYAML output format support (#2560) 2026-01-01 15:14:53 +11:00
build-tinygo-yq.sh feat: K8S KYAML output format support (#2560) 2026-01-01 15:14:53 +11:00
bump-version.sh Attempt to use the latest snapcraft build 2024-02-02 14:49:41 +11:00
check.sh chore(check): use golangci-lint from GOPATH/bin as first option 2025-05-03 11:23:55 +10:00
compare-jq.sh Refining add op 2025-06-12 15:41:27 +10:00
compare-versions-output.sh Refining add op 2025-06-12 15:41:27 +10:00
copy-docs.sh Added XML decoder (#1044) 2021-12-21 15:02:07 +11:00
coverage.sh Cursor generated unit tests 2025-10-12 15:38:40 +11:00
devtools.sh Bump gosec version 2025-12-20 19:15:36 +11:00
extract-checksum.sh Spellig with cspell 2023-09-19 10:43:11 +10:00
format.sh Bumping to go1.18, bumping dev tools 2022-03-28 14:18:55 +11:00
generate-man-page-md.sh Spellig with cspell 2023-09-19 10:43:11 +10:00
generate-man-page.sh Spellig with cspell 2023-09-19 10:43:11 +10:00
install-man-page.sh Update install-man-page.sh 2021-11-21 17:46:49 +11:00
release-deb.sh Spellig with cspell 2023-09-19 10:43:11 +10:00
secure.sh feat: K8S KYAML output format support (#2560) 2026-01-01 15:14:53 +11:00
setup.sh Task: Simplify development 2017-09-23 08:37:34 +10:00
shunit2 feat: K8S KYAML output format support (#2560) 2026-01-01 15:14:53 +11:00
spelling.sh Switch to uk (#2557) 2025-12-20 19:11:48 +11:00
test-docker.sh Fixed docker permission issue #1014 2021-12-02 20:06:51 +11:00
test.sh Debug github build 2022-01-27 12:47:06 +11:00
xcompile.sh chore(release): add windows arm64 binary target for release 2025-05-03 11:23:55 +10:00