#319: Make a script to get and use AMI IDs automatically
------------------------+-----------------------
Reporter: robyduck | Owner: webmaster
Type: task | Status: new
Priority: major | Milestone:
Component: getfedora | Keywords:
Blocked By: | Blocking:
------------------------+-----------------------
AMI IDs are getting more and more and we'll probably have soon other
public cloud services and not only Amazon. To make this part easier to
maintain we should think about a script. I have an idea, it could work
like this:
* use fedimg to get the IDs of the AMIs for all regions
* put the IDs into a specific file (a dedicated ami_id.py variable file?)
* all html files can get the IDs from that file simply by calling the
variables
* we should add the execution of the script to our makefile. This way we
can update all IDs on every page manually just by doing ''make amis''.
At
the next build the IDs would be in the html pages
The source from where the script gets the IDs can be datanommer but also
other sources. Not sure which one is easier and faster.
Ideas? Comments? Other proposals?
--
Ticket URL: <
https://fedorahosted.org/fedora-websites/ticket/319>
fedora-websites <
https://fedoraproject.org/wiki/Websites>
Fedora Website Team's Trac instance