Travis integration?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 15/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, node.js
Research direction
Start with the package.json and travis.yml examples in the issue, then read the linked Travis Lambda deployment documentation. The issue is a general comparison question rather than a defined code change; it would need a decided scope and an explicit description of what guidance or project documentation should be added before work can be considered done.
Written by the indexing model from the issue text.
Description
Just a general question regarding automated deployment of Lambda functions via Travis. I can see a couple of options here:
The first would be to run the node-lambda CLI as an after_success step. For example:
package.json:
{
"scripts": {
"deploy": "node-lambda deploy"
}
}
travis.yml:
after_success:
- npm run deploy
However, travis also has build in support for Lambda deployment:
e.g.
deploy:
provider: lambda
function_name: "lambda-test"
region: "us-east-1"
role: "arn:aws:iam::0123456789012:role/lambda_basic_execution"
runtime: "nodejs4.3"
handler_name: "handler"
access_key_id: "AWS ACCESS KEY ID"
secret_access_key: "AWS SECRET ACCESS KEY"
The only difference I can spot is that Travis doesn't seem to have any options for setting Lambda Environment variables.
Are there any other reasons why it might be better to use node-lambda from a Travis build?
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 185
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from motdotla/node-lambda
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
motdotla/node-lambda#840 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
motdotla/node-lambda#641 · 6 comments · 2 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
motdotla/node-lambda#618 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
motdotla/node-lambda#544 · 1 reaction ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
motdotla/node-lambda#537 · 2 comments · 1 reaction ·
All issues in motdotla/node-lambda
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bevyengine/bevy-website#2595 ·