{"id":1417,"date":"2022-10-24T08:00:47","date_gmt":"2022-10-24T15:00:47","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/azure-sql\/?p=1417"},"modified":"2022-10-23T20:06:21","modified_gmt":"2022-10-24T03:06:21","slug":"connecting-the-dots-of-azure-sql-cicd-part-1-getting-started","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/azure-sql\/connecting-the-dots-of-azure-sql-cicd-part-1-getting-started\/","title":{"rendered":"Connecting the Dots of Azure SQL CICD Part 1: Getting Started"},"content":{"rendered":"<\/p>\n<h2>Azure SQL CICD Part 1: Getting Started<\/h2>\n<p><span style=\"font-size: 1rem\">Continuous Integration (CI) and Continuous Delivery\/Deployment (CD) are a set of principles or methodologies that empower development teams to deliver code faster, more reliably, and with fewer bugs compared to traditional software development such as the waterfall model. Teams that use CI\/CD also usually adhere to some version of the Agile Methodology, working on smaller features as part of a larger overarching requirement in sprints rather than monolithic tasks spanning months or years.<\/span><\/p>\n<p><span style=\"font-size: 1rem\">We can apply the CI\/CD methodology to Azure SQL Database change management by giving developers personal environments to work in, repositories for a common code base, detailed and thorough automated testing, and a feedback process that encourages good coding standards. While a very lofty goal, this series of articles will help guide you in creating these conditions for development success.<\/span><\/p>\n<p>The next few articles will cover:<\/p>\n<ul>\n<li>Setting up your local environment<\/li>\n<li>Using GitHub as the code repository<\/li>\n<li>Creating a SQL Database Project in Visual Studio Code\/Azure Data Studio<\/li>\n<li>Publishing your project to a local database<\/li>\n<li>Committing your code to GitHub<\/li>\n<li>Automated testing with tSQLt and GitHub actions<\/li>\n<\/ul>\n<h2>Where Do I Start?<\/h2>\n<p>What does the development environment look like and how do you start with Azure SQL CICD? Your Operating System really does not matter too much but just so we can have a consistent story here, let&#8217;s use Windows 11 as our base. What else do we need? Here is a checklist:<\/p>\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/devops\/develop\/git\/install-and-set-up-git\" target=\"_blank\" rel=\"noreferrer noopener\" data-type=\"URL\" data-id=\"https:\/\/learn.microsoft.com\/en-us\/devops\/develop\/git\/install-and-set-up-git\">git<\/a> installed<\/li>\n<li>A <a href=\"https:\/\/github.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub<\/a> account<\/li>\n<li><a href=\"https:\/\/code.visualstudio.com\/Download\" target=\"_blank\" rel=\"noreferrer noopener\">Visual Studio Code<\/a> installed (<a href=\"https:\/\/learn.microsoft.com\/en-us\/sql\/azure-data-studio\/download-azure-data-studio\" target=\"_blank\" rel=\"noopener\">Azure Data Studio<\/a> can be used as well)<\/li>\n<li><a href=\"https:\/\/docs.docker.com\/engine\/install\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker<\/a> installed<\/li>\n<\/ul>\n<p>According to the <a href=\"https:\/\/survey.stackoverflow.co\/2022\/\" target=\"_blank\" rel=\"noreferrer noopener\">Stack Overflow 2022 Developer Survey<\/a>, many of these tools are very popular with developers and you probably have them installed already.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-scaled.jpg\"><img decoding=\"async\" class=\"aligncenter wp-image-1422\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-scaled.jpg\" alt=\"Image bigPic1\" width=\"800\" height=\"1052\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-scaled.jpg 1901w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-228x300.jpg 228w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-779x1024.jpg 779w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-768x1010.jpg 768w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-1168x1536.jpg 1168w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/bigPic1-1557x2048.jpg 1557w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<h2 class=\"wp-block-heading\">Create a GitHub Repository<\/h2>\n<p><div class=\"alert alert-info\"><p class=\"alert-divider\"><i class=\"fabric-icon fabric-icon--Info\"><\/i><strong>Complete before moving on<\/strong><\/p>These posts will be using GitHub. Please ensure that you have set up a connection to GitHub using either SSH or 2FA (Two Factor Authentication) after you have created an account or with your existing account.<\/div><\/p>\n<p>Now that we have everything we need, it&#8217;s time to start putting the Azure SQL CICD pieces together. The first step is to create a GitHub repository that we will use for our database code.<\/p>\n<p>Once you have the GitHub account, simply click the <strong>New<\/strong> button on the GitHub home page<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git1-copy.png\"><img decoding=\"async\" class=\"alignnone wp-image-1431 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git1-copy.png\" alt=\"Image git1 copy\" width=\"352\" height=\"234\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git1-copy.png 352w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git1-copy-300x199.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Or click on your profile picture in the upper right of the page and select <strong>Your repositories<\/strong>.<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git2.png\"><img decoding=\"async\" class=\"alignnone wp-image-1432 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git2.png\" alt=\"Image git2\" width=\"251\" height=\"335\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git2.png 251w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git2-225x300.png 225w\" sizes=\"(max-width: 251px) 100vw, 251px\" \/><\/a><\/figure>\n<p>Then, on the repository page, click the <strong>New<\/strong> button in the upper right.<\/p>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git3.png\"><img decoding=\"async\" class=\"alignnone wp-image-1435 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git3.png\" alt=\"Image git3\" width=\"1279\" height=\"226\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git3.png 1279w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git3-300x53.png 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git3-1024x181.png 1024w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git3-768x136.png 768w\" sizes=\"(max-width: 1279px) 100vw, 1279px\" \/><\/a><\/figure>\n<p>On the <strong>Create a new repository<\/strong> page, select your GitHub user as the owner and name the repository <strong>AzureCICD<\/strong>.<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git4.png\"><img decoding=\"async\" class=\"alignnone wp-image-1436 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git4.png\" alt=\"Image git4\" width=\"474\" height=\"341\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git4.png 474w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git4-300x216.png 300w\" sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/a><\/figure>\n<p>I usually also add a <strong>README<\/strong> file as well, so check the box next to Add a README file.<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git5.png\"><img decoding=\"async\" class=\"alignnone wp-image-1437 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git5.png\" alt=\"Image git5\" width=\"471\" height=\"62\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git5.png 471w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git5-300x39.png 300w\" sizes=\"(max-width: 471px) 100vw, 471px\" \/><\/a><\/figure>\n<p>Then on the bottom of the page, click <strong>Create repository<\/strong>. That&#8217;s it! You have a new GitHub repository ready to go for our Azure Database CICD journey.<\/p>\n<p>Last step is to clone this repository to your local computer so that we can put our work in there and push it up to the repository. On the new repository page, click the<strong> &lt;&gt; Code<\/strong> green button.<\/p>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git6.png\"><img decoding=\"async\" class=\"alignnone wp-image-1438 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git6.png\" alt=\"Image git6\" width=\"1276\" height=\"504\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git6.png 1276w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git6-300x118.png 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git6-1024x404.png 1024w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git6-768x303.png 768w\" sizes=\"(max-width: 1276px) 100vw, 1276px\" \/><\/a><\/figure>\n<p>Now, in the code box, select the <strong>Local<\/strong> tab if not already selected and then the <strong>SSH<\/strong> option.<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git7.png\"><img decoding=\"async\" class=\"alignnone wp-image-1439 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git7.png\" alt=\"Image git7\" width=\"421\" height=\"402\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git7.png 421w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git7-300x286.png 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git7-24x24.png 24w\" sizes=\"(max-width: 421px) 100vw, 421px\" \/><\/a><\/figure>\n<p>Then click the <strong>copy icon<\/strong> to the right of the git@github command.<\/p>\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git8.png\"><img decoding=\"async\" class=\"alignnone wp-image-1440 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git8.png\" alt=\"Image git8\" width=\"49\" height=\"39\" \/><\/a><\/figure>\n<h3>Clone the Repository<\/h3>\n<p>We now need to clone this repository from GitHub to our local environment. Yes, you can use a command prompt\/terminal shell\/etc but we are going to see why everyone loves Visual Studio Code so much. <strong>Open Visual Studio Code<\/strong> and on the bottom, click the <strong>Terminal<\/strong> tab (If the tabs are not at the bottom of Visual Studio Code, you can use the Terminal Menu on the top and choose New Terminal).<\/p>\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/gitTerm1.png\"><img decoding=\"async\" class=\"alignnone wp-image-1441 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/gitTerm1.png\" alt=\"Image gitTerm1\" width=\"1122\" height=\"371\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/gitTerm1.png 1122w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/gitTerm1-300x99.png 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/gitTerm1-1024x339.png 1024w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/gitTerm1-768x254.png 768w\" sizes=\"(max-width: 1122px) 100vw, 1122px\" \/><\/a><\/figure>\n<p>I have a directory at the top level of my C: drive for git repositories. You can use any directory you wish here but which ever one you use, enter that directory and run the following code (The git@github section will be the code you just copied from the GitHub UI with the <strong>copy icon <a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git8.png\"><img decoding=\"async\" class=\"alignnone wp-image-1440 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git8.png\" alt=\"Image git8\" width=\"49\" height=\"39\" \/><\/a><\/strong>):<\/p>\n<pre class=\"prettyprint\">git clone git@github.com:YOUR_GITHUB_USERNAME\/AzureCICD.git<\/pre>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git9.png\"><img decoding=\"async\" class=\"alignnone wp-image-1442 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git9.png\" alt=\"Image git9\" width=\"768\" height=\"88\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git9.png 768w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git9-300x34.png 300w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n<p>And the project is now cloned to your local environment.<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git10.png\"><img decoding=\"async\" class=\"alignnone wp-image-1443 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git10.png\" alt=\"Image git10\" width=\"654\" height=\"306\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git10.png 654w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/git10-300x140.png 300w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/a><\/figure>\n<p>&nbsp;<\/p>\n<h2 class=\"wp-block-heading\">Setting up Visual Studio Code<\/h2>\n<p>Next is setting up Visual Studio Code for Azure SQL CICD. With Visual Studio Code still open from using the terminal, go to the extensions tab on the left.<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext1.png\"><img decoding=\"async\" class=\"alignnone wp-image-1445 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext1.png\" alt=\"Image ext1\" width=\"903\" height=\"285\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext1.png 903w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext1-300x95.png 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext1-768x242.png 768w\" sizes=\"(max-width: 903px) 100vw, 903px\" \/><\/a><\/figure>\n<p>Using the <strong>Search Extensions in Marketplace<\/strong> bar, search for <strong>mssql<\/strong>. Once you find the SQL Server (mssql) extension, click the <strong>install<\/strong> blue button.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext2.png\"><img decoding=\"async\" class=\"alignnone wp-image-1446 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext2.png\" alt=\"Image ext2\" width=\"830\" height=\"202\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext2.png 830w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext2-300x73.png 300w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext2-768x187.png 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/a><\/p>\n<p>This will install a few extensions, most importantly the SQL Database Projects extension. You can see the new extensions on the left of the Visual Studio Code window.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext3.png\"><img decoding=\"async\" class=\"alignnone wp-image-1447 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext3.png\" alt=\"Image ext3\" width=\"310\" height=\"196\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext3.png 310w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext3-300x190.png 300w\" sizes=\"(max-width: 310px) 100vw, 310px\" \/><\/a><\/p>\n<p>We are going to start with Database Projects. Just simply click the extension to bring up the Database Projects panel. Here, click the Create New button.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext4.png\"><img decoding=\"async\" class=\"alignnone wp-image-1448 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext4.png\" alt=\"Image ext4\" width=\"346\" height=\"378\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext4.png 346w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext4-275x300.png 275w\" sizes=\"(max-width: 346px) 100vw, 346px\" \/><\/a><\/p>\n<p>This will start the dialog boxes for creating a Database Project in the middle top of the Visual Studio Code window. The first question is <strong>Select Database Project Type<\/strong>. Select <strong>Azure SQL Database<\/strong>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext5.png\"><img decoding=\"async\" class=\"alignnone wp-image-1449 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext5.png\" alt=\"Image ext5\" width=\"697\" height=\"216\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext5.png 697w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext5-300x93.png 300w\" sizes=\"(max-width: 697px) 100vw, 697px\" \/><\/a><\/p>\n<p>Next we can enter the projects name. Let&#8217;s use <strong>Employee App<\/strong>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext6.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1450\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext6.png\" alt=\"Image ext6\" width=\"705\" height=\"176\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext6.png 705w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext6-300x75.png 300w\" sizes=\"(max-width: 705px) 100vw, 705px\" \/><\/a><\/p>\n<p>When asked to <strong>Select Project Locatio<\/strong>n, use the <strong>Browse<\/strong> option to find our GitHub repository folder we previously cloned.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext7.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1451\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext7.png\" alt=\"Image ext7\" width=\"681\" height=\"157\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext7.png 681w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext7-300x69.png 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/a><\/p>\n<p>Choose <strong>Yes<\/strong> for <strong>SDK-style projects<\/strong>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext8.png\"><img decoding=\"async\" class=\"alignnone wp-image-1452 size-full\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext8.png\" alt=\"Image ext8\" width=\"671\" height=\"164\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext8.png 671w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext8-300x73.png 300w\" sizes=\"(max-width: 671px) 100vw, 671px\" \/><\/a><\/p>\n<p>And if you get a warning about trusting the files in the folder, select <strong>Yes<\/strong>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext9.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1453\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext9.png\" alt=\"Image ext9\" width=\"532\" height=\"223\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext9.png 532w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext9-300x126.png 300w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<p>You have now created a SQL Database Project!<\/p>\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext10.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-1454\" src=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext10.png\" alt=\"Image ext10\" width=\"347\" height=\"404\" srcset=\"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext10.png 347w, https:\/\/devblogs.microsoft.com\/azure-sql\/wp-content\/uploads\/sites\/56\/2022\/10\/ext10-258x300.png 258w\" sizes=\"(max-width: 347px) 100vw, 347px\" \/><\/a><\/figure>\n<h2 class=\"wp-block-heading\">Azure SQL CICD to be Continued in Part 2<\/h2>\n<p>Our environment is up and running and we are ready to start with our Database Project. The next post on Azure SQL CICD will go over creating database objects and deploying them into a local SQL Database!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure SQL CICD Part 1: Getting Started Continuous Integration (CI) and Continuous Delivery\/Deployment (CD) are a set of principles or methodologies that empower development teams to deliver code faster, more reliably, and with fewer bugs compared to traditional software development such as the waterfall model. Teams that use CI\/CD also usually adhere to some version [&hellip;]<\/p>\n","protected":false},"author":95874,"featured_media":81,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,484,92],"tags":[529,510,528,93,531,530],"class_list":["post-1417","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure-sql","category-containers","category-devops","tag-azure-sql","tag-azure-sql-database","tag-database-change-management","tag-devops","tag-docker","tag-visual-studio-code"],"acf":[],"blog_post_summary":"<p>Azure SQL CICD Part 1: Getting Started Continuous Integration (CI) and Continuous Delivery\/Deployment (CD) are a set of principles or methodologies that empower development teams to deliver code faster, more reliably, and with fewer bugs compared to traditional software development such as the waterfall model. Teams that use CI\/CD also usually adhere to some version [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts\/1417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/users\/95874"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/comments?post=1417"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/posts\/1417\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/media\/81"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/media?parent=1417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/categories?post=1417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/azure-sql\/wp-json\/wp\/v2\/tags?post=1417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}