1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/unit/plugins/modules/source_control/gitlab
patchback[bot] bf185573a6
gitlab_user: add expires_at option (#2450) (#2506)
* gitlab_user: add expires_at option

* Add changelog

* Add integration test

* Add expires_at to addSshKeyToUser function

* password is required if state is set to present

* Check expires_at will not be added to a present ssh key

* add documentation about present ssh key

* add expires_at to unit tests

* Improve documentation

Co-authored-by: Felix Fontein <felix@fontein.de>

* Only pass expires_at to api when it is not None

* Emphasize on SSH public key

* Apply felixfontein suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 054eb90ae5)

Co-authored-by: Amin Vakil <info@aminvakil.com>
2021-05-14 10:34:47 +02:00
..
__init__.py Move modules and module_utils unit tests to correct place (#81) 2020-03-31 10:42:38 +02:00
gitlab.py Allow gitlab_runner to function for non-admin users (#1491) 2021-01-24 21:02:44 +01:00
test_gitlab_deploy_key.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
test_gitlab_group.py added description parameter to create request (#1196) 2020-11-11 13:33:38 +01:00
test_gitlab_hook.py sanity: Add future boilerplate (#573) 2020-06-24 21:50:36 +02:00
test_gitlab_project.py gitlab_project: add support for merge_method on projects (#636) 2020-07-14 20:17:46 +05:30
test_gitlab_runner.py Allow gitlab_runner to function for non-admin users (#1491) 2021-01-24 21:02:44 +01:00
test_gitlab_user.py gitlab_user: add expires_at option (#2450) (#2506) 2021-05-14 10:34:47 +02:00