tgc build on tpg-beta#7797
Conversation
melinath
left a comment
There was a problem hiding this comment.
could you pull the formatting changes into a separate PR?
|
allowed ci changes /gcbrun |
melinath
left a comment
There was a problem hiding this comment.
I think you might need to make additional changes as described in b/275715832
melinath
left a comment
There was a problem hiding this comment.
could you split the downstream-builder changes into a separate PR & also make changes to https://github.com/GoogleCloudPlatform/magic-modules/blob/main/.ci/gcb-push-downstream.yml to use beta for TGC
|
/gcbrun |
|
tgc-base fails because HEAD~ is still ga, not beta. Not sure how to make this work? @melinath |
|
testing this will be tricky since it modifies so many files. We'll need to test thoroughly to make sure everything works in the downstream code. I'm seeing some errors when I generate based on this (and switch over to beta) - is everything working fine for you? |
|
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. TF Conversion: Diff ( 209 files changed, 19437 insertions(+), 284 deletions(-)) |
Tests analyticsTotal tests: 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 testsTestAccContainerAwsNodePool_BetaBasicHandWritten|TestAccComputeFirewallPolicyRule_multipleRules |
|
|
melinath
left a comment
There was a problem hiding this comment.
This looks good - my one concern is that it will break older PRs, since the generation will happen with GA set as the version (but downstream uses beta). However, the code that's used for the generation will all be based on the head of the main branch.
In terms of how to work around this - my initial thought is that we could alter the downstream image to always use beta and then deal with any fallout in the ten minutes it takes the image to rebuild manually.
What do you think?
| cd mmv1;\ | ||
| bundle;\ | ||
| bundle exec compiler -e terraform -f validator -o $(OUTPUT_PATH) $(mmv1_compile);\ | ||
| bundle exec compiler -e terraform -f validator -v $(VERSION) -o $(OUTPUT_PATH) $(mmv1_compile);\ |
There was a problem hiding this comment.
It turns out that adding this means that users have to provide a VERSION when running the command (which wasn't the case previously, and which isn't used) so we should probably revert this change. Sorry!
| bundle exec compiler -e terraform -f validator -v $(VERSION) -o $(OUTPUT_PATH) $(mmv1_compile);\ | |
| bundle exec compiler -e terraform -f validator -o $(OUTPUT_PATH) $(mmv1_compile);\ |
|
@iyabchen could you resolve the conflicts |
* tgc build on tpg-beta * gcb-push-downstream.yml change ga to beta for tgc * fix forward rule test file * Address comment * compute forwarding rule test file set to beta * switch tgc-base to use beta * tgc make always use beta * generate downstream always use beta for tgc --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
* tgc build on tpg-beta * gcb-push-downstream.yml change ga to beta for tgc * fix forward rule test file * Address comment * compute forwarding rule test file set to beta * switch tgc-base to use beta * tgc make always use beta * generate downstream always use beta for tgc --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
* tgc build on tpg-beta * gcb-push-downstream.yml change ga to beta for tgc * fix forward rule test file * Address comment * compute forwarding rule test file set to beta * switch tgc-base to use beta * tgc make always use beta * generate downstream always use beta for tgc --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
* tgc build on tpg-beta * gcb-push-downstream.yml change ga to beta for tgc * fix forward rule test file * Address comment * compute forwarding rule test file set to beta * switch tgc-base to use beta * tgc make always use beta * generate downstream always use beta for tgc --------- Co-authored-by: Stephen Lewis (Burrows) <stephenrlewis@google.com>
terraform-google-conversion switch to tpg beta
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)