<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/docker/macros.j2, branch stein-eol</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=stein-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=stein-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2021-03-19T09:34:52+00:00</updated>
<entry>
<title>Fix url for get_pip macro</title>
<updated>2021-03-19T09:34:52+00:00</updated>
<author>
<name>Dincer Celik</name>
<email>hello@dincercelik.com</email>
</author>
<published>2021-03-19T09:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=1bc50ebba67b52ad545123627b25a0f893f350f7'/>
<id>urn:sha1:1bc50ebba67b52ad545123627b25a0f893f350f7</id>
<content type='text'>
Stein only.

Change-Id: I1d175b603bbc3adbd371a2d66401ed380378ea9e
</content>
</entry>
<entry>
<title>CI: Use Docker proxy for pulls + Ruby fixes + get_pip</title>
<updated>2021-01-27T09:32:24+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2021-01-26T08:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=cde47e352f0f1393e9341776f108e45767672858'/>
<id>urn:sha1:cde47e352f0f1393e9341776f108e45767672858</id>
<content type='text'>
For Stein (due to CentOS 7) includes as well:

- get_pip macro: fix for Python 2.7

- sensu-client: Pin simpleidn Ruby gem

  simpleidn Ruby gem started requiring Ruby 2.2.

- monasca-grafana: Pin git Ruby gem

  fpm Ruby gem started requiring git Ruby gem
  git Ruby gem started requiring Ruby 2.3

- mark helm-repository as unbuildable

  It no longer builds, it's not used, it's been removed...

Change-Id: I0c4d5e1ea16c6677813a334b38b3a22ad811531d
Co-Authored-By: Radosław Piliszek &lt;radoslaw.piliszek@gmail.com&gt;
Depends-On: https://review.opendev.org/772501
(cherry picked from commit a8c12def858b57349207cab5fa8dabb3c23bdfa0)
</content>
</entry>
<entry>
<title>Use td-agent-gem to install fluentd monasca plugin on ubuntu</title>
<updated>2019-06-18T17:38:18+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-05-23T09:25:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=588c1076c3da583e9f654dcfbed5fde13788dc0d'/>
<id>urn:sha1:588c1076c3da583e9f654dcfbed5fde13788dc0d</id>
<content type='text'>
If monasca is enabled on ubuntu, we see the following error in fluentd:

[error]: config error file="/etc/td-agent/td-agent.conf"
error_class=Fluent::ConfigError error="Unknown output plugin 'monasca'.
Run 'gem search -rd fluent-plugin' to find plugins"

This is because we use 'fluent-gem install' to install the gem, which
works on CentOS but on Ubuntu it is necessary to use 'td-agent-gem
install'.

Change-Id: I515f9764ca93a41a871e520696193a9298856d08
Closes-Bug: #1830147
(cherry picked from commit c585ca5055c7a92fdbe5826030d3529e5c397540)
</content>
</entry>
<entry>
<title>cleanup in base for yum install entries</title>
<updated>2019-03-21T17:20:48+00:00</updated>
<author>
<name>Jon Schlueter</name>
<email>jschluet@redhat.com</email>
</author>
<published>2019-03-15T19:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=95f38fb0f6056ef201d96e141732b32e97338e97'/>
<id>urn:sha1:95f38fb0f6056ef201d96e141732b32e97338e97</id>
<content type='text'>
- introduce install_packages(..., chain=True) to allow chaining on
  onto existing RUN commands
- introduce install_packages(..., clean) which defaults correctly
  but allows you to override if you want to avoid doing extra
  package manager cleanup
- refactored several calls in base to make use of these new features

In general this allows for macros.install_packages to be chained
after other calls

for example

RUN foo &amp;&amp; {{ macros.install_packages(..., chain=True) }}

