Revision 46a07468 ci/snf-ci
b/ci/snf-ci | ||
---|---|---|
25 | 25 |
USAGE = """usage: %%prog [options] command |
26 | 26 |
|
27 | 27 |
command: |
28 |
* %s Create the slave server |
|
28 |
* %s: Create the slave server
|
|
29 | 29 |
* %s: Create debian packages for Synnefo in the created server |
30 | 30 |
* %s: Deploy Synnefo in created server |
31 | 31 |
* %s: Run Synnefo unittests |
... | ... | |
54 | 54 |
action="store_true", default=False, |
55 | 55 |
help="Download the debian packages that were created" |
56 | 56 |
" during the '%s' step." % BUILD_SYNNEFO_CMD) |
57 |
parser.add_option("--schema", dest="schema", default=None, |
|
58 |
help="Schema for snf-deploy.") |
|
57 | 59 |
|
58 | 60 |
(options, args) = parser.parse_args() |
59 | 61 |
|
... | ... | |
91 | 93 |
if options.fetch_packages: |
92 | 94 |
synnefo_ci.fetch_packages() |
93 | 95 |
if getattr(options, DEPLOY_SYNNEFO_CMD, False): |
94 |
synnefo_ci.deploy_synnefo() |
|
96 |
synnefo_ci.deploy_synnefo(schema=options.schema)
|
|
95 | 97 |
if getattr(options, TEST_SYNNEFO_CMD, False): |
96 | 98 |
synnefo_ci.unit_test() |
97 | 99 |
if getattr(options, RUN_BURNIN_CMD, False): |
Also available in: Unified diff