No description
  • C# 90.2%
  • Dockerfile 9.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Oleksandr Slynko 3bc7b67467
Merge pull request #16 from github/alex-slynko-patch-1
Add notice about repository support status
2025-10-21 20:13:03 +01:00
.github/workflows no submodules in actions 2023-08-04 15:02:56 +02:00
KustoSchemaCLI Replace Submodule with Nuget Package 2023-08-04 15:00:59 +02:00
schema/myDeployment fix path 2023-08-02 12:24:12 +02:00
workflows Fix commit versions for 3rd party repos 2024-11-18 13:46:02 +00:00
.dockerignore Initial Checkin for Actions 2023-08-01 14:18:44 +02:00
.gitignore Initial Checkin for Actions 2023-08-01 14:18:44 +02:00
.gitmodules Initial Checkin for Actions 2023-08-01 14:18:44 +02:00
CODE_OF_CONDUCT.md Added mandatory files 2023-08-01 17:01:37 +02:00
CODEOWNERS Updated MD files and moved TableGroups 2023-08-02 12:05:45 +02:00
CONTRIBUTING.md Added mandatory files 2023-08-01 17:01:37 +02:00
Dockerfile fix docker file 2023-08-04 15:06:15 +02:00
KustoSchemaCLI.sln Replace Submodule with Nuget Package 2023-08-04 15:00:59 +02:00
LICENSE Initial commit 2023-08-01 13:56:54 +02:00
README.md Add notice about repository support status 2025-09-24 19:42:18 +01:00
SECURITY.md Updated MD files and moved TableGroups 2023-08-02 12:05:45 +02:00
SUPPORT.md Added mandatory files 2023-08-01 17:01:37 +02:00

This repository is no longer supported.

KustoSchemaToolsAction

This tool can be used to synchronize your schema from Azure Data Explorer (Kusto) cluster to yml files in a GitHub repository and back, using GitHub Actions.

Getting Started

  1. Create a repository for versioning your files
  2. Copy the actions.yaml file from the workflows folder to your repository in the folder .github/actions/KustoSchemaTools
  3. Copy the workflows that you want (import, diff, apply) from the workflows folder to your repository in the folder .github/workflows
  4. The workflows use OIDC to login to Azure. You can use a service principal instead. Make sure, that the identity you use has access to your Azure Data Explorer (Kusto) cluster
  5. Create a folder for your cluster/deployment and add a clusters file.
  6. Import the databases you want to synchronize
  7. Make changes to the yaml files and create a PR
  8. The diffs will be posted as PR comment
  9. Merge the PR to roll out the changes to your Azure Data Explorer (Kusto) cluster

This project can be used as it is and doesn't require customizations.

Adding custom behavior

KustoSchemaTools uses plugins for reading and writing the schema from or to a database or yaml file. You can find more docs on that in the KustoSchemaTools repo.

The easiest way to add your own logic is to

  1. Fork this repository
  2. Implement your own plugins (example)
  3. Register them in the Program.cs
  4. Build your own docker container (workflow)
  5. Add the definition of your action if required.
  6. Use the provided workflows with your container (import, diff, apply)