kolla/docker
Michal Arbet 11f65c6c1d Add mechanism for patching files in containers
This patch adds a way to patch files in a Docker
image built by Kolla. This is very useful for several
reasons, specifically:

- Custom modifications
- The stable branch of some library has a fix but no pip
  package has been released
- Eliminates the need to package your own pip packages
- Eliminates the need to invent your own versioning to prevent
  upstream versioning
- Eliminates the need to manage a pip server
- In other words, it eliminates the need to get a wheel into
  the image and install it manually using any method not
  previously mentioned

It is also highly desirable because, although Kolla can replace
the source for a service with a custom URL for a tarball or its
own Git repo, it cannot do this for dependencies pulled from pip.

I would also like to point out that this is a feature with its own
code path and works only if the user "inserts" a patch into the folder
patches/docker-image/something.patch and creates an analogous series
file for patch source code.

Simply said, this code will never interfere with the upstream build process
since this feature is not intended for use in upstream.
It is rather meant for downstream users who know what they are doing.
Now they just have an option to patch their images.

Everything works on all layers of the Docker image and stores a report
of applied patches which can then be seen in /etc.

This mechanism is similar as debian patch quilt.

Change-Id: I61d0790c5d4d070b7ea9e8c99c0a76ff5d22bf9d
2024-11-15 08:04:30 +00:00
..
aodh Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
barbican Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
base Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
bifrost Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
blazar Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
ceilometer Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
cinder Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
cloudkitty Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
collectd Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
cron Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
cyborg Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
designate Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
dnsmasq Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
etcd Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
fluentd Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
glance Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
gnocchi Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
grafana Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
hacluster Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
haproxy Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
heat Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
horizon Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
influxdb Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
ironic Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
ironic-inspector Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
iscsid Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
keepalived Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
keystone Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
kolla-toolbox Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
kuryr Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
letsencrypt Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
magnum Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
manila Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
mariadb Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
masakari Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
memcached Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
mistral Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
multipathd Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
networking-baremetal/ironic-neutron-agent Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
neutron Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
nova Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
octavia Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
opensearch Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
openstack-base Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
openvswitch Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
ovn Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
ovsdpdk Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
placement Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
prometheus Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
proxysql Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
rabbitmq Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
redis Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
skyline Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
swift Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
tacker Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
telegraf Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
tgtd Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
trove Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
venus Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
watcher Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
zun Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00
macros.j2 Add mechanism for patching files in containers 2024-11-15 08:04:30 +00:00