Skip to content

feat(gcp-resources): Add Artifact Registry#6020

Merged
erezrokah merged 3 commits intomainfrom
feat/gcp_artifactregistry
Dec 29, 2022
Merged

feat(gcp-resources): Add Artifact Registry#6020
erezrokah merged 3 commits intomainfrom
feat/gcp_artifactregistry

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented Dec 27, 2022

Summary

Relevant API - https://cloud.google.com/artifact-registry/docs/reference/rest

Similar to #5919, we need the locations to list the resources (tried using different types of wildcards like -, global, * and they don't work).
Same as #5919 the locations list method is only on the old API, so again we can't test this as our testing framework uses HTTP for old API and gRPC server for new, which means we need 2 different endpoints and to change the client endpoint mid sync.

I did ran it on our cq-playground account and it synced data for all the tables successfully

Notes

The API has a few other list methods, neither part of the Go SDK nor supported by gcloud so I didn't add them:

@github-actions
Copy link
Copy Markdown

This PR has the following changes to source plugin(s) tables:

  • Table gcp_artifactregistry_docker_images was added
  • Table gcp_artifactregistry_files was added
  • Table gcp_artifactregistry_locations was added
  • Table gcp_artifactregistry_packages was added
  • Table gcp_artifactregistry_repositories was added
  • Table gcp_artifactregistry_tags was added
  • Table gcp_artifactregistry_versions was added

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 27, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cloudquery-web 🔄 Building (Inspect) Dec 27, 2022 at 3:19PM (UTC)

@erezrokah erezrokah force-pushed the feat/gcp_artifactregistry branch from c1e5e91 to 98867bb Compare December 27, 2022 15:32
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Dec 27, 2022
@erezrokah erezrokah force-pushed the feat/gcp_artifactregistry branch from 98867bb to c3a76b5 Compare December 28, 2022 16:57
@erezrokah erezrokah removed the automerge Automatically merge once required checks pass label Dec 29, 2022
@erezrokah erezrokah force-pushed the feat/gcp_artifactregistry branch from c3a76b5 to 3b3c3e1 Compare December 29, 2022 11:38
@erezrokah erezrokah force-pushed the feat/gcp_artifactregistry branch from 3b3c3e1 to b8a2ee5 Compare December 29, 2022 11:45
@erezrokah erezrokah merged commit 76faa06 into main Dec 29, 2022
@erezrokah erezrokah deleted the feat/gcp_artifactregistry branch December 29, 2022 11:55
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants