Add download localhost and enable for CI

* Add download_localhost for the download_run_once mode, which is
  use the ansible host (a travis node for CI case) to store and
  distribute containers across cluster nodes in inventory.
  Defaults to false.
* Rework download_run_once logic to fix idempotency of uploading
  containers.
* For Travis CI, enable docker images caching and run Travis
  workers with sudo enabled as a dependency
* For Travis CI, deploy with download_localhost and download_run_once
  enabled to shourten dev path drastically.
* Add compression for saved container images. Defaults to 'best'.

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
Co-authored-by: Aleksandr Didenko <adidenko@mirantis.com>
This commit is contained in:
Bogdan Dobrelya
2016-11-18 13:29:03 +01:00
parent 3e687bbe9a
commit a03540dabc
6 changed files with 61 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
# Valid bootstrap options (required): ubuntu, coreos, none
bootstrap_os: "none"
bootstrap_os: "none"
# Directory where the binaries will be installed
bin_dir: /usr/local/bin