-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 3441: CAS 1.29 cherry-picks
**What type of PR is this?** (bug, cleanup, documentation, feature) 1.29 release **What this PR does / why we need it?**: aks custom cherry-picks for 1.29 **Does this PR introduce a user-facing change?** **WorkItem** <!--- NOTE: REPLACE THIS LINE WITH THE WORKITEM SUFFIXED WITH "https://dev.azure.com/msazure/CloudNativeCompute". Currently, this CAS repo is under "https://dev.azure.com/AzureContainerUpstream", workItems are under "https://dev.azure.com/msazure/CloudNativeCompute" and ADO doesn't support cross-linking.----> **Testing** - [x] Unit tests - [ ] E2E tests (we can custom branches on standalone env only) - [ ] Other tests (eg. manual testing). <details> <summary>Cherry-pick details</summary> **Is this a cherry-picked PR?** - [ ] Yes. Include original PR. ``` ``` - [x] No. On which internal versions / branches is this PR getting cherry-picked ? ``` new release 1.29 ``` **Is this PR getting merged on [upstream](https://github.com/kubernetes/autoscaler) ?** - [ ] Yes. Which branches / versions including master? ``` ``` - [x] No. Why? ``` new release 1.29 ``` </details> <br> **Special notes for your reviewer**: **Additional Documentation**:
- Loading branch information
Showing
1,446 changed files
with
309,888 additions
and
11,092 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
**What type of PR is this?** (bug, cleanup, documentation, feature) | ||
|
||
**What this PR does / why we need it?**: | ||
|
||
**Does this PR introduce a user-facing change?** | ||
|
||
**WorkItem** | ||
<!--- NOTE: REPLACE THIS LINE WITH THE WORKITEM SUFFIXED WITH "https://dev.azure.com/msazure/CloudNativeCompute". | ||
Currently, this CAS repo is under "https://dev.azure.com/AzureContainerUpstream", workItems are under "https://dev.azure.com/msazure/CloudNativeCompute" and ADO doesn't support cross-linking.----> | ||
|
||
**Testing** | ||
- [ ] Unit tests | ||
- [ ] E2E tests (we can custom branches on standalone env only) | ||
- [ ] Other tests (eg. manual testing). | ||
|
||
<details> | ||
<summary>Cherry-pick details</summary> | ||
|
||
**Is this a cherry-picked PR?** | ||
- [ ] Yes. Include original PR. | ||
``` | ||
``` | ||
- [ ] No. On which internal versions / branches is this PR getting cherry-picked ? | ||
``` | ||
``` | ||
|
||
**Is this PR getting merged on [upstream](https://github.com/kubernetes/autoscaler) ?** | ||
- [ ] Yes. Which branches / versions including master? | ||
``` | ||
``` | ||
- [ ] No. Why? | ||
``` | ||
``` | ||
</details> | ||
|
||
<br> | ||
|
||
**Special notes for your reviewer**: | ||
|
||
**Additional Documentation**: |
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,48 @@ | ||
pr: | ||
- master | ||
- cluster-autoscaler-release-* | ||
|
||
variables: | ||
- name: GOPATH | ||
value: $(Agent.BuildDirectory)/go | ||
- name: GOBIN | ||
value: $(GOPATH)/bin | ||
- name: GO111MODULE | ||
value: auto | ||
- name: autoscaler.clone.dir | ||
value: go/src/k8s.io/autoscaler | ||
- name: DisableDockerDetector | ||
value: true | ||
|
||
jobs: | ||
- job: cluster_autoscaler_test | ||
pool: staging-pool-amd64-mariner-2 | ||
displayName: Autoscaler Unit Tests | ||
workspace: | ||
clean: all | ||
steps: | ||
- checkout: self | ||
path: $(autoscaler.clone.dir) | ||
- script: | | ||
echo '##vso[task.prependpath]$(GOPATH)/bin' | ||
hack/install-verify-tools.sh | ||
go get github.com/t-yuki/gocover-cobertura | ||
displayName: "Prepare" | ||
- task: UseDotNet@2 | ||
inputs: | ||
version: 7.0.x | ||
displayName: 'Prepare .NET Core SDK' | ||
- script: | | ||
hack/verify-all.sh -v | ||
displayName: "Verify" | ||
- script: | | ||
hack/for-go-proj.sh coverage | ||
displayName: "Test" | ||
- script: | | ||
gocover-cobertura < '$(System.DefaultWorkingDirectory)/cluster-autoscaler/coverage.txt' > '$(System.DefaultWorkingDirectory)/cluster-autoscaler/coverage.xml' | ||
displayName: 'Convert' | ||
- task: PublishCodeCoverageResults@1 | ||
inputs: | ||
codeCoverageTool: 'Cobertura' | ||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/cluster-autoscaler/coverage.xml' | ||
displayName: 'Publish Coverage' |
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
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
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
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
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
Oops, something went wrong.