Change-Id: I4b2fe8e13ee3c0fffe77a1179a7af5b534496996
</content>
</entry>
<entry>
<title>refactor to pull out rpm_security_update macro</title>
<updated>2019-03-21T16:48:53+00:00</updated>
<author>
<name>Jon Schlueter</name>
<email>jschluet@redhat.com</email>
</author>
<published>2019-03-21T15:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=cd307fb1ab261e5a24d3290a523dd573cb3d7e4c'/>
<id>urn:sha1:cd307fb1ab261e5a24d3290a523dd573cb3d7e4c</id>
<content type='text'>
- pulled out the repeated code from 3
  paths in base and moved it into docker/macros
- created macros.rpm_security_update
- made sure the new macro could be customized for cleanup caches
- update macro to use distro_package_manager

Change-Id: Ic79ff42d913e1cbb68be66743e4f79f0bcff47f5
</content>
</entry>
<entry>
<title>Introduce clean_package_cache</title>
<updated>2019-03-17T17:39:52+00:00</updated>
<author>
<name>Emilien Macchi</name>
<email>emilien@redhat.com</email>
</author>
<published>2019-02-13T14:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=d1702568960bee8524204794c68085529c4b8b08'/>
<id>urn:sha1:d1702568960bee8524204794c68085529c4b8b08</id>
<content type='text'>
Default to true (to maintain backward compatibility), this parameter
will allow to disable the Package cache cleaning when building the Kolla
images.

In TripleO, we are investigating how we can accelerate the builds by not
cleaning the Yum cache and this patch will help us to do so.

Also included same for deb package_install method.

Co-Authored-By: Jon Schlueter &lt;jschluet@redhat.com&gt;
Change-Id: I0adc85302dfe0411d362c899f3e0d6a0019680d4
</content>
</entry>
<entry>
<title>Add distro_package_manager configuration</title>
<updated>2019-03-12T18:24:29+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2019-02-25T23:04:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56'/>
<id>urn:sha1:78c819d6232b3fa5c6fb6aa5ea85a54c596f0b56</id>
<content type='text'>
Add configuration to allow the switch between dnf/yum or provide an
alternative package manager.

Change-Id: I913769fcf5875a12b4561958cf7c90b74cd116ea
</content>
</entry>
<entry>
<title>Add python3 packages for RHEL systems</title>
<updated>2019-03-12T17:48:18+00:00</updated>
<author>
<name>Alex Schultz</name>
<email>aschultz@redhat.com</email>
</author>
<published>2019-01-21T19:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=3e5d8e2653db1c6c28cb428f81cd0bc332c623c3'/>
<id>urn:sha1:3e5d8e2653db1c6c28cb428f81cd0bc332c623c3</id>
<content type='text'>
RDO is currently working on python3 support for the next version of
CentOS/RHEL based systems.  This package uses the distro_python3 flag
that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to
use the python3 specific package names.  This change only adds python3
package names for RHEL systems.

Conflicts-With: https://review.openstack.org/#/c/636457/
Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Related-Blueprint: python3-support
</content>
</entry>
<entry>
<title>replace 'distro_python3' variable with 'distro_python_version'</title>
<updated>2019-03-12T17:13:46+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-03-08T12:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=8df6eb01184672ffdc752437ea4d98d13f16026e'/>
<id>urn:sha1:8df6eb01184672ffdc752437ea4d98d13f16026e</id>
<content type='text'>
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.

We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.

How to check for Python 2:

{% if distro_python_version == '2.7' %}

Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
</content>
</entry>
<entry>
<title>Introduce 'get_pip' macro</title>
<updated>2019-03-11T15:52:09+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-03-08T11:03:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ef83ff13fed6c4fb99a3f0445314fa08fa6fd932'/>
<id>urn:sha1:ef83ff13fed6c4fb99a3f0445314fa08fa6fd932</id>
<content type='text'>
We have code for it in four places so it is a good candidate for macro.

Change-Id: Icadcbbe5b386bdf688fd67e8160b40974f047377
</content>
</entry>
</feed>
