grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.96k stars 3.46k forks source link

chore(operator): Bump netlify environment #14641

Closed periklis closed 3 weeks ago

periklis commented 3 weeks ago

What this PR does / why we need it: Bingo environment expected go1.22 to install gen-crd-api-reference-docs-v0.0.3 but netlify is configured with go1.20. Solves:

10:51:17 AM: I1024 08:51:17.620955    6274 main.go:155] parsing go packages in directory github.com/grafana/loki/operator/api/loki/
10:51:17 AM: panic: runtime error: invalid memory address or nil pointer dereference
10:51:17 AM: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x80bf14]
10:51:17 AM: goroutine 1 [running]:
10:51:17 AM: k8s.io/gengo/parser.(*Builder).AddDirRecursive(0xc00014f720, {0x7ffc609cd9b7, 0x2a})
10:51:17 AM:    /opt/buildhome/.gimme_cache/gopath/pkg/mod/k8s.io/gengo@v0.0.0-20201203183100-97869a43a9d9/parser/parse.go:234 +0x114
10:51:17 AM: main.parseAPIPackages({0x7ffc609cd9b7?, 0x2a?})
10:51:17 AM:    /opt/buildhome/.gimme_cache/gopath/pkg/mod/github.com/!via!q/gen-crd-api-reference-docs@v0.0.3/main.go:229 +0x49
10:51:17 AM: main.main()
10:51:17 AM:    /opt/buildhome/.gimme_cache/gopath/pkg/mod/github.com/!via!q/gen-crd-api-reference-docs@v0.0.3/main.go:156 +0x208
10:51:17 AM: make: *** [Makefile:317: docs/operator/api.md] Error 2

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Updates also the NODE_VERSION to use a modern and supported nodejs version.

Checklist