kolla/docker
Radosław Piliszek 8e3027c542 Make kolla_set_configs open files in binary mode
This fixes comparisons when files are not Unicode-encoded.

A relevant unit test is included.
It can be used as a base for other _cmp_file method unit tests
if the need arises.

Change-Id: Ic638516eb92d24ad247a7866fd1b5e2ac0400388
Closes-Bug: #1913952
2021-02-10 15:57:58 +01:00
..
aodh Remove weird deps 2020-08-11 19:07:09 +02:00
barbican Refactor httpd install to base image 2020-08-10 09:51:07 +00:00
base Make kolla_set_configs open files in binary mode 2021-02-10 15:57:58 +01:00
bifrost Fix bifrost network config 2020-09-02 15:23:13 +00:00
blazar Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
ceilometer ceilometer: do not fail when using an unsupported database type 2020-11-27 11:37:52 +01:00
chrony introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
cinder Remove weird deps 2020-08-11 19:07:09 +02:00
cloudkitty Refactor httpd install to base image 2020-08-10 09:51:07 +00:00
collectd Add collectd-libpod-stats to image 2020-08-05 16:20:33 -04:00
cron introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
cyborg Remove footer block from intermediate images 2020-11-20 12:20:21 +00:00
designate Remove support for CentOS 7 2020-04-15 09:32:06 +00:00
dnsmasq introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
elasticsearch docker: do not install pip again in images 2021-01-25 16:43:18 +01:00
etcd introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
fluentd Upgrade the Monasca Fluentd output plugin 2021-01-06 12:00:06 +00:00
freezer Merge "use freezer user for freezer_scheduler container" 2020-12-16 00:25:53 +00:00
glance Remove glance-registry container 2020-07-02 10:54:57 +00:00
gnocchi docker: do not install pip again in images 2021-01-25 16:43:18 +01:00
grafana introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
hacluster introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
haproxy introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
heat Clean up heat-all dockerfile 2020-11-09 14:03:54 +00:00
horizon Remove zaqar image and related plugins 2021-01-25 16:10:21 +01:00
influxdb introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
ironic Merge "ironic-pxe: RHEL/CentOS: install AArch64 modules on all GRUB architectures" 2020-09-17 09:16:21 +00:00
ironic-inspector Install iptables in ironic-inspector container 2020-12-20 02:31:00 +00:00
iscsid introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
kafka Unify curl options 2020-12-02 18:48:22 +01:00
keepalived introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
keystone Remove weird deps 2020-08-11 19:07:09 +02:00
kibana introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
kolla-toolbox Merge "Remove shade and kolla_sanity.py from kolla-toolbox" 2021-01-02 20:42:30 +00:00
kuryr Remove support for CentOS 7 2020-04-15 09:32:06 +00:00
logstash Merge "Upgrade to Logstash 6" 2020-07-10 09:36:22 +00:00
magnum Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
manila Add glusterfs-fuse package to manila-share container 2020-08-24 09:18:36 +00:00
mariadb Merge "mariadb: Fixes incremental backup failure when full not created today" 2020-12-17 12:19:07 +00:00
masakari Build Masakari for Ubuntu binary 2021-01-25 15:31:55 +00:00
memcached introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
mistral Fix Mistral source images to respect upper-constraints 2021-01-24 17:06:25 +01:00
monasca Add a storm-base image 2021-01-12 16:21:32 +00:00
multipathd introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
murano Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
networking-baremetal/ironic-neutron-agent Remove support for CentOS 7 2020-04-15 09:32:06 +00:00
neutron Remove footer block from intermediate images 2020-11-20 12:20:21 +00:00
nova Remove nova-mksproxy image 2021-01-15 14:09:23 +01:00
octavia Refactor httpd install to base image 2020-08-10 09:51:07 +00:00
openstack-base Merge "openstack-base: move some packages from child images" 2021-01-26 20:48:07 +00:00
openvswitch docker: do not install pip again in images 2021-01-25 16:43:18 +01:00
ovn introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
ovsdpdk Remove footer block from intermediate images 2020-11-20 12:20:21 +00:00
panko Remove weird deps 2020-08-11 19:07:09 +02:00
placement Merge "Refactor httpd install to base image" 2020-08-10 17:52:00 +00:00
prometheus Merge "Bump prometheus-openstack-exporter version to 1.3.0" 2020-12-22 11:04:46 +00:00
qdrouterd introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
rabbitmq introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
rally rally: add rally-openstack in source - follow up 2020-10-16 11:16:14 +02:00
redis introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
sahara Remove support for CentOS 7 2020-04-15 09:32:06 +00:00
senlin Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
skydive Merge "Remove footer block from intermediate images" 2020-12-12 21:21:07 +00:00
solum Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
storm Add a storm-base image 2021-01-12 16:21:32 +00:00
swift remove unicode from code 2021-01-03 12:45:34 +08:00
tacker Remove support for CentOS 7 2020-04-15 09:32:06 +00:00
telegraf docker: do not install pip again in images 2021-01-25 16:43:18 +01:00
tempest Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
tgtd introduce 'infra_image_prefix' for infra images 2020-07-09 23:31:42 +02:00
trove Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
vitrage Remove weird deps 2020-08-11 19:07:09 +02:00
vmtp Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
watcher Add block labels to all Dockerfiles 2020-03-01 17:25:58 +00:00
zookeeper Unify curl options 2020-12-02 18:48:22 +01:00
zun Unify curl options 2020-12-02 18:48:22 +01:00
macros.j2 create 'add_binary_source_envs' macro and use it 2020-09-21 12:10:57 +00:00