summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2018-07-04 07:54:05 -0500
committerMonty Taylor <mordred@inaugust.com>2018-07-16 16:27:46 -0500
commit975471e4a7e2de5fa437bd769eec7c089c6031b2 (patch)
tree1075c4568849a55e02bc8d96a0570e5009d1d749 /setup.cfg
parentc19969d033007528f0e4f775add2ae64d603a97d (diff)
downloadzuul-975471e4a7e2de5fa437bd769eec7c089c6031b2.tar.gz
Build container images using pbrx
The pbrx project has a command to build container images based on the python:alpine base image for any project using pbr and bindep. Use it to start building container images for zuul. A followup patch will add support for publishing the images to dockerhub. The images want the database drivers in them to be useful out of the box. Also, the executor wants ara installed. By adding those to extra entries named after the resulting image name, pbrx will install the extra packages at the right time, as well as produce wheels for them during the wheel cache stage. Depends-On: https://review.openstack.org/583047 Change-Id: I453b0ab2c4916cb77249b5f1039e6e18fde47ab1
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 10 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index e0c2aac20..925249bd6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -44,3 +44,13 @@ mysql_reporter=
PyMySQL
migrate=
jenkins-job-builder==1.6.2
+# The container image build process will look at the python extras and install
+# any that match the target container name. It makes a container image for
+# every console_script listed above. The extra name must have underscores.
+# This is a place to put dependencies that should go into reasonable container
+# images but that we do not want to list directly in requirements.txt.
+zuul_base =
+ PyMySQL
+ psycopg2-binary
+zuul_executor =
+ ara