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 branch 'dev' into boltdb #2532

Merged
merged 14 commits into from
Jul 21, 2020
Merged

Merge branch 'dev' into boltdb #2532

merged 14 commits into from
Jul 21, 2020

Conversation

fenxiong
Copy link
Contributor

Summary

Merge branch 'dev' into boltdb. Merging in latest change before doing some final cleanup in boltdb feature branch.

Implementation details

One conflict in agent/engine/docker_image_manager.go. Resolved by keeping changes in both branches.

Testing

Rely on pr checks.

New tests cover the changes: no

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.

ubhattacharjya and others added 14 commits June 19, 2020 17:01
task: remove unused constant arnResourceSections
- Update busybox image versions to latest stable version
- Replace custom dockerfile that pulls python2.7 and pip installws awscli with official AWS image for awscli v2
- Update fluentd image to latest stable
This commit moves the logic adding default excluded images from the
cleanup list to the engine package, away from the config package, and in
doing so fixes two bugs:

1. Prior to this change, any value for ImageCleanupExclusionList
   provided by a config mechanism *other* than environmentConfig would
   be ignored.  This is because environmentConfig has the highest
   precedence, the defaults were added to environmentConfig by
   parseImageCleanupExclusionList, and config.Merge will only merge a
   new value when the left config's field is its zero value.  Since the
   default excluded images were populated, environmentConfig's
   ImageCleanupExclusionList field was never zero.
2. CachedImageNamePauseContainer hard-coded a name for the pause
   container image that was used to populate the exclusion list, but the
   actual name of the pause container is a value populated at link-time
   into the DefaultPauseContainerImageName and DefaultPauseContainerTag
   variables.  If the value was set to anything other than what was
   defined in CachedImageNamePauseContainer, the pause container image
   would not be correctly excluded from image cleanup.

Signed-off-by: Samuel Karp <skarp@amazon.com>
- Update Nginx and ubuntu images to latest stable
@fenxiong fenxiong merged commit 000f6e4 into aws:boltdb Jul 21, 2020
@fenxiong fenxiong deleted the boltdb-merge branch July 21, 2020 20:41
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.