Skip to content

Commit c5e8210

Browse files
chore: Migrate gsutil usage to gcloud storage
1 parent b57ee6f commit c5e8210

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

daisy_workflows/image_build/sqlserver/sql_install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function Generate-Sbom {
115115

116116
Write-Output "Generating sbom."
117117
& "C:\sbomutil.exe" -archetype=windows-image -googet_path 'C:\ProgramData\GooGet' -extra_content="${script:sbom_dir}\" -comp_name="${comp_name}" -output image.sbom.json
118-
& 'gcloud storage cp image.sbom.json $gs_path
118+
& 'gcloud storage' cp image.sbom.json $gs_path
119119
Write-Output "Sbom file uploaded to $gs_path."
120120
}
121121

daisy_workflows/image_build/windows/bootstrap_install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function Download-Drivers {
5151
$gs_path = Get-MetadataValue -key 'drivers-path'
5252
if ($gs_path) {
5353
Write-Output "Downloading drivers from $gs_path."
54-
& 'gcloud storage cp -r "${gs_path}/*" $script:driver_dir
54+
& 'gcloud storage' cp -r "${gs_path}/*" $script:driver_dir
5555
Write-Output 'Driver download complete.'
5656
}
5757
else {

0 commit comments

Comments
 (0)