summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/deploy.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/deploy.py')
-rw-r--r--scripts/lib/devtool/deploy.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index c90c6b1f76..0236c53726 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -131,7 +131,9 @@ def undeploy(args, config, basepath, workspace):
131 131
132def register_commands(subparsers, context): 132def register_commands(subparsers, context):
133 """Register devtool subcommands from the deploy plugin""" 133 """Register devtool subcommands from the deploy plugin"""
134 parser_deploy = subparsers.add_parser('deploy-target', help='Deploy recipe output files to live target machine') 134 parser_deploy = subparsers.add_parser('deploy-target',
135 help='Deploy recipe output files to live target machine',
136 group='testbuild')
135 parser_deploy.add_argument('recipename', help='Recipe to deploy') 137 parser_deploy.add_argument('recipename', help='Recipe to deploy')
136 parser_deploy.add_argument('target', help='Live target machine running an ssh server: user@hostname[:destdir]') 138 parser_deploy.add_argument('target', help='Live target machine running an ssh server: user@hostname[:destdir]')
137 parser_deploy.add_argument('-c', '--no-host-check', help='Disable ssh host key checking', action='store_true') 139 parser_deploy.add_argument('-c', '--no-host-check', help='Disable ssh host key checking', action='store_true')
@@ -139,7 +141,9 @@ def register_commands(subparsers, context):
139 parser_deploy.add_argument('-n', '--dry-run', help='List files to be deployed only', action='store_true') 141 parser_deploy.add_argument('-n', '--dry-run', help='List files to be deployed only', action='store_true')
140 parser_deploy.set_defaults(func=deploy) 142 parser_deploy.set_defaults(func=deploy)
141 143
142 parser_undeploy = subparsers.add_parser('undeploy-target', help='Undeploy recipe output files in live target machine') 144 parser_undeploy = subparsers.add_parser('undeploy-target',
145 help='Undeploy recipe output files in live target machine',
146 group='testbuild')
143 parser_undeploy.add_argument('recipename', help='Recipe to undeploy') 147 parser_undeploy.add_argument('recipename', help='Recipe to undeploy')
144 parser_undeploy.add_argument('target', help='Live target machine running an ssh server: user@hostname') 148 parser_undeploy.add_argument('target', help='Live target machine running an ssh server: user@hostname')
145 parser_undeploy.add_argument('-c', '--no-host-check', help='Disable ssh host key checking', action='store_true') 149 parser_undeploy.add_argument('-c', '--no-host-check', help='Disable ssh host key checking', action='store_true')