Add DEPENDENCIES file and source Vagrant and tests versions from it.

- One unique file to list all dependencies and dependencies' versions (except Go, currently defined in `build/Dockerfile`).
- Custom versions can now be injected into Vagrant VMs.
- Vagrant dev VMs, Vagrant test VMs, and `run-integration-tests.sh` all source from `DEPENDENCIES`, to keep things 'DRY'.
- Vagrant versions can be overriden using environment variables, like it was possible in `run-integration-tests.sh`.
This commit is contained in:
Marc CARRE committed 2017-02-13 19:54:38 +00:00
1 parent 3ce8aec039
commit 1b45e8662e
5 files changed
+22 -4

No files matched your search

Vendored
+1 -1
View File
@@ -29,7 +29,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
ansible.playbook = 'tools/config_management/setup_weave-net_dev.yml'
ansible.extra_vars = {
go_version: GO_VERSION
}
}.merge(ansibleize(get_dependencies_version_from_file_and_env()))
end
end