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

chore: restore generating integrations:v1alpha #2037

Merged

Conversation

quartzmo
Copy link
Member

refs: #2014

Comment on b/286436239 from Integrations team: "I have reverted the change that is expected to cause this break".

@quartzmo quartzmo requested a review from a team as a code owner June 21, 2023 22:51
@quartzmo quartzmo added the automerge Merge the pull request once unit tests and other checks pass. label Jun 21, 2023
@gcf-merge-on-green gcf-merge-on-green bot merged commit efba8fa into googleapis:main Jun 21, 2023
4 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jun 21, 2023
@quartzmo quartzmo deleted the integrations-v1alpha-restore branch June 21, 2023 23:11
quartzmo added a commit to quartzmo/google-api-go-client that referenced this pull request Jun 26, 2023
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 26, 2023
refs: #2037
refs: #2014

Unfortunately, reinstating `integrations/v1alpha` broke the build again. Therefore I will revert PR #2037 and skip it again in the generation.

```
2023/06/26 07:09:48 Generating API integrations:v1alpha
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xd8 pc=0x6c06c7]

goroutine 1 [running]:
main.(*Method).NewBodyArg(0xc0004674a0?, 0xc02b641590)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:2437 +0x27
main.(*Method).NewArguments(0xc0001fdc20)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:2430 +0x297
main.(*Method).generateCode(0xc0001fdc20)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:1835 +0x236
main.(*API).generateResourceMethods(0xc00024c630, 0xc02657e320)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:1596 +0x1aa
main.(*API).generateResourceMethods(0xc00024c630, 0xc02657e0f0)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:1599 +0x1f8
main.(*API).generateResourceMethods(0xc00024c630, 0xc02657e0a0)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:1599 +0x1f8
main.(*API).GenerateCode(0xc00024c630)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:825 +0x2b3c
main.(*API).WriteGeneratedCode(0xc00024c630)
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:578 +0x206
main.main()
	/tmpfs/src/github/google-api-go-client/google-api-go-generator/gen.go:148 +0x336
make: *** [Makefile:12: all] Error 2
2023/06/26 07:09:48 unable to generate discovery clients: exit status 2
exit status 1
cleanup
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants