GithubHelp home page GithubHelp logo

kevchant / github-synapsededicatedsqlpool Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 1.0 26 KB

Template to perform CI/CD for Azure Synapse dedicated SQL Pools using GitHub Actions

License: MIT License

TSQL 100.00%
azure-synapse azure-synapse-analytics github github-actions

github-synapsededicatedsqlpool's Introduction

Azure Synapse SQL Pool Database Project

Example of a SQL Server Database Project that deploys to Azure Synapse Dedicated SQL Pool in GitHub. Initially based on a blog post I wrote called 'Create a dacpac for an Azure Synapse Analytics dedicated SQL Pool using GitHub Actions' (https://bit.ly/3HQOfFp).

In addition, I show how you can do this in the January 2023 edition of the Azure Synapse Analytics and Microsoft MVP series.

A brief overview is below. However, there is also a wiki for this repository (https://github.com/kevchant/AzureDevOps-SynapseServerlessSQLPool/wiki).

It contains two separate YAML pipelines, which is also known as a workflows in GitHub. You can find these files in the /.github/workflows folder of the repository. One workflow uses v1 of sql-action and the other uses the newer v2 version.

In order to use it with GitHub Actions in your own account you can either import or fork this repository into another GitHub repository.

In order for either the workflow to run the firewall settings for the logical SQL Server MUST allow Azure services and resources to access the server. Alternatively, use the Azure Login GitHub Action that is in this workflow https://github.com/marketplace/actions/azure-login.

In addition, you MUST have two secrets specified if you are using the Key Vault YAML, any defaults in my repo are blank:

  • AZURE_CREDENTIALS - Required to create a temporary firewall rule for your agent, follow link to create the credential.
  • AZURE_KEYVAULT - Contains your Azure Key Vault name

Azure Key Vault secrets MUST be added first. For both workflos you need the DedicatedSQLPool-Connection-String secret in Azure KeyVault. WHich contains the connection string to your dedicated SQL Pool.

If you are using the workflow for v1 you also need to add another secret called DedicatedEndPoint. Which contains your Azure Synapse Analytics dedicated SQL Endpoint.

This repository is provided "as is" based on the MIT license (https://opensource.org/licenses/MIT). Basically, I am not responsible for your use of it.

github-synapsededicatedsqlpool's People

Contributors

kevchant avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mauchy81

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.