Skip to content

Commit

Permalink
Remove graph file generation functionality (#8315)
Browse files Browse the repository at this point in the history
Removes the functionality from the templates that generates graph files. These aren't really useful anymore, as BARViz subsumed this functionality a long while back. We also need to move to the 1ES pools, so this removes another place where they aren't in use.

Repos that happen to still specify should not see a break, and the additional parameters (graphFileGeneration) should just get ignored.
  • Loading branch information
mmitche authored Jan 5, 2022
1 parent d69d97c commit 6107196
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 212 deletions.
5 changes: 0 additions & 5 deletions Documentation/AzureDevOps/AzureDevOpsOnboarding.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
- [Internal : (Pool Provider: NetCoreInternal-Pool)](#internal--pool-provider-netcoreinternal-pool)
- [CI badge link](#ci-badge-link)
- [Signed Builds](#signed-builds)
- [Generate Graph Files](#generate-graph-files)
- [Security](#security)
- [Notes about Yaml](#notes-about-yaml)
- [Troubleshooting](#troubleshooting)
Expand Down Expand Up @@ -155,10 +154,6 @@ https://dev.azure.com/dnceng/public/_build?definitionId=208&branchName=master

dev.azure.com/dnceng now has support for signed builds. Code should be mirrored to dev.azure.com/dnceng/internal as outlined in the [Azure DevOps Guidance](./AzureDevOpsGuidance.md#projects). See [MovingFromDevDivToDncEng.md](./MovingFromDevDivToDncEng.md) for information about moving signed builds from DevDiv to DncEng.

## Generate Graph Files

Generation of graph files as part of official builds is now supported. See [GeneratingGraphFiles.md](GeneratingGraphFiles.md) for information on how to opt-in to this feature.

## Security

[Security documentation](https://docs.microsoft.com/en-us/azure/devops/build-release/actions/ci-build-github?view=vsts#security-considerations)
Expand Down
60 changes: 0 additions & 60 deletions Documentation/AzureDevOps/GeneratingGraphFiles.md

This file was deleted.

3 changes: 0 additions & 3 deletions Documentation/AzureDevOps/TemplateSchema.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ parameters:
continueOnError: boolean # 'true' if future jobs should run even if this job fails; defaults to 'false'
enablePublishBuildArtifacts: boolean # Enables publishing build logs as an Azure DevOps artifact.
enablePublishUsingPipelines: boolean # Enable publishing using release pipelines
graphFileGeneration:
enabled: boolean # Enable generating the graph files at the end of the build
includeToolset: boolean # Include toolset dependencies in the generated graph files
jobs: [ jobSchema ] # see "Job schema" below
publishBuildAssetsDependsOn: [ string ] # Override automatically derived dependsOn value for "publish build assets" job
runAsPublic: boolean # Specify if job should run as a public build even in the internal project
Expand Down
86 changes: 0 additions & 86 deletions eng/common/generate-graph-files.ps1

This file was deleted.

48 changes: 0 additions & 48 deletions eng/common/templates/job/generate-graph-files.yml

This file was deleted.

10 changes: 0 additions & 10 deletions eng/common/templates/jobs/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,3 @@ jobs:
runAsPublic: ${{ parameters.runAsPublic }}
publishUsingPipelines: ${{ parameters.enablePublishUsingPipelines }}
enablePublishBuildArtifacts: ${{ parameters.enablePublishBuildArtifacts }}

- ${{ if eq(parameters.graphFileGeneration.enabled, true) }}:
- template: ../job/generate-graph-files.yml
parameters:
continueOnError: ${{ parameters.continueOnError }}
includeToolset: ${{ parameters.graphFileGeneration.includeToolset }}
dependsOn:
- Asset_Registry_Publish
pool:
vmImage: 'windows-2019'

0 comments on commit 6107196

Please sign in to comment.