This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from mozilla-services/feat/issue-4
feat: add lambda bundling and config
- Loading branch information
Showing
6 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
git+https://github.com/mozilla-services/push-messages.git@7cf9ea53141f124d8131d65ff7a1a7b32afef8e0#egg=push-messages | ||
boto3==1.2.6 | ||
gzip_reader==0.1 | ||
protobuf==2.6.1 | ||
redis==2.10.5 | ||
twisted==16.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "PushProcessor", | ||
"description": "Process Push Messages", | ||
"region": "us-east-1", | ||
"handler": "push_processor.handler.handler", | ||
"role": "arn:aws:iam::00000000000:role/lambda_basic_execution", | ||
"ignore": [ | ||
"circle.yml", | ||
".git", | ||
"/*.pyc", | ||
".tox", | ||
"ddb", | ||
"ppenv", | ||
"lenv", | ||
"/*.txt", | ||
"/*.json" | ||
], | ||
"timeout": 30, | ||
"memory": 128 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from push_processor.handler import Lambda | ||
|
||
handler = Lambda.handler |