GithubHelp home page GithubHelp logo

sleuthsgtest's Introduction

Sleuth Client

sleuth-client connects your git repository to Sleuth. It collects deployment information from your local git repository and publishes it to Sleuth.

Sleuth Client is available to install in binary form on Linux and macOS or any other system that supports Python 3.8.

Documentation

The sleuth client supports multiple commands. To discover what they are, run:

sleuth --help

Most commands require the -k argument to be first passed in, which is the API key used to authenticate to Sleuth.

If the command needs an org or code deployment slug, these can be found in the URL for your target code deployment in the Sleuth UI. For example, this URL is to the my_deployment code deployment for the my_org organization:

https://app.sleuth.io/my_org/deployments/my_deployment?env_slug=production

deploy

The deploy command collects diff information from a local git repository and submits it to Sleuth as a "deploy" or release. For example:

sleuth -k my_key deploy -o my_org -d my_deployment .

validate

The validate command takes a Sleuth Actions file as an argument and validates it against your organization's schema. It allows you to validate your rules.yml file either locally or in a continuous integration (CI) server.

To learn more about Sleuth Actions and the file format, see the documentation.

For example:

sleuth -k my_key deploy -o my_org -d my_deployment .sleuth/rules.yml

set-health

The set-health command sets the health for a deployment by finding the latest deploy for that deployment and overriding its health.

For example:

sleuth -k my_key set-health -o my_org -d my_deployment unhealthy

Installation

Linux

The latest release can be downloaded directly via:

wget https://github.com/sleuth-io/sleuth-client/releases/latest/download/sleuth
chmod 755 sleuth

MacOS

The latest release can be downloaded directly via:

wget https://github.com/sleuth-io/sleuth-client/releases/latest/download/sleuth-macOS
chmod 755 sleuth-macOS

Windows

The latest release can be downloaded directly in PowerShell via:

wget https://github.com/sleuth-io/sleuth-client/releases/latest/download/sleuth-Windows -OutFile sleuth.exe

sleuthsgtest's People

Contributors

mrdon avatar failedguidedog avatar semgrep-bot avatar

Watchers

 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.