Skip to content

Conversation

@thekad
Copy link
Collaborator

@thekad thekad commented Nov 6, 2025

SUMMARY

Adding support for Cloud Build v2 connections and repositories. No integration tests because this would require creating oauth tokens on gitlab/github and then storing them in the CI which is probably a lot more complicated. I tested it with my own personal Github and Gitlab accounts, and it seems to work.

Additionally, I added a small "debug" function to gcp_utils which I am referencing from the code for general tracing

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

gcp_cloudbuildv2_connection
gcp_cloudbuildv2_repository

If you set your logging to -vvv or greater, logs should appear in
whatever logging facility you have configured in the control node, e.g.
journald for localhost
As generated from the code gen tool
@thekad thekad requested a review from SirGitsalot November 6, 2025 23:37
@thekad
Copy link
Collaborator Author

thekad commented Nov 6, 2025

@SirGitsalot PTAL, I am not sure how the integration test would work at all for this one, I could just remove the integration test dir altogether

@thekad
Copy link
Collaborator Author

thekad commented Nov 7, 2025

Also not sure how to fix the sanity test issues here... the items pointed out are not secrets, but references to secret manager resources, so no_log isn't appropriate... I'll see what I can change in the lint config to make these pass

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.

1 participant