Skip to content
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

[ECS Windows] ECS Exec feature for Windows workloads #3053

Merged
merged 14 commits into from
Oct 19, 2021

Conversation

rawahars
Copy link
Contributor

@rawahars rawahars commented Oct 7, 2021

Summary

This PR adds the agent support for enabling ECS Exec feature for Windows workloads running on Amazon EC2.
The changes include-

  • Code changes to enable ECS Exec for Windows workloads
  • Unit tests for the above changes
  • Integration test to validate the functionality

Implementation details

The commits were vetted in their respective PRs.

Testing

Unit tests, integration tests, and functional tests were executed to ensure existing functionality is not broken by the feature changes.
To validate the ECS exec feature changes, custom AMI was built and the workflow was tested on a Windows EC2 instance.

New tests cover the changes:
Yes

Description for the changelog

Enabling ECS Exec for Windows workloads running on ECS EC2

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

arun-annamalai and others added 14 commits October 18, 2021 15:58
This change fixes the following issues-
- Golang base image is Windows release specific and is not scalable. The change introduced here ensures that the correct base image is being used instead of the generic golang image. Also, we will build the binary and then copy it to the container image.
- We need to disable Go Module in order to build the binary. We enable it at the end of the script.
Previously, the Linux was running on older version of Golang. With the Golang version upgrade to 1.17, the refactoring was done to change the build tags. This commit is for the same refactoring to older commits of ECS Exec on Windows feature.
@sharanyad sharanyad force-pushed the feature/ecs_exec_windows branch from f28059f to 5ddc83b Compare October 18, 2021 23:37
@sharanyad sharanyad merged commit 08b47d8 into dev Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants