Bug 1509900 - Improve documentation for taskcluster-load-image. r=dustin

Differential Revision: https://phabricator.services.mozilla.com/D12932

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Kartikaya Gupta 2018-11-26 18:24:43 +00:00
Родитель 5319d62937
Коммит 7a4b1d8a07
1 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -421,17 +421,18 @@ class TaskClusterImagesProvider(MachCommandBase):
self.virtualenv_manager.install_pip_package('zstandard==0.9.0')
@Command('taskcluster-load-image', category="ci",
description="Load a pre-built Docker image")
description="Load a pre-built Docker image. Note that you need to "
"have docker installed and running for this to work.")
@CommandArgument('--task-id',
help="Load the image at public/image.tar.zst in this task,"
help="Load the image at public/image.tar.zst in this task, "
"rather than searching the index")
@CommandArgument('-t', '--tag',
help="tag that the image should be loaded as. If not "
"image will be loaded with tag from the tarball",
metavar="name:tag")
@CommandArgument('image_name', nargs='?',
help="Load the image of this name based on the current"
"contents of the tree (as built for mozilla-central"
help="Load the image of this name based on the current "
"contents of the tree (as built for mozilla-central "
"or mozilla-inbound)")
def load_image(self, image_name, task_id, tag):
self._ensure_zstd()