-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Gcf gen2 base image update #10627
base: main
Are you sure you want to change the base?
Gcf gen2 base image update #10627
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 16 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccCloudFunctions2Function_fullUpdate|TestAccCloudFunctions2Function_update|TestAccCloudfunctions2functionIamBindingGenerated|TestAccCloudfunctions2functionIamMemberGenerated|TestAccCloudfunctions2functionIamPolicyGenerated|TestAccCloudfunctions2function_cloudfunctions2AbiuExample|TestAccCloudfunctions2function_cloudfunctions2AbiuOnDeployExample|TestAccCloudfunctions2function_cloudfunctions2BasicAuditlogsExample|TestAccCloudfunctions2function_cloudfunctions2BasicBuilderExample|TestAccCloudfunctions2function_cloudfunctions2BasicExample|TestAccCloudfunctions2function_cloudfunctions2BasicGcsExample|TestAccCloudfunctions2function_cloudfunctions2FullExample|TestAccCloudfunctions2function_cloudfunctions2PrivateWorkerpoolExample|TestAccCloudfunctions2function_cloudfunctions2SecretEnvExample|TestAccCloudfunctions2function_cloudfunctions2SecretVolumeExample|TestAccDataSourceGoogleCloudFunctions2Function_basic |
|
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.
Can you add an update test that adds and then removes these fields? We've seen issues with removing fields sometimes especially when they're represented as empty objects.
Absolutely, I'll update the PR when the tests are ready. |
db3d1cc
to
396bf13
Compare
Added an update test. Is there a way I can re-trigger the integration tests? |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccCloudFunctions2Function_fullUpdate|TestAccCloudFunctions2Function_update |
|
396bf13
to
d45f128
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccCloudFunctions2Function_update |
|
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.
Test failing with:
~ build_config {
# (5 unchanged attributes hidden)
- automatic_update_policy {}
# (1 unchanged block hidden)
}
~ service_config {
+ environment_variables = {}
# (11 unchanged attributes hidden)
}
Is this waiting on a feature rollout to work?
d45f128
to
d3467a2
Compare
d3467a2
to
8de4a37
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Updated the PR with a custom encoder to marshal the update policy in line with API expectations. Tested new tests and update. |
Tests analyticsTotal tests: Click here to see the affected service packages
Non-exercised testsTests were added that are skipped in VCR:
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: Click here to see the affected service packages
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccCloudFunctions2Function_update|TestAccCloudfunctions2function_cloudfunctions2AbiuOnDeployExample |
|
@@ -125,6 +125,7 @@ resource "google_cloudfunctions2_function" "terraform-test2" { | |||
object = google_storage_bucket_object.object.name | |||
} | |||
} | |||
on_deploy_update_policy {} |
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.
Can you add an update test that starts with this set, then switches to the other type of update policy, then removes the update policy entirely?
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.
Still need this update test
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.
Working on the test now. Slowed down by production outage yesterday
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.
This proposed test case revealed additional issues in the backend implementation. I will add tests and update this PR once the fixes for these issues are rolled out to production.
mmv1/templates/terraform/custom_expand/runtime_update_policy_enable.go.erb
Outdated
Show resolved
Hide resolved
Add new field to specify auto base image update.
8de4a37
to
0a84e2e
Compare
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: Click here to see the affected service packages
|
@maemayve, this PR is waiting for action from you. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. If no action is taken, this PR will be closed in 28 days. This notification can be disabled with the |
2 similar comments
@maemayve, this PR is waiting for action from you. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. If no action is taken, this PR will be closed in 28 days. This notification can be disabled with the |
@maemayve, this PR is waiting for action from you. Please address any comments or change requests, or re-request review from a core reviewer if no action is required. If no action is taken, this PR will be closed in 28 days. This notification can be disabled with the |
Add new fields to the cloudfunctions2 resource to support automatic base image updates. (b/330553378)
Release Note Template for Downstream PRs (will be copied)