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

Expand Terraform for Developer Connect #12391

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

ihnarayanan
Copy link

@ihnarayanan ihnarayanan commented Nov 21, 2024

fixes hashicorp/terraform-provider-google#20737

developerconnect: added `crypto_key_config`, `github_enterprise_config`, `gitlab_config` , and `gitlab_enterprise_config` fields to `google_developer_connect_connection` resource (beta)
`google_developer_connect_git_repository_link` (ga)
`google_developer_connect_connection` (ga)

@modular-magician
Copy link
Collaborator

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 ( 17 files changed, 4065 insertions(+), 98 deletions(-))
google-beta provider: Diff ( 7 files changed, 2109 insertions(+), 283 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 525 insertions(+), 13 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 941 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference
  • Field installation_state MinItems went from unset to 1 on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    app_id                     = # value needed
    private_key_secret_version = # value needed
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate            = # value needed
    webhook_secret_secret_version = # value needed
  }
  gitlab_config {
    authorizer_credential {
      user_token_secret_version = # value needed
    }
    read_authorizer_credential {
      user_token_secret_version = # value needed
    }
  }
  gitlab_enterprise_config {
    authorizer_credential {
      user_token_secret_version = # value needed
    }
    read_authorizer_credential {
      user_token_secret_version = # value needed
    }
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  labels = # value needed
}

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

