Solum integration with Zuul

Registered by Devdatta Kulkarni

Investigate how OpenStack's existing infrastructure services, such as Zuul can be leveraged for Solum's git push integration feature.

OpenStack-infra currently supports Git integration via Zuul (https://github.com/openstack-infra/zuul).

With Zuul in place, we envision the following workflow for Solum users.

- A user registered in Solum does a git push to their code's Solum remote which is managed/maintained by Zuul.
- Upon code push, Zuul triggers a hook that performs Solum specific next steps.

Blueprint information

Status:
Complete
Approver:
Adrian Otto
Priority:
Medium
Drafter:
Devdatta Kulkarni
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Adrian Otto

Related branches

Sprints

Whiteboard

We want to answer at least the following questions:
1) Will Solum have to run its own Zuul instance, or is it sufficient to use OpenStack-infra's running instance of Zuul?

>> Based on the discussion in git-integration working group meeting on December 11, 2013, it looks like Solum will have to run its own instance of Zuul.

http://irclogs.solum.io/2013/solum.2013-12-11-16.03.log.html

2) What kind of hooks can be added to Zuul?

3) What is the workflow for adding application specific hooks to Zuul?

4) Does Zuul support multi-tenancy? If not, we need to figure out how would we set it up in multi-tenant fashion for Solum.

Etherpad with Zuul integration:
https://etherpad.openstack.org/p/ZuulSolum

----------------------------
paulmo:
This is likely >M1 but we may want to consider using something other than UUIDs:
http://stackoverflow.com/questions/817882/unique-session-id-in-python/6092448#6092448

See task: https://bugs.launchpad.net/solum/+bug/1301578

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.