Skip to content
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

Promote region* compute services to GA #3381

Merged
merged 4 commits into from
Apr 29, 2020

Conversation

ctavan
Copy link
Contributor

@ctavan ctavan commented Apr 15, 2020

Many of the region* resources are still marked as beta (at least for terraform). Some beta-restrictions were lifted in the past:

But others still seem to be missing. Anything holding us back from promoting all the Region* resources to GA?

Release Note Template for Downstream PRs (will be copied)

`google_compute_region_url_map` is now GA
`google_compute_region_target_http_proxy` is now GA
`google_compute_region_target_https_proxy` is now GA
compute: Promoted the following `google_compute_backend_service` fields to GA: `circuit_breakers`, `consistent_hash`, `custom_request_headers`, `locality_lb_policy`, `outlier_detection`
compute: Promoted the following `google_compute_region_backend_service` fields to GA: `affinity_cookie_ttl_sec`,`circuit_breakers`, `consistent_hash`, `failover_policy`, `locality_lb_policy`, `outlier_detection`, `log_config`, `failover`

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 23 files changed, 11363 insertions(+), 33 deletions(-))
Terraform Beta: Diff ( 13 files changed, 71 insertions(+), 165 deletions(-))
Ansible: Diff ( 4 files changed, 4 insertions(+), 4 deletions(-))
TF Conversion: Diff ( 3 files changed, 2246 insertions(+), 8 deletions(-))
TF OiCS: Diff ( 12 files changed, 67 deletions(-))

@modular-magician
Copy link
Collaborator

Oops! It looks like you're using an unknown release-note type in your changelog entries:

  • REPLACEME

Please only use the types listed in https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md.

@danawillow
Copy link
Contributor

Picking a reviewer randomly because of https://github.com/GoogleCloudPlatform/magic-modules/issues/3055.

@c2thorn
Copy link
Member

c2thorn commented Apr 24, 2020

Hi @ctavan, thanks for your submission!
There doesn't seem to be any issue with promoting these resources. At a quick glance these changes seem correct, but it'll take a bit of building/testing for me to verify (similar changes were made recently that ended up being somewhat complicated).
It's on my to-do list after a couple of priority items, thanks for your patience.

@ctavan
Copy link
Contributor Author

ctavan commented Apr 25, 2020

@c2thorn I will have to rebase this branch since #3379 has been merged and introduced changes that affect the changes in here. Will let you know when I‘m done.

@ctavan ctavan force-pushed the promote-region-services-ga branch from 8a93245 to 8eed3c8 Compare April 26, 2020 12:35
@modular-magician
Copy link
Collaborator

Hello! I am a robot who works on Magic Modules PRs.

I have detected that you are a community contributor, so your PR will be assigned to someone with a commit-bit on this repo for initial review.

Thanks for your contribution! A human will be with you soon.

@c2thorn, please review this PR or find an appropriate assignee.

@ctavan
Copy link
Contributor Author

ctavan commented Apr 26, 2020

I did the rebase and the necessary changes due to #3379.

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 24 files changed, 12084 insertions(+), 33 deletions(-))
Terraform Beta: Diff ( 13 files changed, 77 insertions(+), 174 deletions(-))
Ansible: Diff ( 4 files changed, 4 insertions(+), 4 deletions(-))
TF Conversion: Diff ( 3 files changed, 2435 insertions(+), 28 deletions(-))
TF OiCS: Diff ( 13 files changed, 71 deletions(-))

@modular-magician
Copy link
Collaborator

Oops! It looks like you're using an unknown release-note type in your changelog entries:

  • REPLACEME

Please only use the types listed in https://github.com/GoogleCloudPlatform/magic-modules/blob/master/.ci/RELEASE_NOTES_GUIDE.md.

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 24 files changed, 12084 insertions(+), 33 deletions(-))
Terraform Beta: Diff ( 13 files changed, 77 insertions(+), 174 deletions(-))
Ansible: Diff ( 4 files changed, 4 insertions(+), 4 deletions(-))
TF Conversion: Diff ( 3 files changed, 2435 insertions(+), 28 deletions(-))
TF OiCS: Diff ( 13 files changed, 71 deletions(-))

Copy link
Member

@c2thorn c2thorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caught a couple of failing examples/tests here that I believe you can just revert, as they rely on beta-only fields. If it is your intention to promote these fields to GA as well, I recommend to separate them out into different PR's so they are easier to track/discuss.

