dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 192 forks source link

Use docker to build and deploy deb package #418

Closed ellbosch closed 4 years ago

ellbosch commented 4 years ago

Closes #101 and #257. Completes Debian work for #383. And closes PR #416 in favor of this one.

List of changes include:

  1. Packaging mssql-cli into .deb. This PR produces a Debian package of mssql-cli using Docker. The package has run successfully in limited testing across Ubuntu 16.04 and 18.04, using both Docker containers and VMs.
  2. Support for automated releases in Azure DevOps Pipelines. Using a test pipeline, I have validated that we are able to build a .deb, publish to daily storage, and download and run mssql-cli. We did this by creating a publish_daily_deb script in our release.py.
  3. Updated docs. Documentation has been updated for building and publishing a .deb of mssql-cli in Docker.

Hopefully this implementation will prevent headaches for anyone who works on this in the future :)