Commit graph

9 commits

Author SHA1 Message Date
Chris Hawk
009a6e7d31 chore: use the correct molecule driver package 2023-11-20 10:45:06 -08:00
Chris Hawk
08ada5354d fix: upgrade ansible version, address test and lint errors 2023-11-17 16:39:42 -08:00
Chris Hawk
bf74697b3f feat: add support for using application default credentials when running integration tests 2023-11-09 16:34:51 -08:00
Yusuke Tsutsumi
d063d44b73 fixing gcp_resourcemanager_project delete
gcp_resourcemanager_project was not properly deleting projects.

fixing gcp_resourcemanager_project as well.

fixes #530.
2022-12-12 22:25:24 -08:00
Yusuke Tsutsumi
1ec54b286d prepping for 1.1.0-beta release
- Updating and documenting changelog creation process.
  antsibull-changelog was chosen because it is the standard tooling
  recommended by Ansible developers.
- Documenting the release process and several others so others can perform it in the
  future.
- Updating the integration tests to test against 2.13, which the 1.1.0
  final release will be certified for.
- Created changelog and update galaxy.yaml for 1.1.0-beta, which will be
  the next release.
2022-12-04 12:00:59 -08:00
Yusuke Tsutsumi
f692dd4c76 fix role tests
Ansible role tests were failing due to ansible-lint reporting
multiple errors.

Fixing those errors resolves the failing tests.

Switching gcsfuse to use gcloud's bootstrap to follow the current
docker install instructions.

Removing centos as it's a discontinued distribution.

Adding a check to ensure integration tests are skipped unless they
are run by a branch (a public fork does not pass required
integration test credentials).
2022-11-29 23:12:26 -08: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
76677279f0
Adding integration tests on PRs (#502)
To help catch issues from PRs that would regress behavior,
adding a GitHub action similar to unit tests to run integration
tests.

GitHub actions do not pass secrets to actions which are triggered
by PRs sent from forks. As a result, it is not possible to have CI
run on the forks from external contributors. Currently implementing a
process that requires manual review until a more direct solution is
found.

Adding some basic instructions for future maintainers and contributors.
2022-10-01 18:23:22 +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