-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing SQL Server 2022 Express (#2419)
- Loading branch information
Showing
3 changed files
with
151 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
daisy_workflows/image_build/sqlserver/sql-2022-express-windows-2022-dc.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"Name": "sql-2022-express-windows-2022-dc-image-build", | ||
"Vars": { | ||
"build_date": "${TIMESTAMP}", | ||
"install_disk": "disk-install", | ||
"publish_project": "${PROJECT}", | ||
"sql_server_media": { | ||
"Required": true, | ||
"Description": "GCS or local path to Windows installer media" | ||
}, | ||
"source_image_project": { | ||
"Value": "windows-cloud", | ||
"Description": "Project to source base image from." | ||
}, | ||
"ssms_exe": { | ||
"Required": true, | ||
"Description": "GCS or local path to SSMS installer" | ||
}, | ||
"timeout": { | ||
"Value": "2h", | ||
"Description": "The timeout to set for the image build." | ||
}, | ||
"sbom_destination": { | ||
"Value": "${OUTSPATH}/export-image.sbom.json", | ||
"Description": "The GCS url that the sbom file exported to." | ||
}, | ||
"sbom_util_gcs_root": { | ||
"Value": "", | ||
"Description": "The root gcs bucket for sbomutil, if using sbomutil to generate the SBOM." | ||
}, | ||
"img_family": { | ||
"Value": "sql-exp-2022-win-2022", | ||
"Description": "The image family and component name for the sbom." | ||
} | ||
}, | ||
"Steps": { | ||
"build-sql-image": { | ||
"TimeOut": "${timeout}", | ||
"IncludeWorkflow": { | ||
"Path": "./sqlserver.wf.json", | ||
"Vars": { | ||
"sql_server_config": "./configs/sql_server_2022.ini", | ||
"sql_server_media": "${sql_server_media}", | ||
"source_image": "projects/${source_image_project}/global/images/family/windows-2022", | ||
"install_disk": "${install_disk}", | ||
"ssms_exe": "${ssms_exe}", | ||
"timeout": "${timeout}", | ||
"sbom_destination": "${sbom_destination}", | ||
"sbom_util_gcs_root": "${sbom_util_gcs_root}", | ||
"img_family": "${img_family}" | ||
} | ||
} | ||
}, | ||
"create-image": { | ||
"CreateImages": [ | ||
{ | ||
"Name": "sql-2022-enterprise-windows-2022-dc-v${build_date}", | ||
"SourceDisk": "${install_disk}", | ||
"Licenses": [ | ||
"projects/windows-sql-cloud/global/licenses/sql-server-2022-express" | ||
], | ||
"Description": "Microsoft, SQL Server 2022 Enterprise, on Windows Server 2025, x64 built on ${build_date}", | ||
"GuestOsFeatures": ["MULTI_IP_SUBNET", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC"], | ||
"Family": "${img_family}", | ||
"Project": "${publish_project}", | ||
"NoCleanup": true, | ||
"ExactName": true | ||
} | ||
] | ||
} | ||
}, | ||
"Dependencies": { | ||
"create-image": ["build-sql-image"] | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
daisy_workflows/image_build/sqlserver/sql-2022-express-windows-2025-dc.wf.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"Name": "sql-2022-express-windows-2025-dc-image-build", | ||
"Vars": { | ||
"build_date": "${TIMESTAMP}", | ||
"install_disk": "disk-install", | ||
"publish_project": "${PROJECT}", | ||
"sql_server_media": { | ||
"Required": true, | ||
"Description": "GCS or local path to Windows installer media" | ||
}, | ||
"source_image_project": { | ||
"Value": "windows-cloud", | ||
"Description": "Project to source base image from." | ||
}, | ||
"ssms_exe": { | ||
"Required": true, | ||
"Description": "GCS or local path to SSMS installer" | ||
}, | ||
"timeout": { | ||
"Value": "2h", | ||
"Description": "The timeout to set for the image build." | ||
}, | ||
"sbom_destination": { | ||
"Value": "${OUTSPATH}/export-image.sbom.json", | ||
"Description": "The GCS url that the sbom file exported to." | ||
}, | ||
"sbom_util_gcs_root": { | ||
"Value": "", | ||
"Description": "The root gcs bucket for sbomutil, if using sbomutil to generate the SBOM." | ||
}, | ||
"img_family": { | ||
"Value": "sql-exp-2022-win-2025", | ||
"Description": "The image family and component name for the sbom." | ||
} | ||
}, | ||
"Steps": { | ||
"build-sql-image": { | ||
"TimeOut": "${timeout}", | ||
"IncludeWorkflow": { | ||
"Path": "./sqlserver.wf.json", | ||
"Vars": { | ||
"sql_server_config": "./configs/sql_server_2022.ini", | ||
"sql_server_media": "${sql_server_media}", | ||
"source_image": "projects/${source_image_project}/global/images/family/windows-2025", | ||
"install_disk": "${install_disk}", | ||
"ssms_exe": "${ssms_exe}", | ||
"timeout": "${timeout}", | ||
"sbom_destination": "${sbom_destination}", | ||
"sbom_util_gcs_root": "${sbom_util_gcs_root}", | ||
"img_family": "${img_family}" | ||
} | ||
} | ||
}, | ||
"create-image": { | ||
"CreateImages": [ | ||
{ | ||
"Name": "sql-2022-express-windows-2025-dc-v${build_date}", | ||
"SourceDisk": "${install_disk}", | ||
"Licenses": [ | ||
"projects/windows-sql-cloud/global/licenses/sql-server-2022-express" | ||
], | ||
"Description": "Microsoft, SQL Server 2022 Express, on Windows Server 2025, x64 built on ${build_date}", | ||
"GuestOsFeatures": ["MULTI_IP_SUBNET", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE", "WINDOWS", "GVNIC"], | ||
"Family": "${img_family}", | ||
"Project": "${publish_project}", | ||
"NoCleanup": true, | ||
"ExactName": true | ||
} | ||
] | ||
} | ||
}, | ||
"Dependencies": { | ||
"create-image": ["build-sql-image"] | ||
} | ||
} |