You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b7b2ed5
Browse filesBrowse the repository at this point in the historyBrowse files
* Route metadata/OpenAPI capture jobs through CFS feeds (CFSClean)
Pipeline 79 (Generation) fails CFSClean because the capture-metadata and capture-openapi jobs reach public package feeds: dotnet restore/tool-install -> api.nuget.org and npm install -> registry.npmjs.org. PR #1448 only covered the typewriter/kiota stages and wrote nuget.config to the sources dir, where a later 'checkout: self' wipes it.
Add reusable create-cfs-nuget-config.yml (NuGetAuthenticate + nuget.config written to Agent.TempDirectory so checkout cannot wipe it) and create-cfs-npmrc.yml (npmAuthenticate + CFS npm registry applied to the user profile). Wire both into capture-metadata.yml (after checkouts) and the nuget config into capture-openapi's convert_openapi job, and pass --configfile to the hidi 'dotnet tool install' steps. Feed: GraphDeveloperExperiences_Public (upstreams nuget.org and npmjs.org).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d3f8fec7-b00b-46be-ba39-7e1f3e7f7188
* Fix typewriter/kiota CFS nuget.config ordering (CFSClean)
The typewriter/kiota nuget.config was created in the job before build-and-publish-typewriter.yml runs 'checkout: self', which cleans the sources dir and wiped the untracked config -> dotnet build restored from nuget.org (22 api.nuget.org hits in build_and_publish_typewriter).
Move the CFS config creation to the reusable create-cfs-nuget-config.yml (writes to Agent.TempDirectory, checkout-proof). For typewriter, create it AFTER 'checkout: self' and restore via -p:RestoreConfigFile. For kiota, pass --configfile to the tool install. Remove the now-redundant inline NuGetAuthenticate/create-config steps from generation-pipeline.yml.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d3f8fec7-b00b-46be-ba39-7e1f3e7f7188
* Suppress dotnet CLI CDN checks to stop builds.dotnet.microsoft.com egress (CFSClean)
The Convert v1.0-graphexplorer job intermittently hit builds.dotnet.microsoft.com via dotnet.exe (not UseDotNet@2 and not generate-open-api.ps1, which only runs hidi locally). It is the dotnet CLI's workload/advertising-manifest + first-run checks piggybacking on the hidi 'dotnet tool install'. Set DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE, DOTNET_SKIP_WORKLOAD_INTEGRITY_CHECK, DOTNET_CLI_TELEMETRY_OPTOUT, DOTNET_NOLOGO as pipeline variables (surfaced as env vars to all steps) to suppress the CDN egress.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d3f8fec7-b00b-46be-ba39-7e1f3e7f7188
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d3f8fec7-b00b-46be-ba39-7e1f3e7f7188
0 commit comments