Project

Profile

Help

Task #7108

Updated by Ilfat Kinyaev over 5 years ago

# 1. Generate node
./mdbci --template confs/mdbci_up_aws_test_config.json generate SOME_DIR

# 2. Up node\nodes .
./mdbci up SOME_DIR

# 3. Show IP: must print info:
# Node: node_name
# IP: ip_of_node
./mdbci show private_ip SOME_DIR

# 4. For test: write path to generated and upped node\nodes at configPath ENV[] (all tests must be passed and echo $? => 0): passed):
configPath=SOME_DIR/galera0 rspec spec/unit/7108_show_private_ip_spec.rb

Back