Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
Upgrades Go to `1.19`, `golang.org/x/tools` to `v0.1.12`, and
`github.com/crossplane/terrajet` to `v0.4.2`, and then regenerates code
with `make generate`.

`make generate` fails at the latest main branch:

```
$ make generate
17:08:53 [ .. ] verify dependencies have expected content
all modules verified
17:08:55 [ OK ] go modules dependencies verified
17:08:55 [ .. ] generating provider schema for hashicorp/google 4.18.0
17:08:58 [ OK ] generating provider schema for hashicorp/google 4.18.0
17:08:58 [ .. ] go generate darwin_arm64
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x50 pc=0x105d28f0c]

goroutine 1 [running]:
github.com/crossplane/terrajet/pkg/types.init.0()
        /Users/micnncim/src/github.com/crossplane-contrib/provider-jet-gcp/.work/pkg/pkg/mod/github.com/crossplane/[email protected]/pkg/types/reference.go:73 +0x10c
exit status 2
apis/generate.go:33: running "go": exit status 1
generate: open /Users/micnncim/src/github.com/crossplane-contrib/provider-jet-gcp/apis/cloudplatform/v1alpha2/zz_folder_types.go: no such file or directory
17:09:01 [FAIL]
make[1]: *** [build/makelib/golang.mk:271: go.generate] Error 1
make: *** [build/makelib/common.mk:419: generate] Error 2
```

System and Go information is below:

```
$ go version
go version go1.19 darwin/arm64
```

Signed-off-by: micnncim <[email protected]>
  • Loading branch information
micnncim committed Sep 25, 2022
1 parent 40c122f commit 0fe03fa
Show file tree
Hide file tree
Showing 55 changed files with 2,121 additions and 1,975 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:

env:
# Common versions
GO_VERSION: '1.17'
GOLANGCI_VERSION: 'v1.31'
GO_VERSION: '1.19'
GOLANGCI_VERSION: 'v1.49'
DOCKER_BUILDX_VERSION: 'v0.4.2'

# Common users. We can't run a step 'if secrets.AWS_USR != ""' but we can run
Expand Down
100 changes: 100 additions & 0 deletions apis/cloudplatform/v1alpha2/zz_folder_terraformed.go

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

Loading

0 comments on commit 0fe03fa

Please sign in to comment.