DataDog/dd-agent-builder

Name: dd-agent-builder

Owner: Datadog, Inc.

Description: Windows agent build recipe

Created: 2016-12-27 13:40:31.0

Updated: 2018-04-02 20:23:01.0

Pushed: 2018-04-30 09:36:28.0

Homepage: null

Size: 55

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dd-agent-builder cookbook

Used to build the agent on Windows. Heavily relies on the Chef Omnibus cookbook.

It has two recipes. The default recipes runs prepare then build.

dd-agent-builder::prepare

Installs Golang and all the dependencies of Omnibus, and downloads dd-agent-omnibus.

dd-agent-builder::build

Builds the agent (with the omnibus_build resource from the omnibus cookbook).

Setting custom parameters

Variables to build an agent are pulled from release.json from dd-agent-omnibus. Those variables are used to pin version of the agent dependencies.

By default the job will use dd-agent-omnibus's master and nightly from release.json.

Pulling a specific version of dd-agent-omnibus

You can choose a specific branch, tag or commit by setting the environment variable DD_AGENT_OMNIBUS_BRANCH.

Building a specific version of the agent

Instead of building nightly you can choose a version from release.json by setting the environment variable RELEASE_VERSION.

Local overwrite

You can overwrite the following variables by setting them manually in attributes.json (useful for local dev):

Variables are first loaded from the release.json and then overwritten by attributes.json.

example of attributes.json:


d-agent-builder": {
"dd-agent-omnibus_branch": "master",
"dd-agent_branch": "5.21.0",
"omnibus-ruby_branch": "master",
"omnibus-software_branch": "master",
"integrations-core_branch": "custom-postgres-branch",
"trace-agent_branch": "master"

mnibus": {



This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.