-
Notifications
You must be signed in to change notification settings - Fork 613
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
EC2 task networking for Windows: Build vpc-eni CNI plugin for Windows #2893
EC2 task networking for Windows: Build vpc-eni CNI plugin for Windows #2893
Conversation
674faaa
to
a064e92
Compare
a064e92
to
4aebb8c
Compare
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.
Changes look good. Can you please look into the test failures?
@@ -20,4 +20,4 @@ jobs: | |||
$Env:GOPATH = "$Env:GITHUB_WORKSPACE" | |||
cd "$Env:GITHUB_WORKSPACE" | |||
cd "src/github.com/aws/amazon-ecs-agent" | |||
go test -v -race -tags unit -timeout 40s ./agent/... | |||
go test -race -tags unit -timeout 40s ./agent/... |
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.
Why did we remove the -v
?
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.
By removing this flag, we are able to remove the excess noise from the UTs during PR. We can very easily pin point the UT which failed and the corresponding error. For example - https://github.com/aws/amazon-ecs-agent/runs/2786834601?check_suite_focus=true
Also, this ensures that the behavior is same for Linux and Windows UT during PR build.
This change was implemented after discussion with @fenxiong
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.
Nice 👍
4aebb8c
to
5b4a525
Compare
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.
Neat 🚀
@@ -20,4 +20,4 @@ jobs: | |||
$Env:GOPATH = "$Env:GITHUB_WORKSPACE" | |||
cd "$Env:GITHUB_WORKSPACE" | |||
cd "src/github.com/aws/amazon-ecs-agent" | |||
go test -v -race -tags unit -timeout 40s ./agent/... | |||
go test -race -tags unit -timeout 40s ./agent/... |
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.
Nice 👍
…aws#2893) * Added CNI plugin version upgrade code to common file * Build vpc-eni cni plugin for Windows * Updated the git submodule for vpc-cni plugins * Disabled verbose option for Windows unit tests * Updated git submodule vpc-cni-plugins to latest release * Updated values for max retry during network setup
…aws#2893) * Added CNI plugin version upgrade code to common file * Build vpc-eni cni plugin for Windows * Updated the git submodule for vpc-cni plugins * Disabled verbose option for Windows unit tests * Updated git submodule vpc-cni-plugins to latest release * Updated values for max retry during network setup
…aws#2893) * Added CNI plugin version upgrade code to common file * Build vpc-eni cni plugin for Windows * Updated the git submodule for vpc-cni plugins * Disabled verbose option for Windows unit tests * Updated git submodule vpc-cni-plugins to latest release * Updated values for max retry during network setup
…aws#2893) * Added CNI plugin version upgrade code to common file * Build vpc-eni cni plugin for Windows * Updated the git submodule for vpc-cni plugins * Disabled verbose option for Windows unit tests * Updated git submodule vpc-cni-plugins to latest release * Updated values for max retry during network setup
Summary
The changes introduced in this PR are-
vpc-eni
plugin for WindowsImplementation details
The changes were implemented using -
vpc-eni
plugins during the agent buildTesting
A custom binary of the agent was tested.
New tests cover the changes:
No new changes have been introduced.
Description for the changelog
Build vpc-eni plugin for ECS Windows task networking
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.