Chris Hawk
0074be1248
chore: address cleanup script linter warnings
2023-11-13 11:54:09 -08:00
Chris Hawk
1dc5166ca0
chore: use https when adding the gcsfuse apt repo
2023-11-10 16:45:40 -08:00
Chris Hawk
38932afee9
chore: update container versions for molecule tests
2023-11-10 15:44:49 -08:00
Chris Hawk
4b76e12c88
chore: cd to the repo root when running role tests
2023-11-10 14:40:44 -08:00
Chris Hawk
d13c4d6b0f
chore: use the correct molecule driver package
2023-11-10 14:23:27 -08:00
Chris Hawk
f1fe6f9145
chore: update ubuntu to latest; 18.04 is no more
2023-11-10 13:50:56 -08:00
Chris Hawk
92eb9c814b
chore: update GitHub actions to their latest versions
2023-11-10 12:57:09 -08:00
Chris Hawk
7dcce5e379
feat: allow application default credentials when running integration tests
...
feat: allow application default credentials when running integration tests
2023-11-10 12:06:06 -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
Jeff Erbrecht
d0028188df
Checkout submodules during lint workflow
2023-09-12 09:22:16 -04:00
Jeff Erbrecht
779f171793
Update roles/google_cloud_ops_agents submodule to 1.0.7.
2023-09-12 09:19:23 -04:00
Chris Hawk
611e6d96db
fix: don't send empty arguments to gcloud in the cleanup script
...
fix: don't send empty arguments to gcloud in the cleanup script
2023-09-05 12:44:17 -07:00
Chris Hawk
dce75efa9e
fix: don't send empty arguments to gcloud in the cleanup script
2023-08-31 15:00:38 -07:00
Chris Hawk
85603ae106
fix: check for labels in json dict when using them for hostnames
2023-08-31 12:57:25 -07:00
John Jarvis
3714be2936
fix: check for labels in json dict
2023-08-30 18:44:42 +02:00
Alina Buzachis
84503b7930
Fix doc_fragments/gcp.py ( #587 )
...
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
2023-07-22 00:31:54 +00:00
Dave Costakos
40d2c9a7d5
updated plugsins based on feedback, fixed linting and documentation errors.
2023-07-14 10:33:15 -07:00
Dave Costakos
3ce29db3ee
updated plugsins based on feedback, fixed linting and documentation errors.
2023-07-14 10:31:52 -07:00
Dave Costakos
375b317692
Merge branch 'ansible-collections:master' into gcp_secret_manager
2023-07-14 10:29:52 -07:00
Yusuke Tsutsumi
3da1c3462e
chore: fully update 1.2.0 changelog ( #584 )
...
missed an antsibull-release.
2023-07-07 16:06:35 -07:00
Yusuke Tsutsumi
e0fc6bab83
chore: update changelog to 1.2.0 ( #583 )
2023-07-07 16:03:17 -07:00
Irfan
75f3198605
Fix typo in documentation ( #577 )
2023-07-07 15:31:15 -07:00
Yusuke Tsutsumi
d1277f829b
fix: iam service account key path must not exist ( #576 )
...
Update docs to explain that the json secret key must not
already exist, or the module will try to read it.
fixes #370
2023-07-07 15:05:09 -07:00
Dave Costakos
953b06ff05
updated lookuup plugin based on comment 76eb024c25
#
2023-06-22 14:36:55 -07:00
Dave Costakos
76eb024c25
Adding support for Google Secret Manager for issue 543
2023-06-21 16:24:14 -07:00
Yusuke Tsutsumi
30a4e66363
fix: use default service account if unset ( #572 )
...
`service_account_email` defaults to None if one
is not set. For gcp_compute_instance_info, this results
in an invalid request as the service account is populated
directly in the path.
Populating `default` when a value is not set fixes the error.
fixes #568
2023-06-10 11:39:44 -07:00
Shlomo Shuck
203961b045
feat: add auth support for GCP access tokens ( #574 )
...
Introduce choice "accesstoken" for auth_kind for modules
Introduce optional access_token string param that falls back to
GCP_ACCESS_TOKEN env var
2023-06-10 11:20:57 -07:00
Samir Faci
86e0cef208
Adding support for ip_allocation_policy->stack_type
2023-04-22 12:28:05 -07:00
Samir Faci
cd35f3bce6
Adding DataPlane V2 support.
...
fix for #566
2023-04-22 12:28:05 -07:00
Yusuke Tsutsumi
15c36acbf0
release: 1.1.3
...
changes needed to release ansible 1.1.3.
2023-03-04 18:14:17 +00:00
Yusuke Tsutsumi
db81dcd5d5
test: disable flakey spanner test
...
The test continually fails due to an existing database being
created, hich implies the GET isn't returning the proper response.
2023-02-20 10:38:27 -08:00
Yusuke Tsutsumi
0ad88dc39d
test: disable gcp_bigtable_instance test
...
The test is still flakey currently. A few attempts have
been made to fix it, but it seems that the bigtable API
does not consistently return the resource after is has
been created.
While exploring ways to make it more robust, disabling the
test to keep the CI tests from being unreliable to the point
of useless.
2023-02-18 14:08:04 -08:00
Yusuke Tsutsumi
12438f9bfb
fix: correct gcp_compute_instance_info filter docs
...
The link for filter documentation was pointing to
gcloud, which isn't correct as gcp_compute_instance_info
communicates with the API.
fixes #549
2023-02-18 12:20:50 -08:00
Yusuke Tsutsumi
252f215f2c
fix: remove version_added in gcp_compute
...
The version_added field is documented for a very small set of
fields, specifically in gcp_compute today.
Removing these values as they are specifying the ansible-core version
which is confusing for those who are installing via ansible-galaxy,
and the value is not set for any other module.
fixes #550 .
2023-02-18 11:46:35 -08:00
Yusuke Tsutsumi
791e11d45d
chore: pin ansible-lint to 6.13.1
...
ansible-lint was updated and the GitHub
action did not pin the dependency, resulting
in the repository to fail sanity tests.
Updating the repository to adhere to new fatal
linter rules, but also pinning the linter to
prevent failures that may be unrelated to the
particular commit.
Updating usages for python3.8 to 3.9 as ansible-lint
is dropping support for 3.8.
2023-02-18 11:44:25 -08:00
Yusuke Tsutsumi
75d4ded736
tests: updating the route test
...
validating the update of a route works as per concerns raised in #542
2023-02-10 16:48:29 -08:00
laithalissa
5d56d3f2d2
Update example inventory filter
...
Update the example inventory filter to not use a machineType filter. The existing
machineType filter example is erroneous, see
https://github.com/ansible-collections/google.cloud/issues/421#issuecomment-1361680826
Change the filter to use "status = RUNNING"
2023-02-10 16:39:28 -08:00
Yusuke Tsutsumi
c99ecc511f
gcp_storage_object asserts for dest on upload
...
The `dest` field is required for upload and delete. This was not
explicitly documented nor asserted.
Fixes #235 .
2023-02-03 16:48:55 -08:00
Nikolaos Kakouros
286dcaed56
Removes duplicate lines
2023-01-23 14:33:26 -08:00
nkakouros
30c2bbd84e
Fixes GcpRequest comparison for boolean parameters
...
Fixes #402 .
2023-01-23 14:33:26 -08:00
S. Shuck
226ec3dd3f
Improve error handling for auth_kind 'serviceaccount'
...
Fixes ansible-collections/google.cloud#538 .
2022-12-29 12:59:12 -08:00
Yusuke Tsutsumi
0ed49af7df
re-add gcp_compute as a valid plugin name
...
commit ccbde5f93e
introduced
a backwards-incompatible change which made ansible-inventory
no longer recognize `gcp_compute` as a valid package name.
This would break users who are use `gcp_compute` (instead of the
new `google.cloud.gcp_compute`). Accepting both until at least
a major version change.
fixes #536 .
2022-12-21 09:34:56 -08:00
Yusuke Tsutsumi
509e0207ff
tests: add sanity tests for python 2.7
...
Automation Hub still runs sanity tests on python 2.7
updating release to 1.1.1 to publish a new version.
2022-12-16 09:40:24 -08:00
Yusuke Tsutsumi
cbae062c98
updating galaxy.yml file to 1.1.0
...
required for publishing a new release
2022-12-16 16:18:07 +00:00
Yusuke Tsutsumi
1ff057fd1c
release 1.1.0
...
Updating changelong and dates to match 1.1.0 release.
2022-12-16 08:13:18 -08:00
Yusuke Tsutsumi
2db181d084
fix gcp_iam_role not updating
...
gcp_iam_role was not updating previously. The API uses a PATCH and
not a PUT.
Also fixing an accidental leftover diff from a bad merge.
fixes #236 .
2022-12-15 23:04:47 -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
4907356bba
fixing ansible-lint errors, fix gcsfuse
...
Ansible-lint is required for Ansible collection
certification for Automation Hub.
gcsfuse had no metadata associated with it, failing
the Ansible Hub upload.
2022-12-10 10:49:01 -08:00
Yusuke Tsutsumi
a9545c77a4
fix linting and updating maintenance guide
...
Updating the maintainers guide with updated intructions from
Ansible engineers.
Fixing linting issues, and adding the linter as a GitHub workflow
to ensure there are no regressions.
2022-12-07 15:36:21 -08:00
Yusuke Tsutsumi
3fb4763e37
fix automation hub workflow
...
The automation hub workflow was passing an incorrect API key.
2022-12-05 09:08:39 -08:00