Consolidating conversation from here:
@rvs said:
what to do with image.ymls
using a floating tag (like snapshot or latest) will be fine, but I don't remember linuxkit and Docker caching policies for these. Do you?
The question of "what do with image ymls" means, how do we simplify the usage of the ymls. Right now, the image ymls are templated. For example, rootfs.yml comes from rootfs.yml.in, which looks as follows (partial):
kernel:
image: KERNEL_TAG
cmdline: "rootdelay=3"
init:
- GRUB_TAG
- DTREES_TAG
- FW_TAG
- XEN_TAG
- GPTTOOLS_TAG
- DOM0ZTOOLS_TAG
- linuxkit/init:v0.5
- linuxkit/runc:v0.5
- linuxkit/containerd:v0.5
- linuxkit/getty:v0.5
The *_TAG are replaced via parse-pkgs.sh to actual specific packages, e.g. zededa/kernel:abcdef55667aa.
This creates some challenges, as documented in BUIILD.md.
Notably, it leaves the actual build source yml outside of version control.
The purpose of this issue is to discuss what the flow should be, in terms of both people and automated systems, when building EVE images. The technology implementation should follow that desired flow.
Consolidating conversation from here:
@rvs said:
The question of "what do with image
ymls" means, how do we simplify the usage of the ymls. Right now, the image ymls are templated. For example,rootfs.ymlcomes from rootfs.yml.in, which looks as follows (partial):The
*_TAGare replaced via parse-pkgs.sh to actual specific packages, e.g.zededa/kernel:abcdef55667aa.This creates some challenges, as documented in BUIILD.md.
Notably, it leaves the actual build source
ymloutside of version control.The purpose of this issue is to discuss what the flow should be, in terms of both people and automated systems, when building EVE images. The technology implementation should follow that desired flow.