Your SlideShare is downloading. ×
  • Like
  • Save
Service Configuration Management for Rapid Growth - demo 10 steps to build pipeline -
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Service Configuration Management for Rapid Growth - demo 10 steps to build pipeline -

  • 830 views
Published

Configuration Management Workshop held at Echelon Ignite Thailand 2013 …

Configuration Management Workshop held at Echelon Ignite Thailand 2013

see also
- https://github.com/nulab/echelon-2013-scm-webapp
- https://github.com/nulab/echelon-2013-scm-server
- https://github.com/nulab/echelon-2013-scm-selenium

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
830
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Service Configuration Management For Rapid Growth – Demo - Friday, September 6 2013 Echelon Ignite 2013 Thailand
  • 2. 10 STEPS to build “Pipeline”
  • 3. Echelon Ignite 2013 Thailand Prerequisites  Runtime Environment  Python 2.7  Ruby 1.9  Java 1.6 or later  Tool  Vagrant 1.2  Jenkins
  • 4. VCS CI Service source code Server Configuration Server Orchestration app servers Test Test configure deploy Git Jenkins serverspe c ansible fabric selenium Test
  • 5. Echelon Ignite 2013 Thailand #1 build and run app $ git clone https://github.com/nulab/echelon-2013-scm- webapp.git $ cd echelon-2013-scm-webapp $ pip install –r packages.txt $ sqlite3 todo.db < etc/schema.sql $ ./app.py –r -d app
  • 6. Echelon Ignite 2013 Thailand open http://localhost:5000/todo
  • 7. Echelon Ignite 2013 Thailand #2 run tests $ py.test tests -vl app
  • 8. Echelon Ignite 2013 Thailand #3 add “Unit Test” job open http://localhost:8080/view/All/newJob https://github.com/nulab/echelon- 2013-scm-webapp.git
  • 9. Echelon Ignite 2013 Thailand #3 add “Unit Test” job py.test --junitxml=pytest.xml tests
  • 10. VCS CI source code Test Git Jenkins
  • 11. Echelon Ignite 2013 Thailand #4 build and test server $ git clone https://github.com/nulab/echelon-2013-scm- server.git $ cd echelon-2013-scm-server $ vagrant up $ vagrant ssh-config > ssh.config $ vagrant ssh $ rake spec server
  • 12. Echelon Ignite 2013 Thailand #5 add “Server Test” job https://github.com/nulab/echelon- 2013-scm-server.git
  • 13. Echelon Ignite 2013 Thailand #5 add “Server Test” job #!/bin/sh vagrant up rake -t ci:setup:rspec spec
  • 14. Echelon Ignite 2013 Thailand #6 deploy app $ pip bundle -r packages.txt todo.pybundle app $ fab stop –H default $ fab deploy:localdir=“../echelon-2013-scm-webapp/” –H default $ fab start –H default server
  • 15. Echelon Ignite 2013 Thailand #7 integration test $ git clone https://github.com/nulab/echelon-2013-scm- selenium.git $ cd echelon-2013-scm-selenium $ export SELENIUM_TARGET_HOST="http://192.168.33.10” $ py.test tests -vl selenium
  • 16. CI Service Server Configuration Server Orchestration app servers Test configure deploy Jenkins ansible fabric selenium Test
  • 17. Echelon Ignite 2013 Thailand open http://192.168.33.10/todo
  • 18. Combine!!
  • 19. Echelon Ignite 2013 Thailand #8 add “Assemble Archive” job open http://localhost:8080/view/All/newJob
  • 20. Echelon Ignite 2013 Thailand #8 add “Assemble Archive” job
  • 21. Echelon Ignite 2013 Thailand #9 add “Deploy” job
  • 22. Echelon Ignite 2013 Thailand #10 add “Integration Test” job https://github.com/nulab/echelon- 2013-scm-selenium.git
  • 23. Echelon Ignite 2013 Thailand #10 add “Integration Test” job export SELENIUM_TARGET_HOST="http://192.168.3 3.10" py.test --junitxml=pytest.xml tests
  • 24. Echelon Ignite 2013 Thailand Build Pipeline
  • 25. VCS CI Service source code Server Configuration Server Orchestration app servers Test Test configure deploy Git Jenkins serverspe c ansible fabric selenium Test
  • 26. Thanks!! If you have any questions, Feel free to ask @nulabinc