Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 28 additions & 1 deletion .pipelines/containers/container-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,38 @@ steps:

- script: |
set -e
echo "Disk space before cleanup..."
df -h /
echo "Removing unnecessary files to free up disk space..."
sudo rm -rf \
/opt/hostedtoolcache \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
echo "Disk space after cleanup..."
df -h /
displayName: "Clean up disk space"

- script: |
set -e
echo "=== Disk space BEFORE make image ==="
df -h
if [ ${{ parameters.os }} = 'windows' ]; then export BUILDX_ACTION='--push'; fi
make ${{ parameters.name }}-image OS=${{ parameters.os }} ARCH=${{ parameters.arch }}
echo "=== Disk space AFTER make image ==="
df -h
name: image_build
displayName: Image Build
retryCountOnTaskFailure: 3
retryCountOnTaskFailure: 2

- task: AzureCLI@2
displayName: "Logout"
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/singletenancy/aks-swift/e2e-job-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ stages:
dependsOn: ${{ parameters.name }}
datapath: true
dns: true
portforward: true
portforward: ${{ eq(parameters.os, 'linux') }} # Unblock Pipeline, broken for all windows scenarios
hostport: true
service: true

Expand Down
2 changes: 1 addition & 1 deletion .pipelines/singletenancy/aks-swift/e2e.stages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ stages:
dependsOn: ${{ parameters.name }}
datapath: true
dns: true
portforward: true
portforward: ${{ eq(parameters.os, 'linux') }} # Unblock Pipeline, broken for all windows scenarios
hostport: true
service: true

Expand Down
2 changes: 1 addition & 1 deletion .pipelines/singletenancy/aks/e2e-job-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ stages:
os: ${{ parameters.os }}
datapath: true
dns: true
portforward: true
portforward: ${{ eq(parameters.os, 'linux') }} # Unblock Pipeline, broken for all windows scenarios
hybridWin: true
service: true
hostport: true
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/singletenancy/aks/e2e.stages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ stages:
os: ${{ parameters.os }}
datapath: true
dns: true
portforward: true
portforward: ${{ eq(parameters.os, 'linux') }} # Unblock Pipeline, broken for all windows scenarios
hybridWin: true
service: true
hostport: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ stages:
dependsOn: ${{ parameters.name }}_windows
datapath: true
dns: true
portforward: true
portforward: false # Unblock Pipeline, as stateless is tested in windows, broken for all windows scenarios
hostport: true
service: true
hybridWin: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ stages:
dependsOn: ${{ parameters.name }}_windows
datapath: true
dns: true
portforward: true
portforward: false # Unblock Pipeline, as stateless is tested in windows, broken for all windows scenarios
hostport: true
service: true
hybridWin: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ stages:
dependsOn: ${{ parameters.name }}_${{ parameters.os }}
datapath: true
dns: true
portforward: true
portforward: ${{ eq(parameters.os, 'linux') }} # Unblock Pipeline, broken for all windows scenarios
hostport: true
service: true
hybridWin: ${{ eq(parameters.os, 'windows') }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ stages:
dependsOn: ${{ parameters.name }}_${{ parameters.os }}
datapath: true
dns: true
portforward: true
portforward: ${{ eq(parameters.os, 'linux') }} # Unblock Pipeline, broken for all windows scenarios
hostport: true
service: true
hybridWin: ${{ eq(parameters.os, 'windows') }}
Expand Down
Loading