Más contenido relacionado
La actualidad más candente (20)
Similar a Herokuで実践するCI, CD (20)
Más de Salesforce Developers Japan (20)
Herokuで実践するCI, CD
- 2. Forward-‐‑‒Looking Statements
‹#› | ©2017 Salesforce
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or
if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the
forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any
projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies
or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology
developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for
our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of
growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed
and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand,
retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history
reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could
affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly
report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC
Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may
not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently
available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
- 3. 本⽇日のセミナー内容
3 | ©2017 Salesforce
内容
• 継続的デリバリーの流流れ(継続的インテグレーション・デプロイ)を理理解する
• Heroku CI と Heroku Pipelines で継続的デリバリーの使い⽅方を学ぶ
対象者
• アプリケーション開発者
• ターミナルでコマンド操作ができる⼈人
• Github を使えている⼈人
• Heroku を使ってみたい・使っている⼈人
• Salesforce が好きな⼈人
ゴール • Heroku CI と Heroku Pipelines を設定して、フローを回すことができる
- 4. 今⽇日の流流れ
4 | ©2017 Salesforce
継続的デプロイ
について理理解する
GitHubとの連携
Heroku CI で
⾃自動テスト
Heroku Pipelines
での⾃自動化
ü 最後に質問への回答の時間を設けます
ü 質問はいつでも送ってください
- 6. 今⽇日の解説者
阿 部 崇 (Takashi Abe)
Platform Specialist (@sho7650)
アプリエンジニア à HWエンジニア à インフラエンジニア
à アーキテクト兼ITコンサル à 現職
ライブと熱帯⿂魚が好き: Perfume/BABYMETAL/藤原さくら/稲川淳⼆二
- 10. DevOps ムーブメントの原動⼒力力となっている要因
継続的なイノベーションのためにDevOpsを導⼊入する (IBM Developer Works)
10 | ©2017 Salesforce
継続的なイノベーションのためにDevOps を導⼊入する (https://www.ibm.com/developerworks/jp/devops/library/d-‐‑‒devops-‐‑‒continuous-‐‑‒innovation/index.html)
4 顧客は、使⽤用中のどのプラットフォームからでも、最新の機能に
アクセスし、それらを使⽤用できることを求めている
3 運⽤用担当者は、要求に応じて環境をプロビジョニングできるように
なっている
2 開発者は、機能を毎⽇日次々に開発している
1 事業主は、アジリティー (俊敏性) を求めている
- 20. 継続的デリバリーの⽬目的
開発中のソフトウェアを、いつでもデプロイできる状態にすること
20 | ©2017 Salesforce
“The key test is that a business sponsor could request that the current development version
of the software can be deployed into production at a moment's notice”
– Martin Fowler (https://martinfowler.com/bliki/ContinuousDelivery.html )
「今、開発中のバージョンを、すぐに本番環境にデプロイしろ」
という、お客様からのリクエストに対処できるか
参考(Deployment Pipeline) http://martinfowler.com/bliki/DeploymentPipeline.html
- 26. GitHub Flow とHeroku は連携しやすい開発スタイル
プルリクエストと連動して、アプリ環境を⾃自動的に⽣生成
Update index.html
Create readmore.md
master
Hammertime
- 32. デモのおさらい
⼿手順の確⽴立立したデプロイパイプラインに従って、安全にリリース & デプロイ
ローカル: リポジトリ
GitHub: リポジトリ
Heroku CI
Heroku: Review Apps
Heroku: STAGING
Heroku: PRODUCTION
git clone
コード改修
git push
⾃自動テスト
テスト結果
プルリクエスト
アプリテスト
マージ
テスト完了了待ち
⾃自動テスト
受⼊入テスト
デプロイ!
(Promote!!)
Heroku アプリケーション環境
1.改修とプッシュ 2.プルリクエスト 3.master ブランチへマージしてステージング環境でテスト 4.デプロイ