Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Travis integration?

Đang mở
#273 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
15/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript, node.js
Lĩnh vực
cli, cloud, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

question

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?

Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
185
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của motdotla/node-lambda

Tất cả issue của motdotla/node-lambda

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.