resource "google_developer_connect_git_repository_link" "primary" {
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 9
Passed tests: 0
Skipped tests: 0
Affected tests: 9

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample
  • TestAccDeveloperConnectConnection_update
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_update [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 17 files changed, 4128 insertions(+), 98 deletions(-))
google-beta provider: Diff ( 7 files changed, 2172 insertions(+), 283 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 525 insertions(+), 13 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 947 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference
  • Field installation_state MinItems went from unset to 1 on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    app_id                     = # value needed
    private_key_secret_version = # value needed
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate            = # value needed
    webhook_secret_secret_version = # value needed
  }
  gitlab_enterprise_config {
    authorizer_credential {
      user_token_secret_version = # value needed
    }
    read_authorizer_credential {
      user_token_secret_version = # value needed
    }
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  labels = # value needed
}

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

resource "google_developer_connect_git_repository_link" "primary" {
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 9
Passed tests: 0
Skipped tests: 0
Affected tests: 9

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample
  • TestAccDeveloperConnectConnection_update
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_update [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 17 files changed, 4128 insertions(+), 98 deletions(-))
google-beta provider: Diff ( 7 files changed, 2172 insertions(+), 283 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 525 insertions(+), 13 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 947 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference
  • Field installation_state MinItems went from unset to 1 on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    app_id                     = # value needed
    private_key_secret_version = # value needed
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate            = # value needed
    webhook_secret_secret_version = # value needed
  }
  gitlab_enterprise_config {
    authorizer_credential {
      user_token_secret_version = # value needed
    }
    read_authorizer_credential {
      user_token_secret_version = # value needed
    }
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  labels = # value needed
}

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

resource "google_developer_connect_git_repository_link" "primary" {
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 9
Passed tests: 0
Skipped tests: 0
Affected tests: 9

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample
  • TestAccDeveloperConnectConnection_update
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_update [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 17 files changed, 4143 insertions(+), 98 deletions(-))
google-beta provider: Diff ( 7 files changed, 2187 insertions(+), 283 deletions(-))
terraform-google-conversion: Diff ( 2 files changed, 525 insertions(+), 13 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 947 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference
  • Field installation_state MinItems went from unset to 1 on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    app_id                     = # value needed
    private_key_secret_version = # value needed
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate            = # value needed
    webhook_secret_secret_version = # value needed
  }
  gitlab_enterprise_config {
    authorizer_credential {
      user_token_secret_version = # value needed
    }
    read_authorizer_credential {
      user_token_secret_version = # value needed
    }
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  labels = # value needed
}

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

resource "google_developer_connect_git_repository_link" "primary" {
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 9
Passed tests: 0
Skipped tests: 0
Affected tests: 9

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample
  • TestAccDeveloperConnectConnection_update
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample [Error message] [Debug log]
TestAccDeveloperConnectConnection_update [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample [Error message] [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 17 files changed, 4077 insertions(+), 80 deletions(-))
google-beta provider: Diff ( 6 files changed, 2074 insertions(+), 218 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 960 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  gitlab_enterprise_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  labels = # value needed
}

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

resource "google_developer_connect_git_repository_link" "primary" {
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 9
Passed tests: 2
Skipped tests: 0
Affected tests: 7

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

Action taken

Found 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample
  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubExample [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseExample [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabExample [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubEnterpriseExample [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabEnterpriseExample [Debug log]
TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGitlabExample [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 17 files changed, 4085 insertions(+), 80 deletions(-))
google-beta provider: Diff ( 6 files changed, 2082 insertions(+), 218 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 964 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  gitlab_enterprise_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  labels = # value needed
}

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

resource "google_developer_connect_git_repository_link" "primary" {
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 9
Passed tests: 8
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

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
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseExample [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4383 insertions(+), 79 deletions(-))
google-beta provider: Diff ( 7 files changed, 2312 insertions(+), 226 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 968 insertions(+))

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  annotations = # value needed
  crypto_key_config {
    key_reference = # value needed
  }
  etag = # value needed
  github_enterprise_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  gitlab_enterprise_config {
    service_directory_config {
      service = # value needed
    }
    ssl_ca_certificate = # value needed
  }
  installation_state {
    action_uri = # value needed
    message    = # value needed
  }
  labels = # value needed
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 12
Passed tests: 8
Skipped tests: 0
Affected tests: 4

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample

Action taken

Found 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionGithubUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseUpdate
  • TestAccDeveloperConnectConnection_developerConnectConnectionGitlabUpdate

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccDeveloperConnectConnection_developerConnectConnectionGithubEnterpriseUpdate [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGithubUpdate [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabEnterpriseUpdate [Debug log]
TestAccDeveloperConnectConnection_developerConnectConnectionGitlabUpdate [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4494 insertions(+), 80 deletions(-))
google-beta provider: Diff ( 7 files changed, 2426 insertions(+), 230 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 463 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 968 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field etag became Computed only on google_developer_connect_connection - reference
  • Field installation_state.action_uri became Computed only on google_developer_connect_connection - reference
  • Field installation_state.message became Computed only on google_developer_connect_connection - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 14
Passed tests: 14
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
    🟢 All tests passed!

View the build log

@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4514 insertions(+), 79 deletions(-))
google-beta provider: Diff ( 7 files changed, 2444 insertions(+), 227 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 968 insertions(+))

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  etag = # value needed
  installation_state {
    action_uri = # value needed
    message    = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 14
Passed tests: 14
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
    🟢 All tests passed!

View the build log

@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4514 insertions(+), 79 deletions(-))
google-beta provider: Diff ( 7 files changed, 2444 insertions(+), 227 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 968 insertions(+))

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  etag = # value needed
  installation_state {
    action_uri = # value needed
    message    = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 14
Passed tests: 14
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
    🟢 All tests passed!

View the build log

@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4772 insertions(+), 80 deletions(-))
google-beta provider: Diff ( 7 files changed, 2702 insertions(+), 228 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 32 files changed, 968 insertions(+))

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  etag = # value needed
  installation_state {
    action_uri = # value needed
    message    = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 14
Passed tests: 14
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
    🟢 All tests passed!

View the build log

@ihnarayanan ihnarayanan marked this pull request as ready for review December 17, 2024 21:50
@github-actions github-actions bot requested a review from zli82016 December 17, 2024 21:51
Copy link

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

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

@zli82016
Copy link
Member

Is a Github issue for this PR? Thanks.

@ihnarayanan
Copy link
Author

Is a Github issue for this PR? Thanks.

hashicorp/terraform-provider-google#20737

@github-actions github-actions bot requested a review from zli82016 December 18, 2024 17:02
@zli82016
Copy link
Member

Is a Github issue for this PR? Thanks.

hashicorp/terraform-provider-google#20737

Thanks, I added the Github issue to the description section of this PR

base_url: 'projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks'
self_link: 'projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks/{{git_repository_link_id}}'
create_url: 'projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks?gitRepositoryLinkId={{git_repository_link_id}}'
name: GitRepositoryLink
Copy link
Member

@zli82016 zli82016 Dec 18, 2024

Choose a reason for hiding this comment

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

Do you mind moving the changes of this file to a separate PR? This PR is too large and difficult to review. It is easy to missing something during the code review.

Copy link
Author

@ihnarayanan ihnarayanan Dec 18, 2024

Choose a reason for hiding this comment

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

Removed all changes and associated test files. Kept file in PR to promote to GA so as to not break the provider.

@github-actions github-actions bot requested a review from zli82016 December 18, 2024 18:12
@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4312 insertions(+), 65 deletions(-))
google-beta provider: Diff ( 6 files changed, 2199 insertions(+), 170 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 20 files changed, 586 insertions(+))

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  etag = # value needed
  installation_state {
    action_uri = # value needed
    message    = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 11
Passed tests: 11
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
    🟢 All tests passed!

View the build log

@modular-magician
Copy link
Collaborator

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 ( 18 files changed, 4312 insertions(+), 65 deletions(-))
google-beta provider: Diff ( 6 files changed, 2199 insertions(+), 170 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 473 insertions(+), 12 deletions(-))
Open in Cloud Shell: Diff ( 20 files changed, 586 insertions(+))

Missing test report

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

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

resource "google_developer_connect_connection" "primary" {
  etag = # value needed
  installation_state {
    action_uri = # value needed
    message    = # value needed
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 11
Passed tests: 11
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • developerconnect
#### Non-exercised tests

🔴 Tests were added that are GA-only additions and require manual runs:

  • TestAccDeveloperConnectGitRepositoryLink_developerConnectGitRepositoryLinkGithubExample
    🟢 All tests passed!

View the build log

@zli82016
Copy link
Member

Can you resolve the conflicts? Thanks.

Comment on lines +153 to +156
host_uri = "https://ghe.proctor-staging-test.com"
app_id = 864434
private_key_secret_version = "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest"
webhook_secret_secret_version = "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest"
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to update these fields with new values to test if the updating is working or not?

}

authorizer_credential {
user_token_secret_version = "projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest"
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to update this field with a new value to test if the updating is working or not?

}

authorizer_credential {
user_token_secret_version = "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest"
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to update this field with a new value to test if the updating is working or not?

}

gitlab_enterprise_config {
host_uri = "https://gle-us-central1.gcb-test.com"
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to update this field with a new value to test if the updating is working or not?

- name: appId
type: String
description: Optional. ID of the GitHub App created from the manifest.
- name: webhookSecretSecretVersion
Copy link
Member

Choose a reason for hiding this comment

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

Can you confirm if this field is immutable or not? immutable: true is added into other webhookSecretSecretVersion fields.

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.

Add support for Github Enterprise, Gitlab, and Gitlab Enterprise to google_developer_connect_connection
3 participants