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

merge from dev and minor logging changes #2405

Merged
merged 35 commits into from
Mar 25, 2020
Merged

merge from dev and minor logging changes #2405

merged 35 commits into from
Mar 25, 2020

Conversation

jy19
Copy link
Contributor

@jy19 jy19 commented Mar 23, 2020

Summary

This PR:

  • merges latest from dev into env_files feature branch.
  • logs for when environment file line is skipped

Implementation details

N/A

Testing

make test successful

New tests cover the changes: N/A

Description for the changelog

N/A

Licensing

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

suneyz and others added 30 commits January 17, 2020 14:25
Merge dev into feature branch
EFS auth capability and related model updates
Merge branch 'dev' into feature/efs-aws-vpc
Implemented dependency logic so that EFS type volume task resource wait for pause container to be finished.
1. Remove UpdateAppliedStatus from task resource interface as it is unnecessary.
2. Remove returned error from BuildContainerDependency method since it doesn't really need to return an error.
3. Don't add namespace pause container as efs volume resource's dependency.
4. Minor refactor and cleanup.
Code changes for the volume task resource to use information from the task to invoke the ecs volume plugin to create the EFS volume, with transit encryption, transit encryption port, iam, network namespace supported.

Transit encryption, transit encryption port and iam are supported via passing options to mount helper constructed from task payload. Options are constructed when the volume task resource is initialized during PostUnmarshalTask.

To support mounting EFS in task network namespace for task in awsvpc network mode, the task network namespace handle is passed as another option to the mount helper. The pause container pid is saved in the volume task resource when pause container is transitioning to RESOURCE_PROVISION, and the pid is persisted to state file.

Refactor EFS related logic into a separate file for readability.
Initialize the updated volume task resource with efs volume information from task payload.

Extract and refactor some of the common logic in task_test.go to a separate file task_test_utils.go for readability.
Add volume plugin capabilties based on the value specified in ECS_VOLUME_PLUGIN_CAPABILITIES env.
Implement task resource container dependency
Integrate with ECS Volume Plugin for EFS volume
@jy19 jy19 merged commit a7b9b73 into aws:env_files Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants