Diary of an Infra Guy -...

23
Diary of an Infra Guy Fatih Degirmenci Master Software Developer, Ericsson

Transcript of Diary of an Infra Guy -...

Page 1: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Diary of an Infra Guy

Fatih Degirmenci

Master Software Developer, Ericsson

Page 2: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Infrastructure Projects

• Pharos

– Community Test Infrastructure • Octopus

– Continuous Integration • Releng

– Automation, Tooling, Software Development Infrastructure

11/11/2015 Diary of an Infra Guy 2

Page 3: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Towards Arno

Page 4: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Early Days

• Different views

• Many upstream projects

• Good ideas but still quite complicated

11/11/2015 Diary of an Infra Guy 4

Page 5: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Tools

11/11/2015 Diary of an Infra Guy 5

Page 6: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Automation and Continuous Integration

• Jenkins jobs were already there!

• Jobs were doing stuff…

• Late to the party?

11/11/2015 Diary of an Infra Guy 6

Page 7: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Hardware Resources

11/11/2015 Diary of an Infra Guy 7

Page 8: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Arno

Page 9: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

How did we start?

11/11/2015 Diary of an Infra Guy 9

Page 10: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

What did we do in Prague?

• Discussed how to bring something up and quick

• Some projects took the lead

– BGS – Octopus – Functest – Pharos

11/11/2015 Diary of an Infra Guy 10

Page 11: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

CI First Steps

• CI put requirements on BGS

• Do the upstream integration yourselves

• Provide simple scripts for us

11/11/2015 Diary of an Infra Guy 11

Page 12: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Bringing up the CI

• Got HW resources

– Server from Ericsson Montreal Lab => builds – LF PODs became operational => bare metal deployment

• Created real Jenkins jobs

• Integrated testing into CI using Functest scripts

– Tempest/Rally – Robot – vPing

11/11/2015 Diary of an Infra Guy 12

Page 13: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Hardware Resources

11/11/2015 Diary of an Infra Guy 13

Page 14: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

CI Setup for Arno

• Project CI

– Project specific verify, merge, and daily jobs – Project CI != part of OPNFV Platform CI

• OPNFV Platform CI

– Jobs from different projects tied together to do build, installation, and testing, creating CI loops

11/11/2015 Diary of an Infra Guy 14

Page 15: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

What else?

• Using OpenStack Infra Utilities, JJB

• We also “Swim Upstream”

• Fixed upstream first!

11/11/2015 Diary of an Infra Guy 15

Page 16: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Arno

• R1 released on June 4th

• SR1 released on October 1st

• 5 projects participated in Arno

– BGS – Functest – Octopus – Pharos – Opnfvdocs

11/11/2015 Diary of an Infra Guy 16

Page 17: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Beyond Arno

Page 18: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Brahmaputra

• 38 projects

• Many different combinations

• High demand on automation and CI

• More labs becoming online

11/11/2015 Diary of an Infra Guy 18

Page 19: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Hardware Resources

11/11/2015 Diary of an Infra Guy 19

Page 20: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Automation and CI Next Steps

• Increased automation & CI coverage

• Produce & integrate artifacts

• Automate resource/lab handling

• Continue working upstream

11/11/2015 Diary of an Infra Guy 20

Page 21: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

What else?

• Work closer with upstream projects

– OpenDaylight – OpenStack

• Involve more OPNFV folks in automation/CI

– About 10 contributors for Arno – Now 20+ contributors and still increasing

11/11/2015 Diary of an Infra Guy 21

Page 22: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

We need you!

• CI is a development practice

• It is everyone’s benefit to have CI

• Raise your needs so we fix them together

• Join and have some fun

Page 23: Diary of an Infra Guy - events17.linuxfoundation.orgevents17.linuxfoundation.org/sites/events/files/slides/Diary_of_an...Automation and Continuous Integration • Jenkins jobs were

Thank you