actions / runner-images

GitHub Actions runner images
MIT License
10.01k stars 3.02k forks source link

Add SQL Server to the windows-latest image #10165

Closed laumacirule closed 2 months ago

laumacirule commented 3 months ago

Tool name

SQL Server

Tool license

MIT License

Add or update?

Desired version

Latest

Approximate size

No response

Brief description of tool

I don't find SQL server as one of the Databases in the windows-latest description: https://github.com/actions/runner-images/blob/win22/20240421.1/images/windows/Windows2022-Readme.md#databases Windows with SQL server is a popular combination; thus, we need to install the SQL server for almost all test runs on Windows.

URL for tool's homepage

No response

Provide a basic test case to validate the tool's functionality.

No response

Platforms where you need the tool

Runner images where you need the tool

Can this tool be installed during the build?

- name: Setup SQL Server
        uses: potatoqualitee/mssqlsuite@v1.7
        with:
          install: sqlengine
          sa-password: **********

Tool installation time in runtime

3m

Are you willing to submit a PR?

No response

hemanthmanga commented 3 months ago

@laumacirule Thank you for bringing this request/ issue, We will investigate and provide update.

hemanthmanga commented 2 months ago

Hi @laumacirule Unfortunately, at the moment we are trying to make the images as light as possible and trying to avoid installing programs and packages that can be easily and quickly added at runtime. Thank you, We are closing this issue.

laumacirule commented 2 months ago

Hi @hemanthmanga! Thanks for the update! Though it is not what I was looking forward to :) I do disagree with the 'quickly added at runtime' - installing SQL Server takes 3-4min (as noted above), and that is not quick :(