rancher / ecm-distro-tools

Apache License 2.0
9 stars 26 forks source link

Add generate missing images list command #419

Closed tashima42 closed 3 months ago

tashima42 commented 3 months ago

Add a command to generate a missing images list. This command checks images in parallel to improve the speed, the current script takes around 50 minutes, this version takes around 3 to 10 minutes, it also improves the efficiency by reusing auth tokens for same repos

release generate rancher missing-images-list <VERSION> --json --concurrency-limit 3

If there are missing images, it will exit with an error status, but if it is called with --json, it will not error and just print a json array