Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 1.02 KB

DEVELOPMENT.md

File metadata and controls

26 lines (15 loc) · 1.02 KB

Development

This repository contains the buildpack packaging for the Datadog Agent. See more information about buildpack development here.

The main logic can be found in the shell scripts under the lib directory.

Building

To execute the scripts/build.sh script, dpkg needs to be installed. On macOS, brew install dpkg.

If you want to build for a specific version of the agent, specify the VERSION environment variable when running the prepare.sh script.

VERSION=<AGENT_VERSION> REFRESH_ASSETS=1 ./scripts/prepare.sh

Now, you can run the following command from the root of the repository to build the buildpack:

VERSION=<BUILDPACK_VERSION> ./scripts/build.sh

This produces a datadog-cloudfoundry-buildpack-<VERSION>.zip file at the root of the repository that you can use directly with the CF CLI, or to build the datadog-application-monitoring tile.