From 35c116b872d9bb8e304dfdda2bd58e18dd6d44ef Mon Sep 17 00:00:00 2001 From: runseb Date: Fri, 4 Mar 2016 21:11:48 +0100 Subject: [PATCH] Add Vagrantfile for build --- hack/README.md | 24 ++++++++++++++++++++++++ hack/Vagrantfile | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 hack/README.md create mode 100644 hack/Vagrantfile diff --git a/hack/README.md b/hack/README.md new file mode 100644 index 000000000..65570d16e --- /dev/null +++ b/hack/README.md @@ -0,0 +1,24 @@ +Collection of convenience scripts +================================= + +[Vagrantfile](Vagrantfile) +-------------------------- + +A Vagrantfile to create a standalone build environment for helm. +It is handy if you do not have Golang and the dependencies used by Helm on your local machine. + + $ git clone https://github.com/kubernetes/deployment-manager.git + $ cd deployment-manager/hack + $ vagrant up + +Once the machine is up, you can SSH to it and start a new build of helm + + $ vagrant ssh + $ cd src/github.com/kubernetes/deployment-manager + $ make build + +[dm-push.sh](dm-push.sh) +------------------------ + +Run this from deployment-manager root to build and push the dm client plus +kubernetes install config into the publicly readable GCS bucket gs://get-dm. diff --git a/hack/Vagrantfile b/hack/Vagrantfile new file mode 100644 index 000000000..ffdb30e80 --- /dev/null +++ b/hack/Vagrantfile @@ -0,0 +1,49 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +GLIDE_VERSION = "0.9.1" +GO_VERSION = "1.6" + +$bootstrap=<