{"push_id":717512676,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"49d1433b7fec4b589a9b7c156b32970ce5a05e3d","before":"05039ea38a1edd64526fd37aa97e54d0088a0482","commits":[{"sha":"49d1433b7fec4b589a9b7c156b32970ce5a05e3d","author":{"email":"020599972797a60dcdadbb540a43a9f4f155c306@datadoghq.com","name":"Etienne LAFARGE"},"message":"[Omnibus4] OSX build box for dd-agent\n\nThis is a building box for our Datadog agent on OSX. It differs slightly\nfrom the other build boxes we have. It's using pretty standard tools\n(Vagrant, Chef and Berkshelf...) but it's using them in a rather\nuncommon way and this, for two different reasons:\n- We rely on VirtualBox to run our OSX VM... and Virtualbox doesn't\n  support folder sharing and therefore, there's no way to use Vagrant\n  Berkshelf (it creates shared folder between the host and the VM under\n  the hood but ssshhh, it's a secret).\n- We don't know yet whether the build will be run in a VM or directly on\n  the build machine so the provisioning process had to be totally\n  independant from Vagrant.\n\nSo here's how it goes: the machine (VM or not) is provisionned using\nchef-solo... this being said, it requires to install chef-solo along\nwith a couple of other dependencies for which there's no OSX recipe on\nthe chef-supermarket.\n\nThis first provisioning step is taken care of by the `provision.sh`\nshell script. As a matter of fact, Vagrant also uses this one in case\nit's used to spawn a virtual build machine. This script takes care of\ninstalling everything we need, `chef-solo` being at the center of it.\n\nThat same script then runs chef solo on the dd-agent-osx-build recipe.\nIt's gonna setup an Omnibus build environment on the machine using the\nomnibus::default recipe on the chef market. It also takes care of\ncreating the folders required by omnibus with proper rights on it. Our\nrecipe is ridiculously small but it actually makes a lot of things under\nthe hood (all of it having been written by the Chef team).\n\nThe the script will pull the dd-agent-omnibus project, generate binstubs\nfor it and that all. You just have to launch\n`dd-agent-omnibus/omnibus_build.sh`, sit back and watch (for quite a\nlong time actually, 1h30 on a VM on our Macbook pros and 45-50minutes on\nreal hardware (16GB RAM + 3GHz i7).\n\nHave fun !","distinct":true,"url":"https://api.github.com/repos/DataDog/osx-dd-agent-build-box/commits/49d1433b7fec4b589a9b7c156b32970ce5a05e3d"}]}