• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Service Configuration Management for Rapid Growth - demo 10 steps to build pipeline -
 

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

on

  • 968 views

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

Statistics

Views

Total Views
968
Views on SlideShare
942
Embed Views
26

Actions

Likes
0
Downloads
1
Comments
0

1 Embed 26

https://twitter.com 26

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

    • Service Configuration Management For Rapid Growth – Demo - Friday, September 6 2013 Echelon Ignite 2013 Thailand
    • 10 STEPS to build “Pipeline”
    • Echelon Ignite 2013 Thailand Prerequisites  Runtime Environment  Python 2.7  Ruby 1.9  Java 1.6 or later  Tool  Vagrant 1.2  Jenkins
    • VCS CI Service source code Server Configuration Server Orchestration app servers Test Test configure deploy Git Jenkins serverspe c ansible fabric selenium Test
    • 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
    • Echelon Ignite 2013 Thailand open http://localhost:5000/todo
    • Echelon Ignite 2013 Thailand #2 run tests $ py.test tests -vl app
    • 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
    • Echelon Ignite 2013 Thailand #3 add “Unit Test” job py.test --junitxml=pytest.xml tests
    • VCS CI source code Test Git Jenkins
    • 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
    • Echelon Ignite 2013 Thailand #5 add “Server Test” job https://github.com/nulab/echelon- 2013-scm-server.git
    • Echelon Ignite 2013 Thailand #5 add “Server Test” job #!/bin/sh vagrant up rake -t ci:setup:rspec spec
    • 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
    • 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
    • CI Service Server Configuration Server Orchestration app servers Test configure deploy Jenkins ansible fabric selenium Test
    • Echelon Ignite 2013 Thailand open http://192.168.33.10/todo
    • Combine!!
    • Echelon Ignite 2013 Thailand #8 add “Assemble Archive” job open http://localhost:8080/view/All/newJob
    • Echelon Ignite 2013 Thailand #8 add “Assemble Archive” job
    • Echelon Ignite 2013 Thailand #9 add “Deploy” job
    • Echelon Ignite 2013 Thailand #10 add “Integration Test” job https://github.com/nulab/echelon- 2013-scm-selenium.git
    • 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
    • Echelon Ignite 2013 Thailand Build Pipeline
    • VCS CI Service source code Server Configuration Server Orchestration app servers Test Test configure deploy Git Jenkins serverspe c ansible fabric selenium Test
    • Thanks!! If you have any questions, Feel free to ask @nulabinc