Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Implement Lambda ASF container image CRUD and docker runtime executor hooks #7266

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

Merged
merged 5 commits into from
Dec 2, 2022

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Nov 30, 2022

Motivation

Current implementation of the new lambda provider is missing relevant features regarding ImageUri CRUD.
Even though container image execution is a LocalStack Pro feature, the basic CRUD functionality should be in community, on the one hand to prevent tools which use them from throwing errors based on invalid API responses, and for the other to make a implementation easier for pro.

Changes

  • Added lambda image / imageconfig crud
  • add tests
  • Move deployment package specific code behind guards, so they are only executed if needed
  • Add hooks to hook into from pro, to support container images and layers

@dfangl dfangl temporarily deployed to localstack-ext-tests November 30, 2022 16:02 Inactive
@coveralls
Copy link

coveralls commented Nov 30, 2022

Coverage Status

Coverage decreased (-0.02%) to 84.178% when pulling c6afe20 on lambda-layer-images into 946cae0 on master.

@github-actions
Copy link

github-actions bot commented Nov 30, 2022

LocalStack integration with Pro

       3 files         3 suites   1h 18m 12s ⏱️
1 542 tests 1 277 ✔️ 265 💤 0
2 170 runs  1 645 ✔️ 525 💤 0

Results for commit c6afe20.

♻️ This comment has been updated with latest results.

@dfangl dfangl temporarily deployed to localstack-ext-tests November 30, 2022 20:37 Inactive
@dfangl dfangl temporarily deployed to localstack-ext-tests December 1, 2022 17:16 Inactive
@dfangl dfangl temporarily deployed to localstack-ext-tests December 1, 2022 21:01 Inactive
@dfangl dfangl marked this pull request as ready for review December 1, 2022 21:13
Copy link
Member

@dominikschubert dominikschubert left a comment

Choose a reason for hiding this comment

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

minor nits in regards to hooks location and resource cleanup, otherwise LGTM 👍

@dfangl dfangl temporarily deployed to localstack-ext-tests December 2, 2022 09:28 Inactive
@dfangl dfangl merged commit 0bf2ae2 into master Dec 2, 2022
@dfangl dfangl deleted the lambda-layer-images branch December 2, 2022 12:44
@dfangl dfangl restored the lambda-layer-images branch December 2, 2022 16:24
@dfangl dfangl deleted the lambda-layer-images branch February 7, 2023 14:59
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.

3 participants