-
Notifications
You must be signed in to change notification settings - Fork 727
Dotnet vscode csharp insertion #8563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
deepakrathore33
wants to merge
18
commits into
dotnet:dev/aajohn/relautomation
from
deepakrathore33:dev/dsr/roslyn-version-bump
Closed
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
ed91fc0
feat: roslyn versio bump
deepakrathore33 0a8d36e
using 1ES PT
deepakrathore33 1e19e61
Using gulp taks
225a38f
resolved review comments
e4cf965
renamed pipline
cc3f2df
added insertion task in gulp
cb782a8
extracted helper functions
94aea42
improved changelog updation logic
4ff9705
downloading latest roslyn-tools
94c8d62
Pr reviews resolved
deepakrathore33 d2ff303
update: removed auth setup from roslyn-tools
deepakrathore33 9d73b2e
Resolved review comments
deepakrathore33 67c62af
Resolved review comments
deepakrathore33 f6d930b
Update azure-pipelines/dotnet-vscode-csharp-insertion.yml
deepakrathore33 503c29f
Updated the PAT input
deepakrathore33 27b9b98
Merge branch 'dev/aajohn/relautomation' into dev/dsr/roslyn-version-bump
deepakrathore33 b76f875
Removed gitHelpers and updated gitTasks
deepakrathore33 75177d4
removed unused env var
deepakrathore33 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,98 @@ | ||
| trigger: none | ||
| pr: none | ||
|
|
||
| parameters: | ||
| - name: targetBranch | ||
| displayName: Target Branch for PR | ||
| type: string | ||
| default: main | ||
|
|
||
| resources: | ||
| repositories: | ||
| - repository: 1ESPipelineTemplates | ||
| type: git | ||
| name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
| ref: refs/tags/release | ||
| - repository: RoslynMirror | ||
| type: git | ||
| name: internal/dotnet-roslyn | ||
| pipelines: | ||
| - pipeline: officialBuildCI | ||
| source: dotnet-roslyn-official | ||
| project: internal | ||
| branch: main | ||
| trigger: none | ||
|
|
||
| variables: | ||
| - name: RoslynEndSHA | ||
deepakrathore33 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| value: $(resources.pipeline.officialBuildCI.sourceCommit) | ||
| - name: RoslynBuildNumber | ||
| value: $(resources.pipeline.officialBuildCI.runName) | ||
| - name: RoslynBuildId | ||
| value: $(resources.pipeline.officialBuildCI.runID) | ||
| - template: dotnet-variables.yml | ||
|
|
||
| extends: | ||
| template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates | ||
| parameters: | ||
| pool: | ||
| name: netcore1espool-internal | ||
| image: 1es-ubuntu-2204 | ||
| os: linux | ||
| stages: | ||
| - stage: BumpRoslyn | ||
| displayName: Bump Roslyn Version | ||
| jobs: | ||
| - job: ProcessBump | ||
| displayName: Process Roslyn Bump | ||
| pool: | ||
| name: netcore1espool-internal | ||
| image: 1es-ubuntu-2204 | ||
| os: linux | ||
| steps: | ||
| - checkout: self | ||
| persistCredentials: true | ||
|
|
||
| - task: UseDotNet@2 | ||
| displayName: Install .NET SDK | ||
| inputs: | ||
| version: $(defaultDotnetVersion) | ||
|
|
||
| - template: install-node.yml | ||
|
|
||
| - task: DownloadPipelineArtifact@2 | ||
| displayName: Download Asset Manifests | ||
| inputs: | ||
| source: specific | ||
| project: internal | ||
| pipeline: dotnet-roslyn-official | ||
| runVersion: specific | ||
| runId: $(RoslynBuildId) | ||
| artifact: AssetManifests | ||
| path: $(Pipeline.Workspace)/AssetManifests | ||
|
|
||
| - pwsh: | | ||
| npm ci | ||
| npm install | ||
| npm install -g gulp | ||
| gulp installDependencies | ||
| displayName: 'Install npm dependencies and gulp' | ||
| - checkout: RoslynMirror | ||
| displayName: 'Checkout Roslyn repository' | ||
| path: roslyn | ||
|
|
||
| - script: | | ||
| echo "Installing roslyn-tools..." | ||
| dotnet tool install -g Microsoft.RoslynTools --prerelease --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json | ||
| echo "Verifying roslyn-tools installation..." | ||
| dotnet tool list -g | ||
| roslyn-tools --version | ||
| displayName: 'Install roslyn-tools CLI' | ||
|
|
||
| - task: Npm@1 | ||
| displayName: Run Roslyn insertion | ||
| inputs: | ||
| command: custom | ||
| customCommand: 'run gulp -- insertion:roslyn --assetManifestPath=$(Pipeline.Workspace)/AssetManifests --roslynRepoPath=$(Pipeline.Workspace)/roslyn --roslynEndSHA=$(RoslynEndSHA) --roslynBuildNumber=$(RoslynBuildNumber) --roslynBuildId=$(RoslynBuildId) --targetBranch=${{ parameters.targetBranch }} --githubPAT=$(BotAccount-dotnet-bot-repo-PAT) --dryRun=false' | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.