mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 02:11:38 +02:00
Use rsync to push bits (ONOS tar contents), when environment variable USE_RSYNC is set to true. This enables sending only changed .jar, now whole ONOS tar ball. + Minor optimization to reuse build machine to remote host ssh session push bits: 1) unpackage ONOS tar to tmp stage dir 2) rsync local stage to remote stage /tmp/$ONOS_BITS 3) package ONOS tar equivalent at remote node push bits via proxy: 1) rsync: build <=> proxy 2) scp : proxy => cell nodes (tar packaged at proxy) 3) rsync: build <==========> cell nodes (almost no-op) Known limitation: - rsync at Step 3 is triggered since repackaging same content remotely result in tar ball with different hash value. (Probably due to directory timestamp/uid difference) - automatically installing rsync only supported for debian/ubuntu Change-Id: Ibc9013b973c312798d2c36e7d25f5274f085b39f
Artifacts for system testing onos.