cg draft support

This commit is contained in:
Mike McLean 2024-06-27 15:10:48 -04:00 committed by Tomas Kopecek
parent 33a76afab4
commit 2fabf3d74f
5 changed files with 88 additions and 17 deletions

View file

@ -55,6 +55,7 @@ admin commands:
remove-tag Remove a tag
remove-tag-inheritance Remove a tag inheritance link
remove-target Remove a build target
reserve-cg Reserve a build entry for later import
restart-hosts Restart enabled hosts
revoke-cg-access Remove a user from a content generator
revoke-permission Revoke a permission from a user

View file

@ -55,6 +55,7 @@ admin commands:
remove-tag Remove a tag
remove-tag-inheritance Remove a tag inheritance link
remove-target Remove a build target
reserve-cg Reserve a build entry for later import
restart-hosts Restart enabled hosts
revoke-cg-access Remove a user from a content generator
revoke-permission Revoke a permission from a user

View file

@ -185,11 +185,13 @@ class TestImportCG(utils.CliTestCase):
(Specify the --help global option for a list of other help options)
Options:
-h, --help show this help message and exit
--noprogress Do not display progress of the upload
--link Attempt to hardlink instead of uploading
--test Don't actually import
--token=TOKEN Build reservation token
-h, --help show this help message and exit
--noprogress Do not display progress of the upload
--link Attempt to hardlink instead of uploading
--test Don't actually import
--token=TOKEN Build reservation token
--draft Import as a draft
--build-id=BUILD_ID Reserved build id
""" % self.progname)