Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Lapper is a wrapper programs for Container running on Lambda. (Beta)

License

Notifications You must be signed in to change notification settings

Finatext/lapper

Open more actions menu

Repository files navigation

Lapper (Lambda wrapper)

lapper

! Lapper is still in Beta version !
Lapper is a wrapper container for Lambda Functions.

lapper.png

Concept

  • Easy to add notification on your function.
  • Function Language agnostic.

Usage

1. Build Container Image

Build your container image from lapper container image.

FROM docker.pkg.github.com/finatext/lapper/lapper:beta
WORKDIR ${LAMBDA_TASK_ROOT}
COPY test.sh ${LAMBDA_TASK_ROOT}
CMD ["./test.sh"]

2. Set Environment Variables

You can use these variables.

  • LAPPER_SLACK_WEBHOOK_URL(Optional) ... Slack Webhook URL for notification.
  • LAPPER_NOTIFY_COND(Optional, Default:stderr) ... Specify when to notify.
    • all ... Notify every time.
    • stderr ... Notify if stderr was output.
    • exitcode ... Notify if exit code wasn't 0.
  • LAPPER_POST_STDOUT(Optional, Default:false) ... Whether includes STDOUT on message.
  • LAPPER_POST_STDERR(Optional, Default:true) ... Whether includes STDERR on message.
  • LAPPER_POST_ERROR(Optional, Default:true) ... Whether includes error on message.

Examples

License

MIT

Author

Satoshi Tajima

About

Lapper is a wrapper programs for Container running on Lambda. (Beta)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  
Morty Proxy This is a proxified and sanitized view of the page, visit original site.