Skip to content

Commit

Permalink
Temporary fix for TGC tests (#9116)
Browse files Browse the repository at this point in the history
  • Loading branch information
c2thorn authored Sep 28, 2023
1 parent b4e3fd4 commit d7c4745
Show file tree
Hide file tree
Showing 55 changed files with 32 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@
"datasetReference": {
"datasetId": "test-dataset"
},
"labels": {
"env": "dev"
},
"location": "EU",
"defaultTableExpirationMs": 3.6e+06
}
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"datasetId": "test-dataset"
},
"defaultTableExpirationMs": 3600000,
"labels": {
"env": "dev"
},
"location": "EU",
"friendlyName": ""
}
Expand All @@ -32,4 +29,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"datasetId": "test-dataset"
},
"defaultTableExpirationMs": 3600000,
"labels": {
"env": "dev"
},
"location": "EU",
"friendlyName": ""
}
Expand All @@ -31,4 +28,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
"datasetId": "test-dataset"
},
"defaultTableExpirationMs": 3600000,
"labels": {
"env": "dev"
},
"location": "EU",
"friendlyName": ""
}
Expand All @@ -32,4 +29,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"apiVersion": "serving.knative.dev/v1",
"kind": "Service",
"metadata": {
"annotations": {
"generated-by": "magic-modules"
},
"name": "cloudrun-to-get-cai",
"namespace": "{{.Provider.project}}"
},
Expand Down Expand Up @@ -48,4 +45,4 @@
}
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"discovery_name": "Disk",
"parent": "//cloudresourcemanager.googleapis.com/projects/{{.Provider.project}}",
"data": {
"labels": {
"environment": "dev"
},
"name": "test-disk",
"physicalBlockSizeBytes": 4096,
"sourceImage": "projects/debian-cloud/global/images/debian-8-jessie-v20170523",
Expand All @@ -20,4 +17,4 @@
}
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
"discovery_name": "Disk",
"parent": "//cloudresourcemanager.googleapis.com/projects/{{.Provider.project}}",
"data": {
"labels": {
"environment": "dev"
},
"name": "test-disk",
"physicalBlockSizeBytes": 4096,
"type": "projects/{{.Provider.project}}/zones/us-central1-a/diskTypes/pd-ssd",
"zone": "projects/{{.Provider.project}}/global/zones/us-central1-a"
}
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
"discovery_name": "Snapshot",
"parent": "//cloudresourcemanager.googleapis.com/projects/{{.Provider.project}}",
"data": {
"labels": {
"test-name": "test-value"
},
"name": "test-instance",
"sourceDisk": "projects/{{.Provider.project}}/zones/us-central1-a/disks/debian-disk",
"storageLocations": [
Expand Down Expand Up @@ -39,4 +36,4 @@
}
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"expirationPolicy": {
"ttl": "300000.5s"
},
"labels": {
"test-label2": "test-value2"
},
"messageRetentionDuration": "1200s",
"retainAckedMessages": true,
"retryPolicy": {
Expand All @@ -39,9 +36,6 @@
"ackDeadlineSeconds": 20,
"deadLetterPolicy": null,
"expirationPolicy": null,
"labels": {
"test-label1": "test-value1"
},
"messageRetentionDuration": "604800s",
"pushConfig": {
"pushEndpoint": "https://example.com/push"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"ackDeadlineSeconds": 20,
"deadLetterPolicy": null,
"expirationPolicy": null,
"labels": {
"test-label1": "test-value1"
},
"messageRetentionDuration": "604800s",
"pushConfig": {
"pushEndpoint": "https://example.com/push"
Expand All @@ -33,4 +30,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"ackDeadlineSeconds": 20,
"deadLetterPolicy": null,
"expirationPolicy": null,
"labels": {
"test-label1": "test-value1"
},
"messageRetentionDuration": "604800s",
"pushConfig": {
"pushEndpoint": "https://example.com/push"
Expand All @@ -33,4 +30,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
"ackDeadlineSeconds": 20,
"deadLetterPolicy": null,
"expirationPolicy": null,
"labels": {
"test-label1": "test-value1"
},
"messageRetentionDuration": "604800s",
"pushConfig": {
"pushEndpoint": "https://example.com/push"
Expand All @@ -33,4 +30,4 @@
]
}
}
]
]
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
"parent": "//cloudresourcemanager.googleapis.com/projects/{{.Provider.project}}",
"data": {
"kmsKeyName": "projects/{{.Provider.project}}/locations/australia-southeast1/keyRings/default_kms_keyring_name/cryptoKeys/default_kms_key_name",
"labels": {
"test-key": "test-value"
},
"messageStoragePolicy": {
"allowedPersistenceRegions": [
"australia-southeast1"
Expand Down
21 changes: 21 additions & 0 deletions mmv1/third_party/tgc/tests/data-ignored/full_spanner_instance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[
{
"name": "//spanner.googleapis.com/projects/{{.Provider.project}}/instances/spanner-instance",
"asset_type": "spanner.googleapis.com/Instance",
"ancestry_path": "{{.Ancestry}}/project/{{.Provider.project}}",
"resource": {
"version": "v1",
"discovery_document_uri": "https://www.googleapis.com/discovery/v1/apis/spanner/v1/rest",
"discovery_name": "Instance",
"parent": "//cloudresourcemanager.googleapis.com/projects/{{.Provider.project}}",
"data": {
"instance": {
"config": "projects/{{.Provider.project}}/instanceConfigs/regional-us-central1",
"displayName": "spanner-instance",
"nodeCount": 1
},
"instanceId": "spanner-instance"
}
}
}
]
26 changes: 0 additions & 26 deletions mmv1/third_party/tgc/tests/data/full_spanner_instance.json

This file was deleted.

0 comments on commit d7c4745

Please sign in to comment.