Skip to content

Commit 660ab45

Browse files
committed
Cleanup miscellaneous build
Mostly we moved the Rich Code Navigation Indexer task.
1 parent 5d76418 commit 660ab45

File tree

2 files changed

+29
-21
lines changed

2 files changed

+29
-21
lines changed

.vsts-ci/misc-analysis.yml

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,40 @@
11
name: PR-$(System.PullRequest.PullRequestNumber)-$(Date:yyyyMMdd)$(Rev:.rr)
2+
23
trigger:
3-
# Batch merge builds together while a merge build is running
4-
batch: true
54
branches:
65
include:
76
- master
8-
- legacy/1.x
97

108
pr:
11-
branches:
12-
include:
13-
- master
14-
- legacy/1.x
9+
- master
1510

1611
resources:
17-
- repo: self
18-
clean: true
12+
repositories:
13+
- repository: ComplianceRepo
14+
type: github
15+
endpoint: GitHub
16+
name: PowerShell/compliance
1917

2018
jobs:
21-
- template: templates/credscan.yml
19+
- job: Compliance
20+
pool:
21+
vmImage: windows-latest
22+
steps:
23+
- checkout: self
24+
- checkout: ComplianceRepo
25+
- template: ci-compliance.yml@ComplianceRepo
26+
# NOTE: This enables our project to work with Visual Studio's Rich Navigation:
27+
# https://visualstudio.microsoft.com/services/rich-code-navigation/
28+
- job: RichCodeNav
29+
pool:
30+
vmImage: windows-latest
31+
steps:
32+
# TODO: Move to GitHub Action
33+
- task: RichCodeNavIndexer@0
34+
continueOnError: true
35+
inputs:
36+
serviceConnection: rich-nav
37+
nugetServiceConnection: rich-nav-nuget
38+
githubServiceConnection: PowerShell
39+
languages: typescript,csharp
40+
serviceEndpoint: https://prod.richnav.vsengsaas.visualstudio.com

.vsts-ci/templates/ci-general.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,3 @@ steps:
2828
ArtifactName: vscode-powershell
2929
PathtoPublish: '$(Build.ArtifactStagingDirectory)/vscode-powershell'
3030

31-
# Rich Navigation
32-
- task: RichCodeNavIndexer@0
33-
# Note, for now, this is Windows only.
34-
condition: and(succeededOrFailed(), eq(variables['Agent.OS'], 'Windows_NT'))
35-
continueOnError: true
36-
inputs:
37-
serviceConnection: 'rich-nav'
38-
nugetServiceConnection: 'rich-nav-nuget'
39-
githubServiceConnection: 'PowerShell'
40-
languages: 'typescript,csharp'
41-
serviceEndpoint: 'https://prod.richnav.vsengsaas.visualstudio.com'

0 commit comments

Comments
 (0)