31. 持續交付和持續部署有什什麼不同?
前者需⼿手動 Release ⾄至 Production,⽽而後者則⾃自動化之。
Continuous Delivery
Continuous Deployment
auto auto manual
Build Deploy Test Release
auto auto auto
Build Deploy Test Release
31
129. More Playbooks ..
• Ansible Role: Install Vim and use vi-mode in everyway
- https://github.com/chusiang/vim-and-vi-mode.ansible.role
• Ansible Role: PHP 7 (php-fpm) for Nginx on Ubuntu and CentOS
- https://github.com/chusiang/php7.ansible.role
• Ansible Galaxy
- https://galaxy.ansible.com/
• Code samples from 《Ansible: Up and Running》
- https://github.com/ansiblebook/ansiblebook
129
135. LAB2
① 建立 Control Machine。
$ docker run -Pd chusiang/ansible-jupyter:ubuntu-16.04
② 建立 Managed node × 2。
$ docker run -Pd
chusiang/ansible-managed-node:ubuntu-16.04
$ docker run -Pd
chusiang/ansible-managed-node:ubuntu-16.04
③ 查看 Managed node 的 ssh port。
$ docker ps
CONTAINER ID IMAGE ...... STATUS PORTS NAMES
135
139. 我的 Pipeline 進化史
Unit Test Integration Test Delivery DeploymentBuildSyntax Check
Unit Test Delivery DeploymentBuildSyntax Check
Unit TestDelivery DeploymentBuildSyntax Check
Delivery DeploymentBuildSyntax Check
BuildSyntax Check
Build
139