-
Notifications
You must be signed in to change notification settings - Fork 260
backport: ci: clean up disk space before build and skip windows port forward (#4109) #4117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…4109) * clean up disk space before build * skip portforward e2e in windows
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR makes two primary changes to unblock the v1.6 release: (1) disables port forward e2e tests for Windows scenarios across multiple pipeline configurations due to known issues, and (2) adds disk space cleanup logic to the container build template to address disk space constraints during builds.
- Conditionally disables port forward tests on Windows by setting
portforward: ${{ eq(parameters.os, 'linux') }}orportforward: falsein pipeline configurations - Adds disk cleanup script to remove unnecessary files before container image builds
- Reduces retry count from 3 to 2 for image build tasks and adds disk space monitoring
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e.stages.yaml |
Conditionally enables port forward tests only on Linux |
.pipelines/singletenancy/azure-cni-overlay/azure-cni-overlay-e2e-job-template.yaml |
Conditionally enables port forward tests only on Linux |
.pipelines/singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e.stages.yaml |
Disables port forward tests (Windows-only testing) |
.pipelines/singletenancy/azure-cni-overlay-stateless/azure-cni-overlay-stateless-e2e-job-template.yaml |
Disables port forward tests (Windows-only testing) |
.pipelines/singletenancy/aks/e2e.stages.yaml |
Conditionally enables port forward tests only on Linux |
.pipelines/singletenancy/aks/e2e-job-template.yaml |
Conditionally enables port forward tests only on Linux |
.pipelines/singletenancy/aks-swift/e2e.stages.yaml |
Conditionally enables port forward tests only on Linux |
.pipelines/singletenancy/aks-swift/e2e-job-template.yaml |
Conditionally enables port forward tests only on Linux |
.pipelines/containers/container-template.yaml |
Adds disk cleanup script, disk space logging, and reduces retry count |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run Azure Container Networking PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
clean up disk space before build
skip portforward e2e in windows
Reason for Change:
Backport to potentially unblock release v1.6
Backport #4109
Issue Fixed:
Requirements:
Notes: