summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/bootstrap-host/tasks
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-26 21:27:15 +0100
committerMarkos Chandras <mchandras@suse.de>2018-03-26 21:38:38 +0100
commit21359d155dbfc98e7fa7835c12318feb1ef191fb (patch)
tree2a73cf116a52e6319beab7453303c00826c04a9c /xci/playbooks/roles/bootstrap-host/tasks
parent8f3c33c97acc5fc10a83e7cc7635da67e2460769 (diff)
xci: get-opnfv-scenario-requirements: Use checksum for rsync updates
Rsync will update modification times on transferred files so Ansible marks the task as 'changed' all the time even though the source and destination files are the same. This is confusing for XCI developers because they may think that there are local changes to the scenarios which is not always the case. As such, compare the 'checksums' of the actual files to determine if there are any changes that need to be copied over. This requires us to turn off the 'archive' option and use the individual options directly. This fixes the following problem where in a typical XCI job, all inbound scenarios appear to have changes which is not true. Mar 26 15:10:24 TASK [Synchronize local changes to scenarios' master branch] ******************* Mar 26 15:10:24 ok: [localhost] => (item=os-odl-sfc) Mar 26 15:10:25 changed: [localhost] => (item=os-nosdn-nofeature) Mar 26 15:10:25 changed: [localhost] => (item=os-odl-nofeature) Mar 26 15:10:25 changed: [localhost] => (item=k8-nosdn-nofeature) Mar 26 15:10:26 ok: [localhost] => (item=os-odl-bgpvpn) Change-Id: I14f446c341a675b286e971f0b5c0be14d04abb9d Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/roles/bootstrap-host/tasks')
0 files changed, 0 insertions, 0 deletions