GitHub Flow로 시작하는,
협업 프로세스
Glace개발, 정민혁
Team Play ✨
TODAY STORY
Goal
Today
Bootcamp
Team
⚽
🏓
🏀
TODAY
🏓
JavaScript
Node.js
Lambda
New Languages
New Runtime
Testing, Deploy
Container w/Lambda
Install Project
$ git clone https://oss.navercorp.com/b1kitchen/menus
...
...
$ npm install
Testing
$ npm run test menu.service.spec
PASS src/service/menu.service.spec.js
menu
✓ fetch menus (163ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 1.527s, estimated 2s
$ wsk property set --auth <apikey> --apihost lambda-real.navercorp.com
$ vi serverless.yml # or edit by vscode
$ wsk package create [oss-username]
$ npm run deploy getMenus
Deploy a function
Run
$ curl -X GET "https://lambda-real.navercorp.com/api/v1/web/b1kitchen/minhyeok-jung/getMenus.json"
$ git checkout -b <branch>
$ git commit -m '<message>'
...
$ git push -u origin <branch>
Team Play ✨
Lambda Action
Action Trigger(Cron)
New Feature
Testing
$ npm run test works.service.spec
Team Play
Git Workflow
GitHub Flow ✨
GitHub Flow ✨
Study
Why?
Issue Template
Share, @Mention
Features/Milestones
Deployments
Draft Pull Request
Testing as code
CI
Communication
Continuous Delivery
Documentation
GitHub Flow
By Minhyeok Jung
GitHub Flow
- 97