magic-modules icon indicating copy to clipboard operation
magic-modules copied to clipboard

Update CustomTargetType resource to include googleCloudBuildRepo type

Open katiexzhang opened this issue 10 months ago • 14 comments

…sitories

Fixes https://github.com/hashicorp/terraform-provider-google/issues/17935

Release Note Template for Downstream PRs (will be copied)

clouddeploy: added `google_cloud_build_repo` to `custom_target_type` resource

katiexzhang avatar Apr 26 '24 20:04 katiexzhang

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

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

github-actions[bot] avatar Apr 26 '24 20:04 github-actions[bot]

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) google-beta provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 52 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_clouddeploy_custom_target_type (11 total tests) Please add an acceptance test which includes these fields. The test should include the following:

resource "google_clouddeploy_custom_target_type" "primary" {
  custom_actions {
    include_skaffold_modules {
      google_cloud_build_repo {
        path       = # value needed
        ref        = # value needed
        repository = # value needed
      }
    }
  }
}

modular-magician avatar Apr 26 '24 20:04 modular-magician

Tests analytics

Total tests: 28 Passed tests: 24 Skipped tests: 2 Affected tests: 2

Click here to see the affected service packages
  • clouddeploy

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample|TestAccClouddeployCustomTargetType_update

Get to know how VCR tests work

modular-magician avatar Apr 26 '24 20:04 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample[Error message] [Debug log] TestAccClouddeployCustomTargetType_update[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$ View the build log or the debug log for each test

modular-magician avatar Apr 26 '24 20:04 modular-magician

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) google-beta provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 52 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

modular-magician avatar Apr 26 '24 23:04 modular-magician

Tests analytics

Total tests: 28 Passed tests: 24 Skipped tests: 2 Affected tests: 2

Click here to see the affected service packages
  • clouddeploy

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample|TestAccClouddeployCustomTargetType_update

Get to know how VCR tests work

modular-magician avatar Apr 26 '24 23:04 modular-magician

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample[Error message] [Debug log] TestAccClouddeployCustomTargetType_update[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$ View the build log or the debug log for each test

modular-magician avatar Apr 26 '24 23:04 modular-magician

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) google-beta provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 52 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

modular-magician avatar Apr 27 '24 00:04 modular-magician

Tests analytics

Total tests: 28 Passed tests: 24 Skipped tests: 2 Affected tests: 2

Click here to see the affected service packages
  • clouddeploy

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample|TestAccClouddeployCustomTargetType_update

Get to know how VCR tests work

modular-magician avatar Apr 27 '24 00:04 modular-magician

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_update[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$ View the build log or the debug log for each test

modular-magician avatar Apr 27 '24 00:04 modular-magician

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) google-beta provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 52 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

modular-magician avatar Apr 29 '24 17:04 modular-magician

Tests analytics

Total tests: 28 Passed tests: 25 Skipped tests: 2 Affected tests: 1

Click here to see the affected service packages
  • clouddeploy

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccClouddeployCustomTargetType_update

Get to know how VCR tests work

modular-magician avatar Apr 29 '24 17:04 modular-magician

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_update[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$ View the build log or the debug log for each test

modular-magician avatar Apr 29 '24 17:04 modular-magician

Hi @BBBmau, could you PTAL at this?

katiexzhang avatar Apr 30 '24 14:04 katiexzhang

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) google-beta provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 52 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

modular-magician avatar Apr 30 '24 21:04 modular-magician

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) google-beta provider: Diff ( 4 files changed, 212 insertions(+), 3 deletions(-)) terraform-google-conversion: Diff ( 1 file changed, 52 insertions(+)) Open in Cloud Shell: Diff ( 4 files changed, 118 insertions(+))

modular-magician avatar Apr 30 '24 21:04 modular-magician

Tests analytics

Total tests: 28 Passed tests: 24 Skipped tests: 2 Affected tests: 2

Click here to see the affected service packages
  • clouddeploy

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample|TestAccClouddeployCustomTargetType_update

Get to know how VCR tests work

modular-magician avatar Apr 30 '24 21:04 modular-magician

Tests analytics

Total tests: 28 Passed tests: 24 Skipped tests: 2 Affected tests: 2

Click here to see the affected service packages
  • clouddeploy

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample|TestAccClouddeployCustomTargetType_update

Get to know how VCR tests work

modular-magician avatar Apr 30 '24 21:04 modular-magician

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample[Debug log] TestAccClouddeployCustomTargetType_update[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$ View the build log or the debug log for each test

modular-magician avatar Apr 30 '24 21:04 modular-magician

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$ TestAccClouddeployCustomTargetType_clouddeployCustomTargetTypeGcbRepoSkaffoldModulesExample[Debug log] TestAccClouddeployCustomTargetType_update[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$ View the build log or the debug log for each test

modular-magician avatar Apr 30 '24 21:04 modular-magician

Bumping this! @BBBmau

katiexzhang avatar May 02 '24 19:05 katiexzhang