Commit Graph

1 Commits

Author SHA1 Message Date
Tristan Cacqueray 3795280382 executor: add support for generic build resource
This change adds executor support for generic build resources.
Using the connection_port, a kube config file is generated to enable ansible
tasks to use the resource. Context and pod name is also exported in a
zuul.resources variable to enable job direct access to the build resource.

Currently this change supports 'kubectl' resource for containers that behave
like a machine, and 'project'/'namespace' resource for native containers.

Change-Id: Icdb9e800177dc770c58f65b02456a6b904be0666
2018-12-11 04:06:49 +00:00