Giter VIP home page Giter VIP logo

setup-kusto's Introduction

setup-kusto

Tests

Set up your GitHub Actions workflow with a specific version of the Azure Data Explorer Kusto CLI.

Usage

By default this action will install Kusto CLI version 11.3.1 which requires Dotnet 6. As of 2023-05-18, Dotnet 6 is installed by default on all of the latest GitHub-hosted runners, so you should not need to do any other manual setup.

The recommended approach is to use the philip-gai/kusto-script action with this action in order to setup and run queries and scripts against your Kusto cluster. Reference philip-gai/kusto-script for a full workflow example.

For older versions of the Kusto CLI that do not target Dotnet 6, you will have to make sure you setup the required version of Dotnet yourself. For example, for Kusto CLI version 6.0.1, you will need to add the following to your workflow:

    - uses: actions/[email protected]
      with:
        dotnet-version: "2.1.x"
    - uses: philip-gai/setup-kusto@main # Replace @main with a specific release tag
      with:
        kusto-version: "6.0.1"
        target-version: netcoreapp2.1

Once the Kusto CLI is installed, you can use the Kusto CLI directly in your workflow like so:

    - run: dotnet "${{ env.KUSTO_CLI_PATH }}" -execute:"#help"
      shell: bash

setup-kusto's People

Contributors

philip-gai avatar nachoalonsoportillo 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.