Skip to content

Commit 70ef0f0

Browse files
authored
don't flood the automated build logs with progress (#27)
1 parent 686d909 commit 70ef0f0

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

Dockerfile.bcagent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN New-Item \"\azp\agent\" -ItemType directory | Out-Null; `
2121

2222

2323
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); `
24-
choco install -y docker-cli 7zip.install; `
24+
choco install -y --no-progress docker-cli 7zip.install; `
2525
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
2626
Install-PackageProvider -Name 'Nuget' -Force; `
2727
Install-Module 'bccontainerhelper' -MinimumVersion $env:BCCHVERSION -MaximumVersion $env:BCCHVERSION -Force; `

Dockerfile.bcagent-k8s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN New-Item \"\azp\agent\" -ItemType directory | Out-Null; `
2020

2121

2222
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); `
23-
choco install -y 7zip.install azure-cli nodejs-lts chromium; `
23+
choco install -y --no-progress 7zip.install azure-cli nodejs-lts chromium; `
2424
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
2525
Install-PackageProvider -Name 'Nuget' -Force; `
2626
Install-Module AzureDevOpsAPIUtils -Force -ErrorAction SilentlyContinue; `

Dockerfile.coreagent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ RUN New-Item \"\azp\agent\" -ItemType directory | Out-Null; `
2020

2121

2222
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); `
23-
choco install -y docker-cli dotnetcore-sdk dotnet-6.0-sdk jq azure-cli; `
24-
choco install -y dotnet-sdk --pre; `
23+
choco install -y --no-progress docker-cli dotnetcore-sdk dotnet-6.0-sdk jq azure-cli; `
24+
choco install -y --no-progress dotnet-sdk --pre; `
2525
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force | Out-Null; `
2626
Set-PSRepository -Name 'PSGallery' -SourceLocation "https://www.powershellgallery.com/api/v2" -InstallationPolicy Trusted | Out-Null; `
2727
Install-Module -Name 7Zip4PowerShell -Force | Out-Null

Dockerfile.vsceagent

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ RUN New-Item \"\azp\agent\" -ItemType directory | Out-Null; `
2323

2424
RUN iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')); `
2525
Write-Host \"Installing Azure CLI\"; `
26-
choco install -y azure-cli; `
26+
choco install --no-progress -y azure-cli; `
2727
Write-Host \"Installing windows-build-tools\"; `
28-
choco install -y python visualstudio2019-workload-vctools; `
28+
choco install --no-progress -y python visualstudio2019-workload-vctools; `
2929
Write-Host \"Installing nodejs\"; `
30-
choco install -y nodejs-lts;
30+
choco install --no-progress -y nodejs-lts;
3131

3232

3333
RUN Write-Host \"Installing npm packages\"; `

0 commit comments

Comments
 (0)