Commit graph

7 commits

Author SHA1 Message Date
Yusuke Tsutsumi
4816e97719 fixing compute_url_map, add cleanup script
Compute_url_map was broken by #509: It also merged in #393, which
has an erroneous understanding that compute_url_map always returns
a diff (integration tests show it does not).

Adding a cleanup script to help with environment hygiene.

Added cleanup to CI to help make tests less flakey.
2022-11-12 12:12:02 -08:00
Yusuke Tsutsumi
d8c1d2f8b8 tests: fix gcp_tpu_node test
- gcp_tpu_node was using an old TensorFlow version, as well as using
  a popular TPU variant (3-8) in a zone that had a capacity limit.
  Both have been updated to working values.
2022-10-10 18:43:18 +00:00
Yusuke Tsutsumi
cfbc4d8be5 tests: cleaning up resourcemanager, enabling spanner
- gcp_spanner_instance works, enabling for CI.
- gcp_resourcemanager_project is running into quota issues for
  listing the API to verify state. Adding a to-do as well as
  removing some people-specific names.
2022-10-09 06:08:41 +00:00
Yusuke Tsutsumi
1a753eff05 tests: fix key_ring and redis
- gcp_key_ring was already passing, needed to be enabled.
- gcp_redis_instance was using legacy networks, switch to net networks.
2022-10-09 05:45:37 +00:00
Yusuke Tsutsumi
9e7748bc23 tests: fixing bootstrap code and invalid instance
- bootstrap code was not correctly instantiating the cloud function.
- compute_instance has a typo from a previous commit.
- re-disabling forwarding rule as it still has the backend_service
  fingerprint requirement
2022-10-08 18:57:05 +00:00
Yusuke Tsutsumi
0387ad3c17 Fixing additional tests
Fixing some of the existing failing tests in the CI process.

Specifically:

- gcp_appengine_firewall_rule: modified validation to support the
  default firewall rule
- gcp_cloudfunctions_cloud_function: bootstrapping the required GS
  bucket and files for creating a valid cloud function.
  - Slight update to the functionality, which now requires a runtime
    specified for new functions.
-
2022-10-08 17:36:39 +00:00
Yusuke Tsutsumi
c5723b214f
Enabling working integration tests (#504)
Enabling tests that work without any further modification as an
incremental step to enabling all integration tests.

Enabling 22 / 64 tests.

The following tests do not work today:

- gcp_appengine_firewall_rule
- gcp_bigtable_instance
- gcp_cloudfunctions_cloud_function
- gcp_cloudtasks_queue
- gcp_compute_backend_service
- gcp_compute_external_vpn_gateway
- gcp_compute_forwarding_rule
- gcp_compute_instance
- gcp_compute_instance_group
- gcp_compute_instance_group_manager
- gcp_compute_instance_group_template
- gcp_compute_node_group
- gcp_compute_region_autoscaler
- gcp_compute_region_instance_group_manager
- gcp_compute_region_target_http_proxy
- gcp_compute_region_target_https_proxy
- gcp_compute_region_url_map
- gcp_compute_route
- gcp_compute_router
- gcp_compute_ssl_certificate
- gcp_compute_target_http_proxy
- gcp_compute_target_https_proxy
- gcp_compute_target_instance
- gcp_compute_target_pool
- gcp_compute_target_ssl_proxy
- gcp_compute_target_tcp_proxy
- gcp_compute_target_vpn_proxy
- gcp_container_cluster
- gcp_container_node_pool
- gcp_iam_role
- gcp_iam_service_account
- gcp_iam_service_account_key
- gcp_kms_key_ring
- gcp_mlengine_version
- gcp_redis_instance
- gcp_resourcemanager_project
- gcp_serviceusage_service
- gcp_spanner_database
- gcp_spanner_instance
- gcp_sql_ssl_cert
- gcp_storage_bucket
- gcp_tpu_node
2022-10-04 21:04:32 +00:00