Skip to content

feat(gcp)!: Make Listing Enabled Services failures not block the sync#10699

Merged
kodiakhq[bot] merged 8 commits intocloudquery:mainfrom
bbernays:overhaul-enabled_services_only
May 15, 2023
Merged

feat(gcp)!: Make Listing Enabled Services failures not block the sync#10699
kodiakhq[bot] merged 8 commits intocloudquery:mainfrom
bbernays:overhaul-enabled_services_only

Conversation

@bbernays
Copy link
Copy Markdown
Collaborator

Summary

We currently require a successful ListServices for all projects in the org. If a user cannot make the call for a single project then the entire sync will fail. This PR changes the listing to be a best effort, which means that if CQ is not able to make the ListServices call it will just assume that all services are enabled

@bbernays bbernays requested review from disq and yevgenypats as code owners May 10, 2023 18:12
@cq-bot cq-bot added the gcp label May 10, 2023
@BenitezDev
Copy link
Copy Markdown

I think it is a useful solution, in my case it would help a lot

@bbernays bbernays added the automerge Automatically merge once required checks pass label May 15, 2023
@kodiakhq kodiakhq bot merged commit 5b49481 into cloudquery:main May 15, 2023
kodiakhq bot pushed a commit that referenced this pull request May 25, 2023
🤖 I have created a release *beep* *boop*
---


## [9.0.0](plugins-source-gcp-v8.5.1...plugins-source-gcp-v9.0.0) (2023-05-25)


### ⚠ BREAKING CHANGES

* This release introduces an internal change to our type system to use [Apache Arrow](https://arrow.apache.org/). This should not have any visible breaking changes, however due to the size of the change we are introducing it under a major version bump to communicate that it might have some bugs that we weren't able to catch during our internal tests. If you encounter an issue during the upgrade, please submit a [bug report](https://github.com/cloudquery/cloudquery/issues/new/choose).
* **gcp:** Initialization concurrency ([#10700](#10700))
* **gcp:** Make Listing Enabled Services failures not block the sync ([#10699](#10699))

### Features

* **deps:** Upgrade to Apache Arrow v13 (latest `cqmain`) ([#10605](#10605)) ([a55da3d](a55da3d))
* **gcp:** Enable Better Logging for when `enabled_services_only` fails ([#10695](#10695)) ([a849aea](a849aea))
* **gcp:** Initialization concurrency ([#10700](#10700)) ([0c9f510](0c9f510))
* **gcp:** Make Listing Enabled Services failures not block the sync ([#10699](#10699)) ([5b49481](5b49481))
* Update to use [Apache Arrow](https://arrow.apache.org/) type system ([612d3ea](612d3ea))


### Bug Fixes

* **deps:** Update module github.com/cloudquery/plugin-pb-go to v1.0.8 ([#10798](#10798)) ([27ff430](27ff430))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@bbernays bbernays deleted the overhaul-enabled_services_only branch June 1, 2023 14:53
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.

5 participants