def RPMUploadCommand(args): # pragma: no cover jc = JuicerCommand(args) for environment in jc.args.environment: jc.output.info("Starting upload for {} environment".format(environment)) cart = juicer.cart.Cart('upload-cart', jc.args.r) cart.upload_items(environment, jc.connections[environment])
def RPMUploadCommand(args): # pragma: no cover jc = JuicerCommand(args) for environment in jc.args.environment: jc.output.info( "Starting upload for {} environment".format(environment)) cart = juicer.cart.Cart('upload-cart', jc.args.r) cart.upload_items(environment, jc.connections[environment])
def CartPushCommand(args): # pragma: no cover jc = JuicerCommand(args) cart = juicer.cart.Cart(jc.args.cartname, autoload=True, autosave=True, autosync=False) for environment in jc.args.environment: cart.upload_items(environment, jc.connections[environment], jc.args.force)