Revision 1d9f2031 ci/snf-ci

b/ci/snf-ci
80 80
                           BUILD_DOCS_SYNNEFO_CMD)
81 81
    parser.add_option("--schema", dest="schema", default=None,
82 82
                      help="Schema for snf-deploy.")
83
    parser.add_option("--local-repo", dest="local_repo", default=False,
84
                      action="store_true",
85
                      help="Instead of cloning from the official Synnefo"
86
                           " repo, copy and use the local one.")
83 87

  
84 88
    (options, args) = parser.parse_args()
85 89

  
......
111 115
        synnefo_ci.create_server(flavor_name=options.flavor,
112 116
                                 image_id=options.image,
113 117
                                 ssh_keys=options.ssh_keys)
114
        synnefo_ci.clone_repo()
118
        synnefo_ci.clone_repo(local_repo=options.local_repo)
115 119
    if getattr(options, BUILD_SYNNEFO_CMD, False):
116 120
        synnefo_ci.build_synnefo()
117 121
        if options.fetch_packages:

Also available in: Unified diff