]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
python-common: replace types for extra_*_args with ArgSpec based types
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 17 May 2023 17:50:19 +0000 (13:50 -0400)
committerAdam King <adking@redhat.com>
Thu, 31 Aug 2023 17:35:15 +0000 (13:35 -0400)
commitc393ae46e39ca56ee6d68b50295b0ad8ef227184
treed15da8ca08d2cc4197320badccfab71c0502a6f3
parent0f14e74abbcd01775d79d89f6b6e8f1df3f7ee95
python-common: replace types for extra_*_args with ArgSpec based types

Use the ArgSpec, ArgumentList, and GeneralArgList types throughout
the deployment module to support extra_container_args and
extra_entrypoint_args. The GeneralArgList type supports all possible
input forms while ArgumentList reflects the internal representation
of the argument lists.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 925e09a46437bf9a8de0d7b853cdc3126ffe4260)

Conflicts:
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/deployment/drive_group.py
src/python-common/ceph/deployment/service_spec.py
src/python-common/ceph/tests/test_service_spec.py