aboutsummaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2026-06-17 07:24:16 +0200
committerMichal Nasiadka <mnasiadka@gmail.com>2026-08-05 10:13:09 +0200
commit5aabec47f057d9cb32aab520d666e51bd9ee37c6 (patch)
tree181eecd8804b7dd6b47ffa768ab94565f751728b /specs
parent8e912a9db7f013a1abfc1e70a829e435d50622db (diff)
downloadkolla-5aabec47f057d9cb32aab520d666e51bd9ee37c6.tar.gz
kolla-5aabec47f057d9cb32aab520d666e51bd9ee37c6.zip
Add cleanup_repos to revert build_only overrides
Repos marked build_only: true are backed up before handle_repos() overwrites them and restored at the end of each image build, so CI mirror URLs are not baked into the final image. The cleanup RUN was injected into every Dockerfile, not just images that called handle_repos() for those repos. Child images with no backup fell through to "rm -f", deleting the inherited repo file (e.g. debian.sources in bifrost-base, breaking cpio install). Fix by adding a {repo}.enabled sentinel that handle_repos creates when it processes a build_only repo, making the cleanup conditional on that sentinel. Change-Id: Ie5b9970a4575b6258dc238059d3f33ddfe155789 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'specs')
0 files changed, 0 insertions, 0 deletions