Ah, yes. Good catch. Agree with Sean. - Bret From: Sean Brogan Sent: Tuesday, October 6, 2020 4:45 PM To: Chang, Abner (HPS SW/FW Technologist); devel@edk2.groups.io Cc: Sean Brogan; Bret Barkelew; Kinney, Michael D; Liming Gao; Wang, Nickle (HPS SW) Subject: [EXTERNAL] Re: [edk2-devel] [RedfishPkg PATCH v5 3/4] .azurepipelines/templates: Add RedfishPkg to target build I am just suggesting that for CI you should put redfishpkg into an existing matrix item rather than create a new matrix item. Each one of those is a build that spins up when CI/PR is invoked. instead of this (your patch) diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipelines/templates/pr-gate-build-job.yml index 2683687a1c..b5b09c2cca 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -45,6 +45,9 @@ jobs: TARGET_SECURITY: Build.Pkgs: 'SecurityPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' + TARGET_REDFISH: + Build.Pkgs: 'RedfishPkg' + Build.Targets: 'DEBUG,RELEASE,NO-TARGET' TARGET_PLATFORMS: # For Platforms only check code. Leave it to Platform CI # to build them. I would just do something like below. (i hand edited the diff so might not be perfect but hopefully you get the idea). @@ -45,6 +45,9 @@ jobs: - TARGET_SECURITY: + TARGET_SECURITY_REDFISH: - Build.Pkgs: 'SecurityPkg' + Build.Pkgs: 'SecurityPkg,RedfishPkg' Build.Targets: 'DEBUG,RELEASE,NO-TARGET' Thanks Sean On 10/6/2020 4:39 PM, Chang, Abner (HPS SW/FW Technologist) wrote: > > >> -----Original Message----- >> From: Sean Brogan [mailto:spbrogan@outlook.com] >> Sent: Wednesday, October 7, 2020 7:05 AM >> To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) >> >> Cc: Sean Brogan ; Bret Barkelew >> ; Michael D Kinney >> ; Liming Gao ; >> Wang, Nickle (HPS SW) >> Subject: Re: [edk2-devel] [RedfishPkg PATCH v5 >> 3/4] .azurepipelines/templates: Add RedfishPkg to target build >> >> On this change i would recommend that you add RedFishPkg to another in >> the list as i don't think the time it takes to compile and test this relatively >> small package makes it worth spinning up another machine, syncing sources, >> installing tools, etc. > > Sean, do you mean to add RedFishPkg to another package? Or move drivers (currently is none) under RedFishPkg to another package? > This is the initial commit of RedFishPkg, more drivers will added to this package later on. > https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftianocore%2Fedk2-staging%2Fblob%2FUEFI_Redfish%2FReadme.md&data=02%7C01%7CBret.Barkelew%40microsoft.com%7C064c677f2cad4197e11608d86a51f2ab%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637376247502227698&sdata=L4wOv4IxFdOEoUV2IjBG3kUHlBW1Z%2FsQvTQGe67W980%3D&reserved=0 > > That doesn't make sense to put RedFishPkg to any of another to save CI time, but what we can do now is remove RedFishPkg from CI test for the time being. Says don’t add RedfishPkg to GetPackageSupported for now. > > >> >> Looking at the current matrix it looks like the SecurityPkg only takes 8 >> minutes and CRYPTO only takes ~9 minutes. I also see FMP and FAT is faster >> than the slowest entry. We generally try to load balance this so that CI >> completes quickly. >> >> vs2019 >> INVALID URI REMOVED >> 3A__dev.azure.com_tianocore_edk2-2Dci_-5Fbuild_results-3FbuildId- >> 3D12811-26view- >> 3Dresults&d=DwICaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ul >> kskz6qU3NYRO03nHp9P7Z5q59A3E&m=QmpPMx5HlLf978P4ICsd- >> D4sw4IjDO8v_OJ74lDlU0M&s=3XIQ_TF_f0Ck_fkywiGXKd- >> 2a23G5fMyOkEFrZgBz5M&e= >> >> gcc >> INVALID URI REMOVED >> 3A__dev.azure.com_tianocore_edk2-2Dci_-5Fbuild_results-3FbuildId- >> 3D12810-26view- >> 3Dresults&d=DwICaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_SN6FZBN4Vgi4Ul >> kskz6qU3NYRO03nHp9P7Z5q59A3E&m=QmpPMx5HlLf978P4ICsd- >> D4sw4IjDO8v_OJ74lDlU0M&s=4VVVdhJiawmkngs8kXl6ENUdoVGHEueOUZ6 >> XbXB9yt4&e= >> >> >> Thanks >> Sean >> >> >> >> On 10/6/2020 3:48 AM, Abner Chang wrote: >>> Signed-off-by: Abner Chang >>> Cc: Sean Brogan >>> Cc: Bret Barkelew >>> Cc: Michael D Kinney >>> Cc: Liming Gao >>> Cc: Nickle Wang >>> Reviewed-by: Bret Barkelew >>> --- >>> .azurepipelines/templates/pr-gate-build-job.yml | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/.azurepipelines/templates/pr-gate-build-job.yml >>> b/.azurepipelines/templates/pr-gate-build-job.yml >>> index 2683687a1c..b5b09c2cca 100644 >>> --- a/.azurepipelines/templates/pr-gate-build-job.yml >>> +++ b/.azurepipelines/templates/pr-gate-build-job.yml >>> @@ -45,6 +45,9 @@ jobs: >>> TARGET_SECURITY: >>> Build.Pkgs: 'SecurityPkg' >>> Build.Targets: 'DEBUG,RELEASE,NO-TARGET' >>> + TARGET_REDFISH: >>> + Build.Pkgs: 'RedfishPkg' >>> + Build.Targets: 'DEBUG,RELEASE,NO-TARGET' >>> TARGET_PLATFORMS: >>> # For Platforms only check code. Leave it to Platform CI >>> # to build them. >>>