<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/kolla/common/utils.py, branch zed-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=zed-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=zed-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2022-04-15T13:37:25+00:00</updated>
<entry>
<title>enable logging to file for quiet mode</title>
<updated>2022-04-15T13:37:25+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz+kolla@linaro.org</email>
</author>
<published>2022-04-14T13:32:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=0cf5b1d4e6e871562c0ca0f48a21594f8d197471'/>
<id>urn:sha1:0cf5b1d4e6e871562c0ca0f48a21594f8d197471</id>
<content type='text'>
We have 'quiet' mode where only minimal data is printed to the console.
But there were no logs at all then.

This change generates log files (if 'logs-dir' argument is used) during
quiet build.

Also enables 'quiet' mode for CI so Zuul will not have to parse 29MB
JSON file each time.

Change-Id: If7d5c2807f0947a8bbbc1ceb8531c9b9c9287c1f
</content>
</entry>
<entry>
<title>stringify docker-squash version</title>
<updated>2022-02-04T10:48:36+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz+kolla@linaro.org</email>
</author>
<published>2022-02-04T10:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=bbb1f692cdb2cdf5ddfb8b4d7012e7dee52787d8'/>
<id>urn:sha1:bbb1f692cdb2cdf5ddfb8b4d7012e7dee52787d8</id>
<content type='text'>
Before:
(kolla) 11:46 (s) marcin@puchatek:kolla$ ./tools/build.py --squash
INFO:kolla.common.utils:Image squash is enabled and "docker-squash" version is b'1.0.8'

After:
(kolla) 11:46 (s) marcin@puchatek:kolla$ ./tools/build.py --squash
INFO:kolla.common.utils:Image squash is enabled and "docker-squash" version is 1.0.8

Change-Id: If1844434ff0b7c3b35d0a8e742c7e2fad0dc8758
</content>
</entry>
<entry>
<title>Add '--quiet' switch</title>
<updated>2020-01-02T11:58:20+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2020-01-02T11:58:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=73a1d006e44d21693a85b2ff848a0507ba3d8629'/>
<id>urn:sha1:73a1d006e44d21693a85b2ff848a0507ba3d8629</id>
<content type='text'>
Quiet option turns off all image build logs above CRITICAL level. Handy
for checking build/push queue.

Change-Id: I9d49c9e6851341c084673ef2946acf4490c3ae8b
</content>
</entry>
<entry>
<title>utils: be Python 2 compatible when squashing is enabled</title>
<updated>2018-10-26T14:01:15+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2018-10-26T14:01:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=74b70d944f6bb26f46f4961077ca94a496eae9d3'/>
<id>urn:sha1:74b70d944f6bb26f46f4961077ca94a496eae9d3</id>
<content type='text'>
INFO:kolla.common.utils.base:Parent lastest layer is: sha256:75835a67d1341bdc7f4cc4ed9fa1631a7d7b6998e9327272afea342d90c4ab6d
ERROR:kolla.common.utils.base:Unknown error when building
Traceback (most recent call last):
File "/home/hrw/devel/linaro/17.12/kolla/kolla/image/build.py", line 598, in builder
    self.squash()
  File "/home/hrw/devel/linaro/17.12/kolla/kolla/image/build.py", line 619, in squash
    tmp_dir=self.conf.squash_tmp_dir)
  File "/home/hrw/devel/linaro/17.12/kolla/kolla/common/utils.py", line 72, in squash
    ex.stdout)
AttributeError: 'CalledProcessError' object has no attribute 'stdout'

stdout was added in Python 3 as alias for output

Change-Id: I7a6cef2ef6201d6b34c640bd6d1c7762c8bf5611
</content>
</entry>
<entry>
<title>Support squash docker images layers</title>
<updated>2018-01-22T04:58:54+00:00</updated>
<author>
<name>Jeffrey Zhang</name>
<email>zhang.lei.fly@gmail.com</email>
</author>
<published>2017-12-06T04:20:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=d98a102162ff76b09771585ec21ca23415335b90'/>
<id>urn:sha1:d98a102162ff76b09771585ec21ca23415335b90</id>
<content type='text'>
Implements: blueprint squash-layers
Change-Id: Ic9a144e50440ccb37f7781d8955815a64282e687
</content>
</entry>
</feed>
