Change 32870

russell_jackson (Russell C. Jackson (Rusty))
Russell C. Jackson (Rusty) committed this change into //guest/russell_jackson
Request Review
Download .zip
ansible-sdp: add test.sh harness runner + manage_etc_hosts for test hosts

test.sh / tasks/test.yml / main-playbook (run_sdp_tests flag): run the SDP
functional test harness (/p4/sdp/test/sdp_test_harness.sh) on a target via
ansible and report pass/fail, matching the ping/install/monitor helper pattern.

manage_etc_hosts (default false; true in p4-cache-test host_vars): map the SDP
server DNS names (perforce_dnsname/standby = P4MASTERPORT) to this host in
/etc/hosts so master-targeting scripts (rotate_journal, daily_checkpoint,
p4login_master) resolve on test boxes that lack real DNS.
  • Files 7
  • Comments 0
5 edited 2 added 0 deleted
ansible-sdp/inventories/host_vars/p4-cache-test.yml#2
Loading...
ansible-sdp/main-playbook.yml#4
Loading...
ansible-sdp/roles/perforce-sdp-install/defaults/main.yml#4
Loading...
ansible-sdp/roles/perforce-sdp-install/tasks/main.yml#5
Loading...
ansible-sdp/roles/perforce-sdp-install/tasks/test.yml#1
Loading...
ansible-sdp/test.sh#1
Loading...
sdp/test/sdp_test_harness.sh#2
Loading...
Tip: Use n and p to cycle through the changes.