-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Move Cloud Build Worker Pool to GA. #5356
Conversation
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 9 files changed, 762 insertions(+), 1 deletion(-)) |
Okay - looks like we just need to remove Annotations, Display Name, Etag, and Uid from the GA version, because they are not in beta. Or, we'll need to get them added to beta. Either would be fine. I'll consult with the team. |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccComputeFirewallPolicyRule_update|TestAccSqlUser_postgresIAM You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=211847 |
Tests failed during RECORDING mode: TestAccComputeFirewallPolicyRule_update|TestAccSqlUser_postgresIAM Please fix these to complete your PR |
The team is going to get those features backported to the beta to maintain our rule about GA being a strict subset of beta. This PR will sit in draft til that's rolled out. :) |
Note: this includes some unusual changes due to deviations between the beta and GA APIs.
92de646
to
640ea27
Compare
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 9 files changed, 757 insertions(+), 1 deletion(-)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 assuming the tests pass in GA
We may want to exclude etag
as it is handled internally by the DCL and is not useful for users.
You're adding a couple fields to the beta resource, can you add that to the changelog note?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion in chat: We should block merging this until we can move the beta provider to use the GA endpoints. Currently this resource in the beta provider requires users to be allow-listed. We should move the beta provider to use the GA endpoints to get around this
Okay - that should work - we'll see what the tests have to say. :) |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 9 files changed, 753 insertions(+), 1 deletion(-)) |
/gcbrun Looks like it got stuck in the 5:00 runs. |
Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are. Diff report:Terraform GA: Diff ( 9 files changed, 753 insertions(+), 1 deletion(-)) |
I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccCloudbuildWorkerPool_basic|TestAccCloudbuildWorkerPool_withNetwork|TestAccCloudFunctionsFunction_vpcConnector|TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupAppengineExample|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccEventarcTrigger_BasicHandWritten|TestAccSqlUser_postgresIAM You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=221562 |
Tests failed during RECORDING mode: TestAccEventarcTrigger_BasicHandWritten|TestAccCloudFunctionsFunction_vpcConnector|TestAccComputeRegionNetworkEndpointGroup_regionNetworkEndpointGroupAppengineExample|TestAccContainerNodePool_withInvalidUpgradeSettings|TestAccSqlUser_postgresIAM Please fix these to complete your PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's hitting the v1 endpoints for beta, and tests pass so we should be good to go!
* Move Cloud Build Worker Pool to GA. Note: this includes some unusual changes due to deviations between the beta and GA APIs. * upgrade dcl. * finish removing version gate. * Use new GA / Beta versions, neither of which is ACL'd.
Note: this includes some unusual changes in the DCL due to deviations between the beta and GA APIs. Hopefully that oddness should be completely hidden from Terraform - if you see something that looks weird let me know, it is probably a symptom of incomplete conversion between beta and GA and should be fixed.
If this PR is for Terraform, I acknowledge that I have:
make test
andmake lint
to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)