Mage Titans USA 2016 - Miguel Balparda - Magento 2: Premium Performance with PHP 7 and Varnish
Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing
-
Upload
stacey-whitney -
Category
Technology
-
view
41 -
download
0
Transcript of Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing
![Page 1: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/1.jpg)
![Page 2: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/2.jpg)
Jonathan BowndsCTO
![Page 3: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/3.jpg)
Jonathan BowndsCTO
Mastering Magento 2
![Page 4: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/4.jpg)
Why roll this together? Sid Mashburn Deploying code in a reproducible manner to our staging servers was
taking a lot of time, as sysops ended up being a bottleneck. We moved responsibility for all merges to developers, and turned on Jenkins git repo polling so that changes to a given branch would trigger a build. With some basic testing in place, build breaking is infrequent, and responsibility for fixing the build resides with the developers as well.
This facilitates faster development, additional visibility for stakeholders and distributed responsibility for fixing issues with the build, which in the end.
![Page 5: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/5.jpg)
Tools!
Jenkins Ansible PhantomJS
![Page 6: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/6.jpg)
Jenk-who? Jenkins is an award-winning, cross-platform, continuous integration and
continuous delivery application that increases your productivity. Use Jenkins to build and test your software projects continuously making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. It also allows you to continuously deliver your software by providing powerful ways to define your build pipelines and integrating with a large number of testing and deployment technologies.
Install is a snap- Example for Centos/RHEL:
![Page 7: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/7.jpg)
Ansi-what? Ansible is basically automatied
system administration and organization.
I’m sure that there are a lot of good reasons to line ansible- After all Red Hat acquired them, so there must be something under the hood.
What I like: Ansible feels like shell scripting to me. Ansible is
![Page 8: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/8.jpg)
Phantom-where? Run functional tests with
frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others.
![Page 9: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/9.jpg)
What does this look like ? Run functional tests with
frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others.
![Page 10: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/10.jpg)
Phantom-where? Sample text Sample text
![Page 11: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/11.jpg)
Gatekeeper
![Page 12: Mage Titans USA 2016 - Jonathan Bownds - Magento CI and Testing](https://reader035.fdocuments.us/reader035/viewer/2022070603/5871af021a28abda6a8b6377/html5/thumbnails/12.jpg)
Sample Title
Heading Heading Heading
data data data
Info introducing the data in the table below.