More Related Content
Similar to meguro.rb LT (20)
More from Tsunenori Oohara
More from Tsunenori Oohara (20)
meguro.rb LT
- 12. 流れ( PR -> Wercker -> DO )
• https://github.com/ohr486/itamae-plugin-recipe-scala
• GithubのPRが作成されるとWerckerが起動
• https://github.com/ohr486/itamae-plugin-recipe-
scala/blob/master/wercker.yml
• Wercker上で
• https://github.com/ohr486/itamae-plugin-recipe-
scala/blob/master/ci/setup.sh
• Dockerコンテナが起動
• Vagrant, DigitalOceanPluginをインストール
• SSHの鍵を設定(情報はwerckerの環境変数から取得)
• VagrantをDigitalOcean上に作成
- 13. 流れ( DO -> Wercker )
• DigitalOcean上で
• https://github.com/ohr486/itamae-plugin-recipe-
scala/blob/master/ci/build.sh
• Itamaeを流して環境作成
• Serverspecを実行してテスト
• Wercker上で
• DigitalOceanのサーバーを削除
- 14. めでたしめでたし
• デモリポジトリ
• github
• https://github.com/ohr486/itamae-plugin-recipe-scala
• wercker
• https://app.wercker.com/ohr486/itamae-plugin-recipe-scala/runs