Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade go version to 1.19 to mitigate rapid reset CVE #1345

Merged
merged 9 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
go-version: 1.18
go-version: 1.19

- name: Generate Go sources, CRDs and schemas
run: |
Expand Down
2 changes: 1 addition & 1 deletion build-generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ trap 'onError' ERR
echo "Building generator"

cd "${BASE_DIR}/generator"
go generate ./...
go generate ./..
thepetk marked this conversation as resolved.
Show resolved Hide resolved
GOFLAGS="-buildvcs=false" go build -o build/generator
36 changes: 31 additions & 5 deletions generator/go.mod
Original file line number Diff line number Diff line change
@@ -1,16 +1,42 @@
module github.com/devfile/api/generator

go 1.13
go 1.19

require (
github.com/coreos/go-semver v0.3.0
github.com/elliotchance/orderedmap v1.3.0
github.com/go-toolsmith/astcopy v1.0.0
github.com/iancoleman/strcase v0.1.2
github.com/spf13/cobra v1.2.1
golang.org/x/tools v0.1.5
github.com/spf13/cobra v1.6.1
golang.org/x/tools v0.6.0
gomodules.xyz/orderedmap v0.1.0
k8s.io/apiextensions-apiserver v0.21.3
k8s.io/apimachinery v0.21.3
k8s.io/apiextensions-apiserver v0.26.10
k8s.io/apimachinery v0.26.10
sigs.k8s.io/controller-tools v0.6.2
)

require (
github.com/fatih/color v1.12.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/gobuffalo/flect v0.2.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/mattn/go-colorable v0.1.8 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/spf13/pflag v1.0.5 // indirect
golang.org/x/mod v0.9.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/klog/v2 v2.80.1 // indirect
k8s.io/utils v0.0.0-20221107191617-1a15be271d1d // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
)
68 changes: 44 additions & 24 deletions generator/go.sum

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions generator/vendor/github.com/elliotchance/orderedmap/go.mod

This file was deleted.

11 changes: 0 additions & 11 deletions generator/vendor/github.com/elliotchance/orderedmap/go.sum

This file was deleted.

8 changes: 0 additions & 8 deletions generator/vendor/github.com/fatih/color/go.mod

This file was deleted.

7 changes: 0 additions & 7 deletions generator/vendor/github.com/fatih/color/go.sum

This file was deleted.

29 changes: 29 additions & 0 deletions generator/vendor/github.com/go-logr/logr/.golangci.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions generator/vendor/github.com/go-logr/logr/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions generator/vendor/github.com/go-logr/logr/CONTRIBUTING.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading