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

Add skip_wait_on_job_termination option for dataflow job resources #5844

Merged
merged 1 commit into from
Apr 8, 2022

Conversation

n-oden
Copy link
Contributor

@n-oden n-oden commented Mar 22, 2022

This addresses #10559

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Generated Terraform, and ran make test and make lint to ensure it passes unit and linter tests.
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Ran relevant acceptance tests (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read the Release Notes Guide before writing my release note below.

Release Note Template for Downstream PRs (will be copied)

dataflow: added `skip_wait_on_job_termination` attribute to `google_dataflow_job` and `google_dataflow_flex_template_job` resources (issue #10559)

@n-oden
Copy link
Contributor Author

n-oden commented Mar 22, 2022

@ScottSuarez this continues from hashicorp/terraform-provider-google#10728

Also, apologies in advance: the test is probably (mostly?) garbage? It passes, but it wasn't really clear to me from example how one would exercise a resource lifecycle change rather than an api change. Any guidance/pointers you could offer would be appreciated.

@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.

@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 ( 4 files changed, 166 insertions(+), 8 deletions(-))
Terraform Beta: Diff ( 5 files changed, 185 insertions(+), 14 deletions(-))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 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 ( 4 files changed, 166 insertions(+), 8 deletions(-))
Terraform Beta: Diff ( 5 files changed, 176 insertions(+), 14 deletions(-))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@n-oden
Copy link
Contributor Author

n-oden commented Apr 1, 2022

@ScottSuarez nudge :)

@c2thorn c2thorn requested review from ScottSuarez and removed request for c2thorn April 1, 2022 17:37
@ScottSuarez
Copy link
Contributor

/gcbrun

@n-oden
Copy link
Contributor Author

n-oden commented Apr 4, 2022

Hm, I don't appear to have access to the cloudbuild logs for the graphite-docker-images builds.

@ScottSuarez
Copy link
Contributor

hmm, could you pull in latest changes from main?

@n-oden
Copy link
Contributor Author

n-oden commented Apr 6, 2022

done!

@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 ( 4 files changed, 166 insertions(+), 8 deletions(-))
Terraform Beta: Diff ( 5 files changed, 176 insertions(+), 14 deletions(-))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Rerun tests in REPLAYING mode

2 similar comments
@modular-magician
Copy link
Collaborator

Rerun tests in REPLAYING mode

@modular-magician
Copy link
Collaborator

Rerun tests in REPLAYING mode

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 1967
Passed tests 1710
Skipped tests: 238
Failed tests: 19

Action taken

Triggering VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccAccessContextManager|TestAccContainerCluster_withAuthenticatorGroupsConfig|TestAccComputeRegionUrlMap_defaultUrlRedirectWithinPathMatcher|TestAccComposerEnvironment_composerV2PrivateServiceConnect|TestAccComposerEnvironment_UpdateComposerV2|TestAccComposerEnvironmentAirflow2_withSoftwareConfig|TestAccComposerEnvironment_ComposerV2|TestAccComposerEnvironment_withSoftwareConfig|TestAccComposerEnvironment_composerV2MasterAuthNetworksUpdate|TestAccComposerEnvironment_composerV1MasterAuthNetworksUpdate|TestAccComposerEnvironment_composerV2MasterAuthNetworks|TestAccComposerEnvironment_composerV1MasterAuthNetworks|TestAccRedisInstance_update|TestAccRedisInstance_redisInstanceFullExample|TestAccRedisInstance_redisInstanceBasicExample|TestAccRedisInstanceDatasource_basic|TestAccRedisInstance_downgradeRedisVersion|TestAccRedisInstance_regionFromLocation|TestAccRedisInstance_redisInstanceAuthEnabled

@n-oden
Copy link
Contributor Author

n-oden commented Apr 7, 2022

hm, looks like the generate-diffs build timed out; can't see anything beyond that.

@ScottSuarez
Copy link
Contributor

/gcbrun

@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 ( 4 files changed, 166 insertions(+), 8 deletions(-))
Terraform Beta: Diff ( 5 files changed, 176 insertions(+), 14 deletions(-))
TF Validator: Diff ( 2 files changed, 3 insertions(+), 3 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 1969
Passed tests 1725
Skipped tests: 238
Failed tests: 6

Action taken

Triggering VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccAccessContextManager|TestAccContainerCluster_withAuthenticatorGroupsConfig|TestAccComputeGlobalForwardingRule_externalCdnLbWithBackendBucketExample|TestAccComposerEnvironment_withNodeConfig|TestAccComposerEnvironment_withEncryptionConfig|TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic

@modular-magician
Copy link
Collaborator

Tests passed during RECORDING mode:
TestAccComposerEnvironment_withNodeConfig[view]

Tests failed during RECORDING mode:
TestAccAccessContextManager[view]
TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic[view]
TestAccComputeGlobalForwardingRule_externalCdnLbWithBackendBucketExample[view]
TestAccContainerCluster_withAuthenticatorGroupsConfig[view]
TestAccComposerEnvironment_withEncryptionConfig[view]

Please fix these to complete your PR
View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

Tests were added that did not run in TeamCity:

  • TestAccDataflowJobSkipWait_basic

@modular-magician
Copy link
Collaborator

I have triggered VCR tests in RECORDING mode for the following tests that failed during VCR: TestAccDatasourceGoogleServiceNetworkingPeeredDnsDomain_basic|TestAccAccessContextManager|TestAccComposerEnvironment_withEncryptionConfig|TestAccComposerEnvironment_withNodeConfig|TestAccComputeForwardingRule_update|TestAccContainerCluster_withAuthenticatorGroupsConfig|TestAccServiceNetworkingPeeredDNSDomain_basic You can view the result here: https://ci-oss.hashicorp.engineering/viewQueued.html?itemId=277542

@n-oden
Copy link
Contributor Author

n-oden commented Apr 8, 2022

Thank you!

betsy-lichtenberg pushed a commit to betsy-lichtenberg/magic-modules that referenced this pull request Apr 25, 2022
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.

3 participants