Skip to content

Draft: Create images reference list after each CI deployment run

Alexandre Seitz requested to merge aseitz/ci_all_images into main

@tmmorin @Yordle @rletrocquer

What does this MR do and why?

the idea is to build an exhaustive list of all images used for a deployment with the following format:

images:
  - name:  xxxx/tag
    sha256: yyyyyy
    count: zzz
    units:
       - unit1
       - unit2
       - ...

a python script will gather information from different artifacts already dumped after each CI pipeline run.

  • nodes.yaml
  • pods.yaml
  • deployments.yaml
  • statefulset.yaml
  • daemonset.yaml

we also need to add some new artifacts:

  • nodes_images.yaml ( crictl images -v -o yaml )
  • nodes_containers.yaml (crictl ps -r -o yaml )
  • containerd.log

Even if some artifacts can be redundant, the idea is to coroborate as much as artifacts we have to build an exhaustive list of all images required for a Sylva deployment

Related reference(s)

closes #1371

Test coverage

Edited by Alexandre Seitz

Merge request reports