Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

快快樂樂打造自動化開發環境

1,222 views

Published on

自動化是目前常見用來提升團隊生產力的妙方之一,在這場分享中想跟大家聊聊個人對於「自動化」的一些想法,並用四個不同的 DEMO 做為示範,介紹開發團隊可以如何去建立一個具備自動化建置、測試、部署及持續整合能力的工作環境。

Published in: Technology

快快樂樂打造自動化開發環境

  1. 1. Body Level One Body Level Two Body Level Three Body Level Four Body Level Five : https://pixabay.com/en/sand-pit-children-s-playground-sand-1345728/ Cheng Wei Chen @ Community Open Camp 2016.08.27 快快樂樂打造 您的自動化開發環境
  2. 2. Cheng Wei Chen 陳 正瑋 DevOps Engineer @ TheQwan 得寬科技 chengweichen.com
  3. 3. DevOps Taiwan FB 社團 - https://www.facebook.com/ groups/DevOpsTaiwan/ Gitter - https://gitter.im/DevOpsTW : https://stock.tookapic.com/photos/17849 Slack - https://devopstaiwan.slack.com/ 偶爾出沒
  4. 4. 打造自動化開發環境 : https://pixabay.com/en/sand-pit-children-s-playground-sand-1345728/
  5. 5. 快樂 != _ : https://www.pexels.com/photo/smiling-woman-87346/
  6. 6. 快樂定義 : https://zh.wikipedia.org/wiki/: https://www.pexels.com/photo/smiling-woman-87346/
  7. 7. 實際狀況
  8. 8. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是
  9. 9. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是 現實情況是 : https://www.pexels.com/photo/photo-64609/
  10. 10. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是 現實情況是 更多真實的狀況是 : https://www.pexels.com/photo/photo-64609/ : https://www.pexels.com/photo/photo-65050/
  11. 11. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是 現實情況是 更多真實的狀況是 很多時候是 : https://www.pexels.com/photo/photo-64609/ : https://www.pexels.com/photo/photo-65050/ : https://picjumbo.com/real-mens-tools/
  12. 12. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是 現實情況是 更多真實的狀況是 很多時候是 經常期待是 : https://www.pexels.com/photo/photo-64609/ : https://www.pexels.com/photo/photo-65050/ : https://picjumbo.com/real-mens-tools/ : https://pixabay.com/photo-1510561/
  13. 13. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是 現實情況是 更多真實的狀況是 很多時候是 經常期待是 目標是 : https://www.pexels.com/photo/photo-64609/ : https://www.pexels.com/photo/photo-65050/ : https://picjumbo.com/real-mens-tools/ : https://pixabay.com/photo-1510561/ : https://pixabay.com/en/photo-593313/
  14. 14. 自動化 : http://finda.photo/image/11418
  15. 15. : http://finda.photo/image/11418 Bots
  16. 16. : http://finda.photo/image/11418 ChatBotsFB LINE Slack Telegram Skype…
  17. 17. : http://finda.photo/image/11418 ChatBots
  18. 18. ChatBots : http://finda.photo/image/11418
  19. 19. : http://finda.photo/image/11418 ChatBots
  20. 20. : http://finda.photo/image/11418 ChatBotsMSN Skype
  21. 21. : http://finda.photo/image/11418 工程師 自動化 (
  22. 22. : http://finda.photo/image/11418 工程師 自動化
  23. 23. 工程師愛自動化https://www.youtube.com/watch?v=WRkJn5N77jM
  24. 24. 工程師愛自動化 World’s First Robotic Kitchen - Animation https://www.youtube.com/watch?v=P1Irm1HlwnQ
  25. 25. : https://www.pexels.com/photo/coffee-writing-computer-blogging-34600/ 軟體工程師 自動化 (
  26. 26. : https://www.pexels.com/photo/coffee-writing-computer-blogging-34600/ DevOpsTest Automation CI CD......
  27. 27. : https://stock.tookapic.com/photos/10628 最簡單的自動化
  28. 28. : https://stock.tookapic.com/photos/10628 shell scripts
  29. 29. : https://stock.tookapic.com/photos/10628 cron + shell scripts
  30. 30. : https://stock.tookapic.com/photos/10628 Job Queue
  31. 31. : https://stock.tookapic.com/photos/10628 Job Queue : https://www.laravel.com/docs/5.2/queues
  32. 32. : https://stock.tookapic.com/photos/10628 Trigger Action
  33. 33. : https://stock.tookapic.com/photos/10628 Trigger Action : https://ifttt.com/
  34. 34. : https://stock.tookapic.com/photos/10628 Trigger Action : https://azure.microsoft.com/en-us/services/functions/
  35. 35. Think : https://unsplash.com/photos/hANqC3_kTqU
  36. 36. : https://unsplash.com/photos/Fixg8KipOg8 Interface
  37. 37. : https://unsplash.com/photos/Fixg8KipOg8 Bots IM Voice CMD Interface 舉例
  38. 38. : https://unsplash.com/photos/Fixg8KipOg8 Service
  39. 39. : https://unsplash.com/photos/Fixg8KipOg8 BotsCI PaaS Service Worker 舉例
  40. 40. : https://unsplash.com/photos/Fixg8KipOg8 Trigger
  41. 41. : https://unsplash.com/photos/Fixg8KipOg8 DateTime Trigger Webhook Event Trigger 舉例
  42. 42. : https://unsplash.com/photos/Fixg8KipOg8 Scripts
  43. 43. : https://unsplash.com/photos/Fixg8KipOg8 shell scripts Ansible Azure Functions hubot scripts Scripts 舉例
  44. 44. : https://unsplash.com/photos/Fixg8KipOg8 Flow
  45. 45. : https://unsplash.com/photos/Fixg8KipOg8 Raspberry Pi + cron + shell scripts Raspberry Pi + cron + Docker GitLab + Docker GitLab + Jenkins + Docker VSTS + CI Server Trigger ScriptsInterface ServiceFlow more…
  46. 46. 開發流程 : https://www.pexels.com/photo/black-and-white-industry-factory-lamp-5004/
  47. 47. 開發流程 code build test release deploy operateplan
  48. 48. 開發流程 code build test release deploy operateplan
  49. 49. 開發流程 code build test release deploy operateplan CIcommit dev stagingtest testprod deploy 舉例
  50. 50. 開發流程 code build test release deploy operateplan CIcommit dev stagingtest testprod deploy environment dev staging prod local 舉例 舉例
  51. 51. 開發流程 code build test release deploy operateplan CIcommit dev stagingtest testprod deploy environment dev staging prod local More Automation ?
  52. 52. Trigger Scripts Interface Service Flow
  53. 53. Trigger Scripts Interface Service Flow
  54. 54. Interface Service TriggerScripts Flow
  55. 55. : https://unsplash.com/photos/j0g8taxHZa0 DEMOAzure GitLab
  56. 56. shell script Azurel CLI VM DEMO
  57. 57. DEMO VM IP ansible playbook Docker
  58. 58. DEMO ansible playbook Docker Container GitLab
  59. 59. DEMO GitLab Azure Marketplace VM
  60. 60. : https://unsplash.com/photos/j0g8taxHZa0 DEMORepository CI
  61. 61. DEMO slack ChatBot ansible playbook
  62. 62. DEMO ansible playbook Bitbucket repo
  63. 63. DEMO GitLab repo Bitbucket Webhooks deploy key
  64. 64. DEMO ansible playbook failed
  65. 65. : https://unsplash.com/photos/j0g8taxHZa0 DEMO
  66. 66. DEMO vagrant up —provision vagrant .yml
  67. 67. DEMO Container .yml Container
  68. 68. DEMO composer update package
  69. 69. DEMO .yml vagrant provision
  70. 70. DEMO vagrant provision .yml Mysql
  71. 71. 延伸閱讀 Vagrant provision Laravel Homestead https://github.com/laravel/homestead
  72. 72. : https://unsplash.com/photos/j0g8taxHZa0 DEMOGitLab CI -
  73. 73. DEMO git commit git push GitLab
  74. 74. DEMO GitLab Pipelines CI Dev Tests
  75. 75. DEMO CI phpunit
  76. 76. DEMO Pipelines Dev Tests Dev Deploys
  77. 77. DEMO Docker Deploy
  78. 78. DEMO Deploy Curl Deploy
  79. 79. DEMO Pipelines push
  80. 80. DEMO .yml demo .yml local dev
  81. 81. : https://unsplash.com/photos/j0g8taxHZa0 Summary
  82. 82. Interface Service TriggerScripts Flow
  83. 83. 開發流程 code build test release deploy operateplan CIcommit dev stagingtest testprod deploy environment dev staging prod local 舉例 舉例
  84. 84. 快樂 != 簡單 : https://www.pexels.com/photo/smiling-woman-87346/
  85. 85. 實際狀況 : https://www.pexels.com/photo/photo-33343/ 你以為會是 現實情況是 更多真實的狀況是 很多時候是 經常期待是 目標是 : https://www.pexels.com/photo/photo-64609/ : https://www.pexels.com/photo/photo-65050/ : https://picjumbo.com/real-mens-tools/ : https://pixabay.com/photo-1510561/ : https://pixabay.com/en/photo-593313/
  86. 86. Thank You : https://unsplash.com/photos/oxjo1IQBK7M

×