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

register agent with "none" log driver capability #1041

Merged
merged 4 commits into from
Oct 30, 2017

Conversation

aaithal
Copy link
Contributor

@aaithal aaithal commented Oct 27, 2017

Agent registers itself as being capable of placing containers
with "none" logging driver on start, without the need for
explicitly specifying this in the config

Summary

register agent with "none" log driver capability

Implementation details

  • Added an enum for "none" logging driver
  • Added "none" to the default list of logging drivers registered

Testing

  • Builds on Linux (make release)
  • Builds on Windows (go build -out amazon-ecs-agent.exe ./agent)
  • Unit tests on Linux (make test) pass
  • Unit tests on Windows (go test -timeout=25s ./agent/...) pass
  • Integration tests on Linux (make run-integ-tests) pass
  • Integration tests on Windows (.\scripts\run-integ-tests.ps1) pass
  • Functional tests on Linux (make run-functional-tests) pass
  • Functional tests on Windows (.\scripts\run-functional-tests.ps1) pass

New tests cover the changes: Yes

Description for the changelog

Licensing

This contribution is under the terms of the Apache 2.0 License:

Agent registers itself as being capable of placing containers
with "none" logging driver on start, without the need for
explicitly specifying this in the config
changed min docker version required to 1.19
Copy link
Contributor

@adnxn adnxn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aaithal aaithal added this to the 1.15.0 milestone Oct 30, 2017
aaithal added a commit to aaithal/amazon-ecs-init that referenced this pull request Oct 30, 2017
This commit modifies the `ECS_AVAILABLE_LOGGING_DRIVERS` env var
for the Agent to include `none` logging driver. This compliments
aws/amazon-ecs-agent#1041 PR in the
ECS Agent repository.
aaithal added a commit to aaithal/amazon-ecs-init that referenced this pull request Oct 30, 2017
This commit modifies the `ECS_AVAILABLE_LOGGING_DRIVERS` env var
for the Agent to include `none` logging driver. This compliments
aws/amazon-ecs-agent#1041 PR in the
ECS Agent repository.
@aaithal aaithal merged commit 0156888 into aws:dev Oct 30, 2017
aaithal added a commit to aws/amazon-ecs-init that referenced this pull request Oct 30, 2017
This commit modifies the `ECS_AVAILABLE_LOGGING_DRIVERS` env var
for the Agent to include `none` logging driver. This compliments
aws/amazon-ecs-agent#1041 PR in the
ECS Agent repository.
@jhaynes jhaynes mentioned this pull request Oct 31, 2017
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.

4 participants