2. 2
Who am I
● SysAdmin/DevOps
● Automate all the things!
● Make everything smoother
alberto.garcia.fernandez.it@gmail.com
linkedin.com/in/albertogarciafdez
github.com/AlbertoGarciaFdez
4. 4
CI/CD
● Continuous Integration
– “More often the better”
– Reduce the number of conflicting changes
– Detect conflicts earlier
– Make your builds self tested
● Continuous Deployment
– Software “can be” deployable anytime
– Focus on maintainable software rather than
features
7. 7
Puppet
● Configuration management
● Policy-Based Autosigning
● Provision your VM’s
● Build your test environments
● Push your software to production
8. 8
OpenNebula
● Hands On with OpenNebula
● Use sunstone views, roles management
● Jenkins integration
– Use OneFlow
– Parse JSON to ack feedback from OpenNebula
● Puppet integration
– Script Context
– Policy-Based Autosigning + hiera merge + hiera
hostname
9. 9
Sunstone
● Give some resources to your
Jenkins/QA team
– Create groups and users
– Set quotas
– Set sunstone view
– Give permissions over some resources
● Images
● Templates
● OneFlow Templates
● Context ssh-key
11. 11
Jenkins integration
● Deploy your VM
– Use OneFlow instantiate
● Provision the VM Before your tests
– Use preconfigured Puppet
● Run your Tests
● Destroy the VM
– Use OneFlow delete
13. 13
Jenkins integration – Run Tests
● Provision with Puppet
– Get IP from OneFlow
● Parse Json again, loop over nodes if needed
– SSH plugin + ssh certs + puppet agent -t
● Run your tests
● Destroy your environment
– OneFlow delete service ID
14. 14
Questions Time
Thanks for your attention!
alberto.garcia.fernandez.it@gmail.com
linkedin.com/in/albertogarciafdez
github.com/AlbertoGarciaFdez