Upgrade to Pro — share decks privately, control downloads, hide ads and more …

wercker

Thiện
December 12, 2014

 wercker

Thiện

December 12, 2014
Tweet

More Decks by Thiện

Other Decks in Programming

Transcript

  1. What is Wercker and why use it? About me Thien

    Tran Duy PHP Developer since 2012 User 2877596 on stackoverflow Loves open source Developments Go1 Company [email protected] October 3, 2014 GO1 (meetup) Wercker October 3, 2014 1 / 7
  2. Summary 1 Information 2 Basic usage 3 In Conclusions GO1

    (meetup) Wercker October 3, 2014 2 / 7
  3. Information What is Wercker? Wercker is a collaborative continuous delivery

    platform that helps developers reduce risk and eliminate waste in their software development process, by enabling them to test and deploy often, all in a hassle free way GO1 (meetup) Wercker October 3, 2014 3 / 7
  4. Information(ctn) What about Continuous Deployment / Delivery? Its the final

    touch to move even faster. You can set your CI server to deploy your software after each green build, usually of the master branch (with Git). It could mean push the code/build to all your servers, backup the database, run database migrations and then restart whatever that needs to be restarted, without any human interaction. It will help us: Code Style Check, Code mergeability (are there any merge conflicts), Browser testing, Deployment, Backup, Minifiy and concate js and css, Compile sass/less/etc, Run composer, Test case...Test case... GO1 (meetup) Wercker October 3, 2014 4 / 7
  5. How to use Wercker 1 Getting started with wercker Using

    the web interface Using the CLI A note on werckerbot 2 File wercker.yaml Basics Formating Box Service Build Deploy After steps Timeout 3 What is Box A box is basically a virtual machine with a set of packages installed that support your stack of choice. Using it: box: wercker/php Creating your own boxes: Bash shell, Chef, Puppet GO1 (meetup) Wercker October 3, 2014 5 / 7
  6. Wercker-box name : phalcon v e r s i o

    n : 1 . 1 . 0 i n h e r i t s : wercker /ubuntu12 .04− webessentials@0 . 0 . 3 type : main platform : ubuntu@12 .04 d e s c r i p t i o n : wercker box f o r phalcon keywords : − php55 − mysql − phalcon packages : − php@5 .5 − composer − phalcon s c r i p t : | sudo apt−get update Full working example here GO1 (meetup) Wercker October 3, 2014 6 / 7
  7. In conclusion As you can see, there was very little

    human interaction to ensure quality (unit tests + QA over multiple browsers) or deployment. This whole process enables us to move fast and be confident in what we ship, be it on the unit level or for any Wercker test we have, I hope thatll help you get your deployment process as frictionless as possible. GO1 (meetup) Wercker October 3, 2014 6 / 7