Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Trusted confiuratons for UMD deployments
Bruce Becker, EGI Operatons
bruce.becker@eii.eu @brusisceddu brucellino 0000-0002-6607-7145
Trusted confiuratons for UMD deployments Bruce Becker, EGI - - PowerPoint PPT Presentation
Trusted confiuratons for UMD deployments Bruce Becker, EGI Operatons bruce.becker@eii.eu @brusisceddu brucellino 0000-0002-6607-7145 Bruce Becker | EGI Operations Team | bruce.becker@egi.eu Outline Ansible in the UMD path to
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
bruce.becker@eii.eu @brusisceddu brucellino 0000-0002-6607-7145
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
–
What makes our roles ‘ours’ ?
–
How can we trust each others’ work ?
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
YAIM
–
Confguraton Management : single place in which to express the desired confguraton state
–
Deployment : executable means to achieve the state
tool for confguraton management :
–
Puppet
–
Ansible
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
preferences
community tends to split into ‘if you use this tool, change this variable… oh, sorry you use other tool, can’t help.’
than another, can we fnd a way to support each other?
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
they have in certain environments.
diferent scenarios beter in each case
expresses a preference for either ? I hazard that it should not.
–
End states should not depend on the path taken to get there
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
middleware product, we should be able to review each others’ work.
review each others’ work ?
–
Focus on paterns instead of specifc implementaton
–
Collaborate on the objectve measures of quality – ie the fnal result
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
and confguraton scenarios – these make their way into the code for deployment.
surface these assumptons and force us to confront them.
from a given state, regardless of the means to achieve it.
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
to just solve problems and be done with it.
way in which problems are solved, making it difcult to trust that other peoples’ work will work for you.
–
Will it respect my local setup ?
–
Does it do the network confguraton ?
–
Who maintains this ?
–
Is it even correct ?
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
EGI-Foundaton/ansible-style-guide
–
Documentng roles
–
Ansible syntax in roles
–
Testng role scenarios, testng tools
–
Role release and publicaton
–
Collaboratng with code
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
<role name>
engendering re-use and trust :
–
Issue and PR templates, contributng guide, links to EGI support structures
–
Relevant platorms which EGI supports in meta.yml
–
Properly-generated .travis.yml
–
Proper webhooks on build-passing to galaxy.ansible.com
guide/egi-galaxy-skeleton high-performance-grid-cloud
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
–
Automated testng
–
GitHub repository confguraton
–
Role Metadata
–
Role Skeleton
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
brucellino.iithub.io/bloi/Style-Guide-In-Acton
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
–
artefacts immediately available for re-use in subsequent steps of the pipeline
–
Can open issues against the repo automatcally
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
scenarios -
–
Small sites with few staf, in known scenarios
–
Unmanned deployments
–
Diferent deployment platorms
–
Peer review, pull requests, infrastructure specs, documentaton
that product in a viable state to the producton environment
ecosystem sites in Africa.
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
testng as UMD products
good, as long as there is a community of practce in EGI around those tools
Guide, along with a compliance profle.
–
develop infrastructure components to do so smoothly and collaboratvely
–
Operate infrastructure components to do so with confdence
Bruce Becker | EGI Operations Team | bruce.becker@egi.eu
–
Molecule : molecule.readthedocs.io
–
TestInfra : testnfra.readthedocs.io
–
Inspec : www.inspec.io
–
Cucumber : cucumber.io
–
‘E-Infrastructure Components that are built to last’
–
‘Style Guide in Acton’