| Age | Commit message (Collapse) | Author | Files | Lines |
|
Add --buildkit flag to use docker buildx build instead of the docker-py
SDK. An optional --buildkit-builder selects a named buildx builder
instance, enabling docker-container or remote drivers for multi-arch
builds.
--buildkit and --squash are mutually exclusive and rejected at startup.
PushTask is skipped when buildkit is active; push is handled inline.
Set buildkit as the new default.
Change-Id: Idbf1d1bdc091bb84721f8006c2b916731b999859
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
|
|
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
|
|
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
|
|
Quiet option turns off all image build logs above CRITICAL level. Handy
for checking build/push queue.
Change-Id: I9d49c9e6851341c084673ef2946acf4490c3ae8b
|
|
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
|
|
Implements: blueprint squash-layers
Change-Id: Ic9a144e50440ccb37f7781d8955815a64282e687
|