@ctavan ctavan force-pushed the promote-region-services-ga branch from 8eed3c8 to f94349f Compare April 28, 2020 08:45
@ctavan
Copy link
Contributor Author

ctavan commented Apr 28, 2020

Caught a couple of failing examples/tests here that I believe you can just revert, as they rely on beta-only fields. If it is your intention to promote these fields to GA as well, I recommend to separate them out into different PR's so they are easier to track/discuss.

Thanks for the review and sorry for not testing this properly before submitting. I think I got this sorted out now (see comments above) but did not extract the changes into a separate PR since the adjustments looked really straightforward. Would you still like me to do that? If so, how should I split the changes up?

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 27 files changed, 15923 insertions(+), 223 deletions(-))
Terraform Beta: Diff ( 13 files changed, 87 insertions(+), 185 deletions(-))
Ansible: Diff ( 8 files changed, 2344 insertions(+), 4 deletions(-))
TF Conversion: Diff ( 5 files changed, 3406 insertions(+), 28 deletions(-))
TF OiCS: Diff ( 12 files changed, 69 deletions(-))
Inspec: Diff ( 4 files changed, 29 insertions(+), 29 deletions(-))

@c2thorn
Copy link
Member

c2thorn commented Apr 28, 2020

@ctavan I appreciate your cooperation and patience on this. There are quite a few changes here, but manual review looks good. Do you mind rebasing one more time, and then I'll be able to run tests against both providers. Once that clears, I can give the LGTM and merge.

ctavan added 3 commits April 29, 2020 13:27
…nd_service

Currently there only seem to be two features in backend services that
are not GA:

--- v1.json
+++ beta.json
@@ -62,6 +62,10 @@
     "enable": boolean,
     "sampleRate": number
   },
+  "securitySettings": {
+    "authentication": string,
+    "subjectAltNames": [string]
+  },
   "localityLbPolicy": enum,
   "consistentHash": {
     "httpCookie": {
@@ -76,6 +80,10 @@
     "minimumRingSize": string
   },
   "circuitBreakers": {
+    "connectTimeout": {
+      "seconds": string,
+      "nanos": integer
+    },
     "maxRequestsPerConnection": integer,
     "maxConnections": integer,
     "maxPendingRequests": integer,
@ctavan ctavan force-pushed the promote-region-services-ga branch from f94349f to 2d70c92 Compare April 29, 2020 11:30
@ctavan
Copy link
Contributor Author

ctavan commented Apr 29, 2020

Done @c2thorn

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 27 files changed, 15921 insertions(+), 223 deletions(-))
Terraform Beta: Diff ( 13 files changed, 87 insertions(+), 185 deletions(-))
Ansible: Diff ( 8 files changed, 2344 insertions(+), 4 deletions(-))
TF Conversion: Diff ( 5 files changed, 3406 insertions(+), 28 deletions(-))
TF OiCS: Diff ( 12 files changed, 69 deletions(-))
Inspec: Diff ( 4 files changed, 29 insertions(+), 29 deletions(-))

@modular-magician
Copy link
Collaborator

Hi! I'm the modular magician. Your PR generated some diffs in downstreams - here they are.

Diff report:

Terraform GA: Diff ( 28 files changed, 16125 insertions(+), 223 deletions(-))
Terraform Beta: Diff ( 13 files changed, 105 insertions(+), 188 deletions(-))
Ansible: Diff ( 8 files changed, 2344 insertions(+), 4 deletions(-))
TF Conversion: Diff ( 5 files changed, 3406 insertions(+), 28 deletions(-))
TF OiCS: Diff ( 12 files changed, 69 deletions(-))
Inspec: Diff ( 4 files changed, 29 insertions(+), 29 deletions(-))

Copy link
Member

@c2thorn c2thorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of more examples needed to be set to GA, but it looks good now

@c2thorn c2thorn merged commit 49a803f into GoogleCloudPlatform:master Apr 29, 2020
@ctavan
Copy link
Contributor Author

ctavan commented Apr 29, 2020

Thank you for your efforts in completing my incomplete work @c2thorn 😇!

@c2thorn
Copy link
Member

c2thorn commented Apr 29, 2020

@ctavan No worries, thanks for contributing!

@ctavan ctavan deleted the promote-region-services-ga branch April 29, 2020 21:14
nathkn pushed a commit to nathkn/magic-modules that referenced this pull request May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants