Project

Profile

Help

Task #6753

Updated by Mark Zaslavskiy almost 6 years ago

<pre><code class="text">
vagrant@ns3014560:~/mdbci$ ./mdbci show boxes
INFO: MariaDb CI CLI
INFO: mdbci called with: ["show", "boxes"]
INFO: Checking this machine configuration requirments
INFO: .....NOT IMPLEMENTED YET
INFO: Load Boxes from ./BOXES
INFO: Loaded boxes: 35
INFO: Load AWS config from aws-config.yml
INFO: Load Repos from ./repo.d
INFO: Looking up for repos ./repo.d
INFO: Loaded repos: 752
/usr/lib/ruby/1.9.1/json/common.rb:278:in `generate': only generation of JSON objects or arrays allowed (JSON::GeneratorError)
from /usr/lib/ruby/1.9.1/json/common.rb:278:in `pretty_generate'
from /home/vagrant/mdbci/core/session.rb:234:in `show'
from /home/vagrant/mdbci/core/session.rb:270:in `commands'
from ./mdbci:91:in `<main>'
</code></pre>

Fix problem, move show boxes functionality to separeted function and create unittest

Back