Deploy ATD with Datacenter topology and ceos image.
Copy paste the install.sh script from this PR under /home/coder/project/persist
Run install script with any PR you wish to test.
Eg: sh install.sh 553
NOTE: The script is not entirely testable since it assumes that tests/PR_testing/ansible.cfg and tests/PR_testing/inventory.yaml to be present in devel.
Place the contents of ansible.cfg from this PR under /home/coder/project/persist/arista-ansible/ansible-cvp/tests/PR_testing/ansible.cfg
Place the contents of inventory.yaml from this PR under /home/coder/project/persist/arista-ansible/ansible-cvp/tests/PR_testing/inventory.yaml
Change Summary
Script to test PR using ATD
How to test
Datacenter
topology andceos
image.install.sh
script from this PR under/home/coder/project/persist
sh install.sh 553
tests/PR_testing/ansible.cfg
andtests/PR_testing/inventory.yaml
to be present indevel
.ansible.cfg
from this PR under/home/coder/project/persist/arista-ansible/ansible-cvp/tests/PR_testing/ansible.cfg
inventory.yaml
from this PR under/home/coder/project/persist/arista-ansible/ansible-cvp/tests/PR_testing/inventory.yaml
cp -r /home/coder/project/persist/arista-ansible/ansible-cvp/tests/PR_testing/ansible.cfg /home/coder/project/persist/PR_testing
cp -r /home/coder/project/persist/arista-ansible/ansible-cvp/tests/PR_testing/inventory.yaml /home/coder/project/persist/PR_testing
cd /home/coder/project/persist/PR_testing
ansible-galaxy collection install community.general
ansible-galaxy collection install ansible.netcommon
ansible-galaxy collection install arista.eos
ansible_password
variable in/home/coder/project/persist/PR_testing/inventory.yaml
/home/coder/project/persist/PR_testing/
Checklist
Repository Checklist