ILi*_*cos 8 amazon-web-services aws-cloudformation aws-api-gateway aws-codestar
我刚刚创建了一个全新的AWS Codestar项目。
据我所知,Codestar只是一个集成了多个AWS产品的仪表板。
我还不知道如何配置,这是分支部署。
在我的git仓库,我有3个分支:master,develop和staging
在理想的世界中,master部署到生产,develop开发环境和stagingQA环境。
我不知道如何使用AWS配置该管道,也无法在其开发人员门户中找到相关文档。
这是我的buildspec.yml文件,以防万一可以在此处配置:
version: 0.2
phases:
install:
commands:
- echo Installing NPM Packages...
- npm install
build:
commands:
- aws cloudformation package --template template.yml --s3-bucket $S3_BUCKET --output-template template-export.yml
artifacts:
type: zip
files:
- template-export.yml
Run Code Online (Sandbox Code Playgroud)
这是一个使用AWS API Gateway将请求路由到AWS Lambda函数的项目。
| 归档时间: |
|
| 查看次数: |
910 次 |
| 最近记录: |