https://github.com/kento75/codepipeline-sample
CodePipeline CFn サンプル
https://github.com/kento75/codepipeline-sample
cloudformation codebuild codecommit codedeploy codepipeline lambda-functions python37
Last synced: 2 months ago
JSON representation
CodePipeline CFn サンプル
- Host: GitHub
- URL: https://github.com/kento75/codepipeline-sample
- Owner: Kento75
- Created: 2019-11-18T02:02:41.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T02:57:30.000Z (about 6 years ago)
- Last Synced: 2025-10-14T17:09:10.735Z (2 months ago)
- Topics: cloudformation, codebuild, codecommit, codedeploy, codepipeline, lambda-functions, python37
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codepipeline-sample
## 前提条件
すでに、codecommit にアクセスするための認証情報は登録済みで、sshによる接続設定は完了している。
## 構築
まず、codecommitを作成(ない場合)
```
$ aws cloudformation deploy --template-file ./settings/codecommit.yml --stack-name codecommit-demo
```
template.ymlとソースコードをGit Push する。
CodePipeline作成用のCFnを実行してlambdaをデプロイする。
```
aws cloudformation deploy --template-file codepipeline.yml --capabilities CAPABILITY_NAMED_IAM \
--stack-name lambda-deploy --parameter-overrides \
CodeCommitRepositoryName=test-repository PipelineName=lambda-deploy-pipeline BucketName=kentodemopipeline
```