Project

Profile

Help

Task #7106

Updated by Ilfat Kinyaev about 4 years ago

# 1. Create configuration. Should create dir with config.
./mdbci --template confs/docker_lite.json generate SOME_DIR
./mdbci --template confs/docker_lite.json generate SOME_DIR2



# 2. Up node\nodes. Result: in SOME_DIR "vagrant status" should write running machines.
./mdbci up SOME_DIR2 SOME_DIR

# 3. Print node\nodes IP. NOTE: if some node stopped, function will raise error.
./mdbci show network SOME_DIR

# 4. Run tests for function. All tests must passed, and echo $?=>0.
pathToStoppedConfigToNode=SOME_DIR pathToConfigToNode=SOME_DIR2 rspec spec/unit/7106_refactor_def_self.show_spec.rb

Back