mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
github_secrets: new module (#11514)
* add support for managing GitHub secrets
* fix tab
* update for sanity
* more sanity fixes
* update botmeta
* formating
* remove list function
* remove docstring, format text strings and return codes
* switch to deps
* black and ruff doesnt get along
* initial unit tests
* update non-existing secret test
* update description and details
* handle when a secret cant be deleted
* fail if not acceptable error codes
* add test for non-acceptable status codes
* remove local ruff config
* allow empty strings
* set required_
* extend tests
* cleanup
* cover all, got a git urlopen error
* cover all, got a git urlopen error
* ensure value cant be None
* check_mode
* bump to 12.5.0
* Update plugins/modules/github_secrets.py
* extend check_mode and related tests
* split constants and return dict when checking secret
* switch to HTTPStatus
* replace DELETE and UPDATE with NO_CONTENT
* Update plugins/modules/github_secrets.py
* Update plugins/modules/github_secrets.py
* update tests
* Update plugins/modules/github_secrets.py
* Update plugins/modules/github_secrets.py
* Update plugins/modules/github_secrets.py
* Update plugins/modules/github_secrets.py
* Update plugins/modules/github_secrets.py
---------
(cherry picked from commit 46ffec6f0e)
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
Co-authored-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
60 lines
1.9 KiB
Text
60 lines
1.9 KiB
Text
# Copyright (c) Ansible Project
|
|
# 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
|
|
|
|
|
|
# requirement for the memcached cache plugin
|
|
python-memcached < 1.60 ; python_version < '3.6'
|
|
python-memcached ; python_version >= '3.6'
|
|
|
|
# requirement for the redis cache plugin
|
|
redis
|
|
async-timeout ; python_version == '3.11'
|
|
|
|
# requirement for the linode module
|
|
linode-python # APIv3
|
|
linode_api4 # APIv4
|
|
|
|
# requirement for the gitlab and github modules
|
|
python-gitlab
|
|
PyGithub
|
|
httmock
|
|
pynacl
|
|
|
|
# requirement for maven_artifact module
|
|
lxml
|
|
semantic_version
|
|
|
|
# requirement for datadog_downtime module
|
|
datadog-api-client >= 1.0.0b3 ; python_version >= '3.6'
|
|
|
|
# requirement for dnsimple module
|
|
dnsimple >= 2 ; python_version >= '3.6'
|
|
dataclasses ; python_version == '3.6'
|
|
|
|
# requirement for the opentelemetry callback plugin
|
|
# WARNING: these libraries rely on Protobuf for Python, which regularly stops installing.
|
|
# That's why they are disabled for now.
|
|
# opentelemetry-api ; python_version >= '3.6' and python_version < '3.10'
|
|
# opentelemetry-exporter-otlp ; python_version >= '3.6' and python_version < '3.10'
|
|
# opentelemetry-sdk ; python_version >= '3.6' and python_version < '3.10'
|
|
|
|
# requirement for the elastic callback plugin
|
|
elastic-apm ; python_version >= '3.6'
|
|
|
|
# requirements for scaleway modules
|
|
passlib[argon2]
|
|
|
|
#requirements for nomad_token modules
|
|
python-nomad < 2.0.0 ; python_version <= '3.6'
|
|
python-nomad >= 2.0.0 ; python_version >= '3.7'
|
|
|
|
# requirement for jenkins_build, jenkins_node, jenkins_plugin modules
|
|
python-jenkins < 1.8.0 ; python_version < '3.8'
|
|
python-jenkins >= 0.4.12 ; python_version >= '3.8'
|
|
|
|
# requirement for json_patch, json_patch_recipe and json_patch plugins
|
|
jsonpatch
|
|
|
|
# requirements for the wsl connection plugin
|
|
paramiko >= 3.0.0 ; python_version >= '3.6'
|