Hi, @Richard Duane Wolford Jr Thanks for posting your question in the Microsoft Q&A forum.
I understand you want to create a GitLab pipeline to restore a dacpac to Azure SQL.
First, you need to establish connectivity between your GitLab runner and Azure SQL. you may need to leverage az CLI to dynamically create/remove firewall rules at runtime if your GitLab runner isn't hosted in a managed vnet with your SQL instance.
Then you would need to:
install sqlpackage on the pipeline runner: https://learn.microsoft.com/sql/tools/sqlpackage/sqlpackage-download
- use the script: option in GitLab to run sqlpackage /Action:Publish
Hope this will help. Please let us know if any further queries.
Regards
Geetha
If you think your question has been answered, click "Mark as Accept Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.