Difference between revisions of "User: Bgrenon"
Line 1: | Line 1: | ||
<tabber> | <tabber> | ||
+ | Latest containers per component= | ||
+ | {{#cargo_query: | ||
+ | tables=RNElements,ComponentRN,Component | ||
+ | |join on=RNElements.Version=ComponentRN.ReleaseNumber,ComponentRN.ComponentId HOLDS Component.Id | ||
+ | |fields=Component.Name,RNElements.IpName=Component,DATE_FORMAT(MAX(ReleaseDate),'%M %d, %Y')=ReleaseDateFormat,MAX(PrivateEditionReleaseDate)=ReleaseDate,ComponentId,Version=ReleaseNumber | ||
+ | |where=ComponentRN._pageNamespace="0" AND PrivateEditionReleaseDate IS NOT NULL AND Component.IpName IS NOT NULL | ||
+ | |format=template | ||
+ | |template=ListIpName | ||
+ | |named args=yes | ||
+ | |intro=<table class="sortable"><tr><th>Service</th><th>Release Number</th><th>Release Date</th><th>Updated Helm Charts</th><th>Updated Containers</tr> | ||
+ | |outro=</table> | ||
+ | |group by=Component.Name | ||
+ | }} | ||
+ | |-| | ||
Updated in last 7 days= | Updated in last 7 days= | ||
{{#cargo_query: | {{#cargo_query: | ||
Line 20: | Line 34: | ||
|limit=500 | |limit=500 | ||
|format=dynamic table | |format=dynamic table | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
</tabber> | </tabber> |
Revision as of 09:30, April 7, 2022
Query: SELECT `cargo__Component`.`Name` AS `Name`,`cargo__RNElements`.`IpName` AS `Component`,DATE_FORMAT(MAX(ReleaseDate),'%M %d, %Y') AS `ReleaseDateFormat`,MAX(PrivateEditionReleaseDate) AS `ReleaseDate`,`ComponentId` AS `ComponentId`,`Version` AS `ReleaseNumber` FROM `cargo__RNElements` LEFT OUTER JOIN `cargo__ComponentRN` ON ((`cargo__RNElements`.`Version`=`cargo__ComponentRN`.`ReleaseNumber`)) LEFT OUTER JOIN `cargo__Component` ON ((`cargo__ComponentRN`.`ComponentId` HOLDS `cargo__Component`.`Id`)) WHERE `cargo__ComponentRN`.`_pageNamespace`="0" AND PrivateEditionReleaseDate IS NOT NULL AND `cargo__Component`.`IpName` IS NOT NULL GROUP BY `cargo__Component`.`Name` ORDER BY `cargo__Component`.`Name`,`cargo__RNElements`.`IpName`,DATE_FORMAT(MAX(ReleaseDate),'%M %d, %Y'),MAX(PrivateEditionReleaseDate),`ComponentId` LIMIT 100 Function: CargoSQLQuery::run Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'HOLDS `cargo__Component`.`Id`)) WHERE `cargo__ComponentRN`.`_pageNamespace`="0' at line 1 (127.0.0.1)
No results
No results