Commit graph

233 commits

Author SHA1 Message Date
Yusuke Tsutsumi
372141f3ad tests: fixing gcp_compute_external_backend_service
The description field had a typo, resulting in an invalid payload.
2022-10-08 17:46:21 +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
Yusuke Tsutsumi
c025cea939
Add test instructions and fix region disk test (#500)
As a step toward adding integration testing into
the CI process for this project, adding instructions
on how to run the tests.

compute_region_disk was used as a test. Fixed
the tests which was previously hard-coded to
the `graphite-playground` GCP project to work
with the project in the user-configure .ini file.
2022-09-30 19:19:09 +00:00
Yusuke Tsutsumi
f6d42b4bc1
Adding a GitHub action to run ansible-test (#497)
As a first step to rehabilitate the google.cloud repository,
adding actions to help ensure that the collection is still
passing tests as changes are merged.

Details:

- ansible-devel was not added to the matrix since it may
  destablize the tests, primarily used to validate the collection.
- running sanity tests reported over 100+ issues, backlogged to #498
  before turning those on.
2022-09-23 18:42:29 +00:00
The Magician
fe79a8b1e1
Add generator information to generated resources (#5016) (#449)
Signed-off-by: Modular Magician <magic-modules@google.com>
2021-07-29 18:41:37 -05:00
Alex Stephen
ab270a08dc the last of the fixes 2020-08-05 17:48:31 -07:00
Alex Stephen
11e5da0e3a some fixes 2020-07-28 18:28:55 -07:00
Felix Fontein
6f2abc3a3c Add gcp_utils unit tests from community.general. 2020-05-19 08:52:07 +02:00
The Magician
1c5d5788c5
Ansible - Resource Policy (#3275) (#176)
* resource policy

* fixed

* rebase issues

* finally fixed

* async fix

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-03-19 17:18:32 -07:00
The Magician
1adb69f09a
Ansible - All the Regional Resources (#3264) (#175)
* region url map

* region instance group manager

* target http/https proxy

* region autoscaler

* revert some files

* adding min_version on TF

* Update products/compute/examples/ansible/region_target_https_proxy.yaml

Co-Authored-By: Chris Hawk <41700375+SirGitsalot@users.noreply.github.com>

Co-authored-by: Chris Hawk <41700375+SirGitsalot@users.noreply.github.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Chris Hawk <41700375+SirGitsalot@users.noreply.github.com>
2020-03-18 14:55:15 -07:00
The Magician
0be2684fe5
Ansible - Regional SSL Certs + Health Check (#3210) (#174)
* done

* first try!

* copyright

* changing examples

* removing google provider

* test fixes

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-03-17 15:56:54 -07:00
The Magician
79e3fe4704
Ansible - External VPN Gateways (#3260) (#173)
* adding the things

* rebase

* tf example

* removing google provider

* pr comments

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-03-17 15:01:30 -07:00
The Magician
e672b351a3
Ansible - Sql SSL Cert (#3262) (#172)
* sql ssl cert

* date

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-03-17 11:49:20 -07:00
The Magician
d1e68460a8
Ansible Default Object Access Control (#3200) (#164)
* example

* module

* Update products/storage/examples/ansible/default_object_acl.yaml

Co-Authored-By: Chris Hawk <41700375+SirGitsalot@users.noreply.github.com>

Co-authored-by: Chris Hawk <41700375+SirGitsalot@users.noreply.github.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Chris Hawk <41700375+SirGitsalot@users.noreply.github.com>
2020-03-03 12:47:31 -08:00
The Magician
caae08275f
Ansible: Bigtable Instances and Clusters (#3080) (#155)
Bigtable

Signed-off-by: Modular Magician <magic-modules@google.com>
2020-02-11 10:51:19 -08:00
guillaume blaquiere
8cc7c04820 Added attempt deadline to scheduler resource
Signed-off-by: Modular Magician <magic-modules@google.com>
2020-01-16 18:27:26 +00:00
Rimantas Ragainis
601625de62 Update instance.yaml
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-11-20 21:03:04 +00:00
Alex Stephen
c52213aa7e
[Ansible] Service Usage Services (#50)
[Ansible] Service Usage Services
2019-11-07 15:40:44 -08:00
Alex Stephen
c1becca3e9 test passes 2019-11-07 11:22:46 -08:00
Alex Stephen
4ed44df624 test 2019-11-07 11:22:46 -08:00
Alex Stephen
9edc53bf43 [Ansible] Service Usage Services
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-11-07 18:37:52 +00:00
Alex Stephen
95d6719dec Ansible - Logging Metrics
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-31 20:55:41 +00:00
Alex Stephen
8b084fde7c
[Ansible] Firewall update tests (#37)
[Ansible] Firewall update tests
2019-10-31 10:31:19 -07:00
Alex Stephen
80a47b8fa4 Ansible - Compute Target Instances + Reservations
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-29 21:52:20 +00:00
Alex Stephen
4ff80dc6c2 [Ansible] Firewall update tests
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-28 21:51:43 +00:00
Alex Stephen
209ca8c0e7 Ansible - RuntimeConfig Variables
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-23 20:58:53 +00:00
Alex Stephen
5824d06e8b Runtime Config configs
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-23 18:15:12 +00:00
Alex Stephen
5976ff606d Ansible Region Backend Services
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-03 23:52:53 +00:00
Alex Stephen
72ba9cd1a3 Ansible Network endpoint group
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-02 21:34:31 +00:00
Alex Stephen
563fb4cf96 ansible node group
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-10-02 19:43:24 +00:00
Alex Stephen
516fada880 Adding namespace on integration tests + examples
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-30 22:08:25 +00:00
Alex Stephen
afcb3f0c46 [Ansible] Node Template resource
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-19 22:18:05 +00:00
Alex Stephen
6e397c7e4c Ansible test refactor (preparing for custom tests)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-10 21:45:03 +00:00
Alex Stephen
d7f9a2782f moving tests 2019-09-05 15:10:46 -07:00
The Magician
fa63f28139 Integration Test fixes for BucketAccessControl and SQL Database (#368)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:19 -07:00
The Magician
aabadcfa7f Ansible KMS Modules (#362)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:19 -07:00
The Magician
56a8cc9157 Ansible Filestore Instances (#360)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:18 -07:00
The Magician
9487d67caf Ansible Cloud Functions (#350)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:17 -07:00
The Magician
1c89350d77 Backport doc changes from facts->info change (#341)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:17 -07:00
The Magician
effb6cdadd rename facts modules to info modules (#298)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:16 -07:00
The Magician
3950a52687 Cloud tasks (Ansible) (#326)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:14 -07:00
The Magician
24e74655f3 Ansible Autoscaler (#321)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:14 -07:00
The Magician
763e85f29e Compute Snapshots (#319)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:14 -07:00
The Magician
f3b3b04ecd ML Engine: Versions on Ansible (#315)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:13 -07:00
The Magician
459190f394 ML Engine: Models in Ansible (#313)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:12 -07:00
The Magician
72e4cc7214 Spanner Fixes (#301)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:12 -07:00
The Magician
0a98f084c2 fixing region_disk example (#308)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:12 -07:00
The Magician
0c6b1df789 ssl certs are formatted wrong (#307)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:12 -07:00
The Magician
5b92781ab0 Test Fixes (#299)
Signed-off-by: Modular Magician <magic-modules@google.com>
2019-09-04 18:04:11 -07:00