In bisect-builds, we are currently hardcoding platform support. This should be queried dynamically, via a rest api def minified_platforms(): # FIXME: query this dynamically from API return ['mac-elcapitan', 'mac-sierra', 'mac-highsierra', 'ios-simulator-10', 'ios-simulator-11'] def unminified_platforms(): # FIXME: query this dynamically from API return ['gtk', 'ios-simulator-10', 'ios-simulator-11', 'mac-elcapitan', 'mac-sierra', 'mac-highsierra', 'win', 'wpe']
<rdar://problem/39865908>
I’ve added two additional dynamoDB databases to assist with this: platforms.webkit.org minified-platforms.webkit.org The lambda functions which register individual archives will now also write out the platform to these databases. They include an expirationTime (TTL) as well, and will function/expire just like the archives. We will be able to query these tables to get a list of platforms. The platform entries will expire at the same time that the archives themselves expire… this will ensure no ongoing maintenance is required as archives hit their retention time. note: i did not go back and create any entries for older platforms… these will be created only when new archives are built. This could be a problem for query previous releases that have not fallen outside our retention window.
I've added API endpoints for platforms, and minified-platforms. https://q1tzqfy48e.execute-api.us-west-2.amazonaws.com/v2_2/minified-platforms https://q1tzqfy48e.execute-api.us-west-2.amazonaws.com/v2_2/platforms