Skip to content

feat(gcp): Auto generate services list#5961

Merged
kodiakhq[bot] merged 4 commits intocloudquery:mainfrom
erezrokah:feat/gcp_auto_gen_services_list
Jan 3, 2023
Merged

feat(gcp): Auto generate services list#5961
kodiakhq[bot] merged 4 commits intocloudquery:mainfrom
erezrokah:feat/gcp_auto_gen_services_list

Conversation

@erezrokah
Copy link
Copy Markdown
Member

Summary

Fixes #5957.

We need to put the services file in both the code gen module and the GCP client as they both use it. Previously code gen referenced the GCP client directly which prevents auto generation of the services file.

It should be easier to review this once #5958 is merged.

Added a new makefile target as we should first discover the services, then run the codegen

@erezrokah
Copy link
Copy Markdown
Member Author

We should first merge #5958 and then rebase, to make it easier to review this PR

@erezrokah erezrokah force-pushed the feat/gcp_auto_gen_services_list branch 2 times, most recently from 51286f7 to 9466dc8 Compare December 28, 2022 16:52
@erezrokah erezrokah force-pushed the feat/gcp_auto_gen_services_list branch from 9466dc8 to af94f0c Compare January 3, 2023 09:18
@erezrokah erezrokah added automerge Automatically merge once required checks pass and removed blocked labels Jan 3, 2023
@kodiakhq kodiakhq bot merged commit 0467de5 into cloudquery:main Jan 3, 2023
kodiakhq bot pushed a commit that referenced this pull request Jan 3, 2023
🤖 I have created a release *beep* *boop*
---


## [5.4.0](plugins-source-gcp-v5.3.1...plugins-source-gcp-v5.4.0) (2023-01-03)


### Features

* **gcp-codegen:** Make ListFunction optional ([#5971](#5971)) ([5717f05](5717f05))
* **gcp-resources:** Add AppEngine resources ([#5972](#5972)) ([d6b6c6a](d6b6c6a))
* **gcp-resources:** Add Artifact Registry ([#6020](#6020)) ([76faa06](76faa06))
* **gcp-resources:** Add Bare Metal Solution ([#6044](#6044)) ([9a80b27](9a80b27))
* **gcp-resources:** Add Batch ([#6128](#6128)) ([43cd3be](43cd3be))
* **gcp-resources:** Add BeyondCorp ([#6133](#6133)) ([48aafd0](48aafd0))
* **gcp-resources:** Add Vertex-AI ([#5762](#5762)) ([d22b69d](d22b69d))
* **gcp:** Auto generate services list ([#5961](#5961)) ([0467de5](0467de5))


### Bug Fixes

* **deps:** Update google.golang.org/genproto digest to f9683d7 ([#6170](#6170)) ([0df29be](0df29be))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.14.0 ([#6025](#6025)) ([35b2cfc](35b2cfc))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.15.0 ([#6071](#6071)) ([684b525](684b525))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.15.1 ([#6079](#6079)) ([650659c](650659c))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.16.0 ([#6098](#6098)) ([7bacdf3](7bacdf3))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.16.1 ([#6214](#6214)) ([53b2415](53b2415))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.17.0 ([#6256](#6256)) ([b19f6cd](b19f6cd))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(gcp-codegen): Don't hard code GCP APIs list

4 participants