Skip to content

Commit

Permalink
Skip cloudbuild tests that require special access (GoogleCloudPlatfor…
Browse files Browse the repository at this point in the history
  • Loading branch information
roaks3 authored and ericayyliu committed Jul 26, 2023
1 parent a28357e commit 01cc744
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmv1/products/cloudbuild/Trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ examples:
skip_test: true
- !ruby/object:Provider::Terraform::Examples
name: 'cloudbuild_trigger_repo'
# TODO: https://github.com/hashicorp/terraform-provider-google/issues/14390
skip_test: true
min_version: beta
primary_resource_id: 'repo-trigger'
vars:
Expand Down
2 changes: 2 additions & 0 deletions mmv1/products/cloudbuildv2/Connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ import_format:
examples:
- !ruby/object:Provider::Terraform::Examples
name: 'cloudbuildv2_connection'
# TODO: https://github.com/hashicorp/terraform-provider-google/issues/14390
skip_test: true
min_version: beta
primary_resource_id: 'my-connection'
primary_resource_name: "fmt.Sprintf(\"tf-test-connection%s\",
Expand Down
8 changes: 8 additions & 0 deletions tpgtools/overrides/cloudbuildv2/samples/connection/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ test_hide:
- github.yaml
- github.tf.tmpl
- ghe.tf.tmpl
# TODO: https://github.com/hashicorp/terraform-provider-google/issues/14390
# The following tests are being skipped while we resolve access issues in the
# test environment
- github_connection.yaml
- ghe_connection.yaml
- ghe_complete_connection.yaml
- ghe_priv_connection.yaml
- ghe_priv_update_connection.yaml
doc_hide:
# These tests depend on secrets stored in a separate project, so we prefer not
# to show them in the docs.
Expand Down
5 changes: 5 additions & 0 deletions tpgtools/overrides/cloudbuildv2/samples/repository/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ test_hide:
- github.yaml
- github.tf.tmpl
- ghe.tf.tmpl
# TODO: https://github.com/hashicorp/terraform-provider-google/issues/14390
# The following tests are being skipped while we resolve access issues in the
# test environment
- ghe_repository.yaml
- github_repository.yaml
doc_hide:
# These tests depend on secrets stored in a separate project, so we prefer not
# to show them in the docs.
Expand Down

0 comments on commit 01cc744

Please sign in to comment.