Code Monkey home page Code Monkey logo

agent-linux-install-script's Introduction

Datadog Agent install script

This repository contains the code to generate various versions of the Datadog Agent install script. Please always use the officially released versions:

Usage instructions for the install script are in the Datadog App.

Working with this repository

This repository contains 2 basic files, install_script.sh.template and Makefile. Calling make will generate these files from the template:

  • install_script.sh - Install script that uses DD_AGENT_MAJOR_VERSION=6 by default and also emits a deprecation warning when run.
  • install_script_agent6.sh - Install script that uses DD_AGENT_MAJOR_VERSION=6 by default.
  • install_script_agent7.sh - Install script that uses DD_AGENT_MAJOR_VERSION=7 by default.

The generated files must never be committed to this repository. All changes must be done by modifications of the template file and Makefile.

Running tests

Tests can be run using Docker; for example to test installation of latest Agent 6 release with the install_script_agent6.sh file on Ubuntu 22.04 run:

./test/dockertest.sh --image ubuntu:22.04 --script install_script_agent6.sh

To test installation of the latest IoT Agent 7.38 release with the install_script_agent7.sh file on Ubuntu 22.04 run:

./test/dockertest.sh --image ubuntu:22.04 --script install_script_agent7.sh --minor_version "38" --flavor "datadog-iot-agent"

agent-linux-install-script's People

Contributors

chouetz avatar chouquette avatar pythyu avatar kevinfairise2 avatar pducolin avatar spencergilbert avatar amenasria avatar truthbk avatar kserrania avatar randomanderson avatar jonbodner avatar kaderinho avatar guyarb avatar hush-hush avatar safchain avatar lebauce avatar yshapiro-57 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.