Skip to content

Commit 1b8a421

Browse files
committed
Add signing-service as an argument to repository creation
Signed-off-by: Balasankar 'Balu' C <[email protected]>
1 parent d4d8a43 commit 1b8a421

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pulpcore/cli/deb/repository.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
PulpRepositoryContext,
1111
)
1212
from pulp_glue.common.i18n import get_translation
13+
from pulp_glue.core.context import PulpSigningServiceContext
1314
from pulp_glue.deb.context import (
1415
PulpAptRemoteContext,
1516
PulpAptRepositoryContext,
@@ -125,6 +126,14 @@ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str)
125126
# default=None,
126127
# ),
127128
retained_versions_option,
129+
resource_option(
130+
"--signing-service",
131+
default_plugin="deb",
132+
default_type="apt",
133+
context_table={"deb:apt": PulpSigningServiceContext},
134+
help=_("Apt only: Signing service to use, pass in name or href"),
135+
),
136+
128137
]
129138
create_options = update_options + [click.option("--name", required=True)]
130139

0 commit comments

Comments
 (0)