[GitLab] Add modules to manager project badges (#5534)

* [GitLab] Add modules to manager project badges

Signed-off-by: Lunik <lunik@tiwabbit.fr>

* first review

Signed-off-by: Lunik <lunik@tiwabbit.fr>

* Update plugins/modules/gitlab_project_badge.py

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

Signed-off-by: Lunik <lunik@tiwabbit.fr>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Guillaume MARTINEZ 2022-11-18 23:49:25 +01:00 committed by GitHub
commit c7481c5c96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 447 additions and 0 deletions

View file

@ -0,0 +1,11 @@
---
# Copyright (c) 2022, Guillaume MARTINEZ <lunik@tiwabbit.fr>
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
gitlab_api_token: glpat-XXXXXXXXXXXXXXXXXXXX
gitlab_api_url: https://gitlab.com
gitlab_project_name: ansible_test_project
gitlab_badge_link_url: 'https://example.gitlab.com/%{project_path}'
updated_gitlab_badge_link_url: 'https://test.gitlab.com/%{project_path}'
gitlab_badge_image_url: 'https://example.gitlab.com/%{project_path}/badges/%{default_branch}/pipeline.svg'