On 25.08.2017 01:45, Ian Wienand wrote:
> Hi
> 
> Some time ago [1] we had some persistent URLs at
> cloud.fedoraproject.org
> 
> These seem to have disappeared at some point as [2] is returning 404
> 
> If, these days, there is some better way to programatically find the
> name of the latest image, I would be happy to use it.
> 
> In something like:
> 
>  ... 
> releases/26/CloudImages/x86_64/images/Fedora-Cloud-Base-26-1.5.x86_64.qcow2
> 
> Where does the 1.5 come from?  How would I determine that (hopefully,
> without manually scraping the index.html URL)?

FWIW, in the Cockpit project CI/CD bots end up manually scraping layers
index.html URL(s) to find the latest images.

https://github.com/cockpit-project/cockpit/blob/master/bots/images/scripts/fedora-atomic.bootstrap

https://github.com/cockpit-project/cockpit/blob/master/bots/images/scripts/continuous-atomic.bootstrap

https://github.com/cockpit-project/cockpit/blob/master/bots/images/scripts/rhel-atomic.bootstrap

We would love to have a better solution too.

Stef
_______________________________________________
cloud mailing list -- cloud@lists.fedoraproject.org
To unsubscribe send an email to cloud-le...@lists.fedoraproject.org

Reply via email to