nuagex / nuagex-labs

Collection of labs that can be deployed to nuagex platform and configured with CATS to demonstrate certain use cases.
3 stars 1 forks source link

rework current labs to pass CATS variables in a `docker run` command #16

Open hellt opened 5 years ago

hellt commented 5 years ago

use

# issued on the jumpbox VM
# flags
## -X -- stop the execution on first error
## -v variable_name:variable_value -- set variable value
docker run -t \
  -v ${HOME}/.ssh:/root/.ssh \
  -v /home/admin/nuagex-labs/0010-VNS-BASIC-1/cats:/home/tests \
  nuagepartnerprogram/cats:5.3.2 \
    -v vsd_password:<VSD_PASSWORD> \
    -X /home/tests

instead of asking a user to edit the vars.robot file