Add SQL Server 2022 Preview to Windows pipeline (#540)
Add SQL Server 2022 Preview to Windows pipeline (#540)

* Add SQL Server 2022 Preview to Windows pipeline

Adds derivative build for SQL 2022 running on Windows Server 2022. Also had to add support for passing in SSMS version, as Microsoft moved away from a universal installer. We may need to pass different versions going forward.

* Typo fix in ssms_version

* Simplify SQL22 build

Since there is only a single image and 2 environments, it's easier to just explicitly define it where needed.

* Fix ImgGroup for SQL22 Preview

Removed old variable reference

* Fixing environment declaration for Preview builds

ImgGroup doesn't like being passed the list in the previous manner.

* Split prev_envs into testing/staging

Don't really need the list for two, plus this would have been dropped when SQL 22 goes live anyway.

* Switch back to lists for preview images

Labeling things "prerelease" where possible so intent is clearer, although it's requiring some hardcoding for sqlserver values in some places. This will get SQL Server 22 building in Concourse for testing while I figure out a better way to go about prerelease image categorization/testing.

The list here uses a single item because I found out that with the way the loops are currently laid out, ImgGroup can't take single strings and must be passed a list, even if it's single item. This may be worth re-evaluating once SQL 22 is done testing and launched.

* Update ssms version variable in sqlimgbuildjob

It needs to be consistent to be set properly.

* Update loading ssms-version

Since we're no longer using a static secret, this will need to be passed in.
GoogleCloudPlatform/guest-test-infra,GoogleCloudPlatform/guest-test-infra,GoogleCloudPlatform/guest-test-infra