{"id":21042569,"url":"https://github.com/atrakic/azure-sql-deploy-dacpac","last_synced_at":"2025-12-26T18:57:03.059Z","repository":{"id":263451978,"uuid":"859791244","full_name":"atrakic/azure-sql-deploy-dacpac","owner":"atrakic","description":"SQL project with dacpac package deployment.","archived":false,"fork":false,"pushed_at":"2024-12-14T23:52:34.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T17:16:49.969Z","etag":null,"topics":["sql","sql-server","sqlproject"],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atrakic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-19T09:32:34.000Z","updated_at":"2024-12-19T02:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab26f80a-cffd-4493-893b-2c9a337d77e1","html_url":"https://github.com/atrakic/azure-sql-deploy-dacpac","commit_stats":null,"previous_names":["atrakic/azure-sql-deploy-dacpac"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atrakic%2Fazure-sql-deploy-dacpac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atrakic%2Fazure-sql-deploy-dacpac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atrakic%2Fazure-sql-deploy-dacpac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atrakic%2Fazure-sql-deploy-dacpac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atrakic","download_url":"https://codeload.github.com/atrakic/azure-sql-deploy-dacpac/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243489777,"owners_count":20298997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sql","sql-server","sqlproject"],"created_at":"2024-11-19T14:06:02.715Z","updated_at":"2025-12-26T18:57:03.051Z","avatar_url":"https://github.com/atrakic.png","language":"TSQL","readme":"# azure-sql-deploy-dacpac\n\n[![license](https://img.shields.io/github/license/atrakic/azure-sql-deploy-dacpac.svg)](https://github.com/atrakic/azure-sql-deploy-dacpac/blob/main/LICENSE)\n[![ci](https://github.com/atrakic/azure-sql-deploy-dacpac/actions/workflows/ci.yml/badge.svg)](https://github.com/atrakic/azure-sql-deploy-dacpac/actions/workflows/ci.yml)\n\n## Overview\n\n\u003e This project demonstrates how to automate tests with 'microsoft.sqlpackage' using a GitHub Actions \u0026 Docker.\n\n\n## Flow\n\n1. Build SQL server objects (tables, views, and instance objects)\n2. Dacpack file is created\n3. Contents of dacpac is consumed by Github Actions\n4. Deploy against a SQL database\n\n\n## Deployment prerequisites\n- Azure Subscription\n\n## Setup\n1. Create a new Azure Service Principal\n2. Create a new Azure SQL Database, see [Makefile](./infra/Makefile) for more details.\n\n## Configuration\n1. Add the following secrets to your GitHub repository:\n    - `AZURE_SQL_CONNECTION_STRING` - Azure SQL Database connection string of your database\n\n## Azure Deployment\n1. Run database deployment from github actions tab. See [deploy.yml](.github/workflows/deploy.yml)\n\n\n## Local development environment\nTo run sql project in Docker, follow these steps:\n\n1. Build and start the necessary containers\n```bash\nmake docker\n```\n\n2. Examine the logs\n```bash\ndocker compose logs -f\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrakic%2Fazure-sql-deploy-dacpac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatrakic%2Fazure-sql-deploy-dacpac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrakic%2Fazure-sql-deploy-dacpac/lists"}