Skip to content

Commit 2ad298c

Browse files
committed
added sample
1 parent 3d1de9c commit 2ad298c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

db/samples/sample-data.sql

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,27 @@ exec dbo.add_sample '
540540
';
541541
GO
542542

543+
exec dbo.add_sample '
544+
{
545+
"name": "SQL projects DevOps samples",
546+
"description": "CI/CD for SQL databases with SQL projects - Azure SQL and SQL Server. This repository contains sample workflows for several scenarios related to SQL projects, including CI checks and deployments to multiple environments.",
547+
"notes": "Following this sample you''ll be able to setup CI/CD workflows for database development and deployment, including:\n- getting started from an existing database\n- a CI check that validates all object references with dotnet build\n- a CI check for SQL code quality with code analysis\n- incorporating additional database objects in your build, such as system objects\n- a deployment workflow that checks for deployment warnings\n a deployment workflow that updates a testing environment\n- a deployment workflow that generates a script for review\nThe .NET Conf 2024 session Next-gen SQL projects with Microsoft.Build.Sql covered the topics in this repository for some background on establishing a database development lifecycle.",
548+
"url": "https://github.com/Azure-Samples/sql-projects-devops-samples",
549+
"details": {
550+
"related-links": {
551+
"blog": "https://techcommunity.microsoft.com/blog/azuresqlblog/the-microsoft-build-sql-project-sdk-is-now-generally-available/4392063"
552+
},
553+
"author": "Drew Skwiers-Koballa",
554+
"languages": ["T-SQL"],
555+
"services": ["Azure SQL", "SQL Server"],
556+
"license": "MIT",
557+
"tags": ["CI/CD", "DevOps", "GitHub Actions"],
558+
"tools": ["SqlPackage", "DacFx"],
559+
"conferences": [".NET Conf 2024"]
560+
}
561+
}';
562+
GO
563+
543564
select id, name, created_on, updated_on from dbo.samples order by created_on desc;
544565
--where [url] like '%kmeans%'
545566
GO

0 commit comments

Comments
 (0)