+ All Categories
Home > Documents > Continuous Integration and Delivery for Free and Open Source ...

Continuous Integration and Delivery for Free and Open Source ...

Date post: 14-Feb-2017
Category:
Upload: dinhhanh
View: 216 times
Download: 0 times
Share this document with a friend
13
Continuous Integration and Delivery for Free and Open Source Software Development Dong Ma Hewlett Packard Enterprise [email protected] LinuxCon Japan 2016 Thursday, 14 July 2016
Transcript
Page 1: Continuous Integration and Delivery for Free and Open Source ...

Continuous Integration and Delivery for Free and Open

Source Software Development

Dong Ma

Hewlett Packard Enterprise

[email protected]

LinuxCon Japan 2016

Thursday, 14 July 2016

Page 2: Continuous Integration and Delivery for Free and Open Source ...

Dong Ma (Vincent)

• Hewlett Packard Enterprise software engineer, focused on Free and Open Source Software development

• OpenStack Infrastructure Team software engineer focused on Jenkins and OpenStackCI

• FOSSology project core contributor

Page 3: Continuous Integration and Delivery for Free and Open Source ...

Topics

• What’s CI/CD and why are they important for open source projects

• Typical workflow of CI/CD for OpenSource project

• OpenStack workflow

• How to leverage the OpenStack way

Page 4: Continuous Integration and Delivery for Free and Open Source ...

What’s CI/CD

• CI/CD

• Why CI/CD important for Open Source project

Page 5: Continuous Integration and Delivery for Free and Open Source ...

Typical Workflow of OpenSourceproject

Page 6: Continuous Integration and Delivery for Free and Open Source ...

Problems

• Commits in rapid succession can make CI tests obsolete as they run

• It is possible to end up with a broken master temporarily, you not even know it.

Page 7: Continuous Integration and Delivery for Free and Open Source ...

Doesn’t scale to large open source projects• OpenStack

• 50+ official projects

• More than 2000 contributors

• 100K+ patchsets submitted in the last development cycle

Page 8: Continuous Integration and Delivery for Free and Open Source ...

OpenStack workflow

Page 9: Continuous Integration and Delivery for Free and Open Source ...

OpenStack Infrastructure

Page 10: Continuous Integration and Delivery for Free and Open Source ...

OpenStack Infrastructure update

• Zuul v3 and ansible to replace Jenkins

• Zuul v2.5 to solve immediate problems

Page 11: Continuous Integration and Delivery for Free and Open Source ...

Problems solved

• The master version is always OK at any time

• Nodepool reduce the infrastructure costs

• Gated commits with Zuul ensure that tests are never obsolete

Page 12: Continuous Integration and Delivery for Free and Open Source ...

How to leverage OpenStack way

• Tools we can use• Git

• Gerrit

• Zuul

• Jenkins (jenkins-job-builder)

• Nodepool

• http://docs.openstack.org/infra/openstackci/

Page 13: Continuous Integration and Delivery for Free and Open Source ...

Questions

• Contact• Email: [email protected]

• HPE Email: [email protected]

• Freenode: larainema

• Resource• http://docs.openstack.org/infra/system-config/


Recommended