feat: added google_artifact_registry_rule #16769
feat: added google_artifact_registry_rule #16769ramonvermeulen wants to merge 5 commits intoGoogleCloudPlatform:mainfrom
google_artifact_registry_rule #16769Conversation
google_artifact_registry_rulegoogle_artifact_registry_rule
|
Googlers: For automatic test runs see go/terraform-auto-test-runs. @malhotrasagar2212, 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. |
|
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.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_artifact_registry_rule" "primary" {
condition {
location = # value needed
}
}
|
Tests analyticsTotal tests: 49 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🟢 All tests passed! |
|
@malhotrasagar2212 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @malhotrasagar2212 This PR has been waiting for review for 1 week. Please take a look! Use the label |
malhotrasagar2212
left a comment
There was a problem hiding this comment.
Hi @ramonvermeulen, Thanks for the PR. Please have a look at the Missing Test Report for the condition.location field.
#16769 (comment)
95ab709 to
41fcac5
Compare
|
Thanks for reviewing! I just updated the test case and added the correct documentation url. Tests locally: TF_ACC_REFRESH_AFTER_APPLY=1 TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/services/artifactregistry -v -run=TestAccArtifactRegistryRule_artifactRegistryRule -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample
=== PAUSE TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample
=== RUN TestAccArtifactRegistryRule_artifactRegistryRuleFullExample
=== PAUSE TestAccArtifactRegistryRule_artifactRegistryRuleFullExample
=== RUN TestAccArtifactRegistryRule_artifactRegistryRuleFull_update
=== PAUSE TestAccArtifactRegistryRule_artifactRegistryRuleFull_update
=== CONT TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample
=== CONT TestAccArtifactRegistryRule_artifactRegistryRuleFull_update
=== CONT TestAccArtifactRegistryRule_artifactRegistryRuleFullExample
--- PASS: TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample (21.29s)
--- PASS: TestAccArtifactRegistryRule_artifactRegistryRuleFullExample (21.29s)
--- PASS: TestAccArtifactRegistryRule_artifactRegistryRuleFull_update (37.03s)
PASS
ok github.com/hashicorp/terraform-provider-google/google/services/artifactregistry 38.661s |
|
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.
|
Tests analyticsTotal tests: 49 Click here to see the affected service packages
Action takenFound 5 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
|
@malhotrasagar2212 This PR has been waiting for review for 3 weekdays. Please take a look! Use the label |
|
@GoogleCloudPlatform/terraform-team @malhotrasagar2212 This PR has been waiting for review for 1 week. Please take a look! Use the label |
malhotrasagar2212
left a comment
There was a problem hiding this comment.
@ramonvermeulen Please look into the failing tests. Thanks.
I don't have access to the logs, also wondering how this test is affected by my changes. Can try to run the same test locally to see if it fails as well, or if it is only in VCR. |
20d5d4a to
8a02def
Compare
|
@malhotrasagar2212 Only rebased, test runs fine locally: ╰─❯ make testacc TEST=./google/services/artifactregistry TESTARGS='-run=TestAccArtifactRegistryRule_' ─╯
sh -c "'/Users/ramon/go/src/github.com/hashicorp/terraform-provider-google/scripts/gofmtcheck.sh'"
==> Checking that code complies with gofmt requirements...
go vet
TF_ACC_REFRESH_AFTER_APPLY=1 TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/services/artifactregistry -v -run=TestAccArtifactRegistryRule_ -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample
=== PAUSE TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample
=== RUN TestAccArtifactRegistryRule_artifactRegistryRuleFullExample
=== PAUSE TestAccArtifactRegistryRule_artifactRegistryRuleFullExample
=== RUN TestAccArtifactRegistryRule_artifactRegistryRuleFull_update
=== PAUSE TestAccArtifactRegistryRule_artifactRegistryRuleFull_update
=== CONT TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample
=== CONT TestAccArtifactRegistryRule_artifactRegistryRuleFull_update
=== CONT TestAccArtifactRegistryRule_artifactRegistryRuleFullExample
--- PASS: TestAccArtifactRegistryRule_artifactRegistryRuleFullExample (18.20s)
--- PASS: TestAccArtifactRegistryRule_artifactRegistryRuleBasicExample (27.73s)
--- PASS: TestAccArtifactRegistryRule_artifactRegistryRuleFull_update (32.91s)
PASS
ok github.com/hashicorp/terraform-provider-google/google/services/artifactregistry 33.813s╰─❯ make testacc TEST=./google/services/artifactregistry TESTARGS='-run=TestAccArtifactRegistryRepository_artifactRegistryRepositoryCleanupExample' ─╯
sh -c "'/Users/ramon/go/src/github.com/hashicorp/terraform-provider-google/scripts/gofmtcheck.sh'"
==> Checking that code complies with gofmt requirements...
go vet
TF_ACC_REFRESH_AFTER_APPLY=1 TF_ACC=1 TF_SCHEMA_PANIC_ON_ERROR=1 go test ./google/services/artifactregistry -v -run=TestAccArtifactRegistryRepository_artifactRegistryRepositoryCleanupExample -timeout 240m -ldflags="-X=github.com/hashicorp/terraform-provider-google/version.ProviderVersion=acc"
=== RUN TestAccArtifactRegistryRepository_artifactRegistryRepositoryCleanupExample
=== PAUSE TestAccArtifactRegistryRepository_artifactRegistryRepositoryCleanupExample
=== CONT TestAccArtifactRegistryRepository_artifactRegistryRepositoryCleanupExample
--- PASS: TestAccArtifactRegistryRepository_artifactRegistryRepositoryCleanupExample (13.05s)
PASS
ok github.com/hashicorp/terraform-provider-google/google/services/artifactregistry 13.931s |
|
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.
|
Tests analyticsTotal tests: 50 Click here to see the affected service packages
🟢 All tests passed! View the build log |
Closes hashicorp/terraform-provider-google#26050
Tests