-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add deploy pipeline for networking echo test servers. #111398
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
Merged
Merged
Changes from 24 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
c2c69af
Set up CI with Start Right
8f235e7
Update deploy-networking-echo-test-servers.yml for Azure Pipelines
rzikm 6b73163
Update deploy-networking-echo-test-servers.yml for Azure Pipelines
rzikm da6f949
Update deploy-networking-echo-test-servers.yml for Azure Pipelines
rzikm 89c695e
Update .NET version in pipeline
rzikm 9e72d21
allow preview versions of .NET
rzikm d6ada52
fix
rzikm 5a91612
Update deploy-networking-echo-test-servers.yml for Azure Pipelines
rzikm ede1b2b
Use multi level lookup
rzikm bae3096
Manual invocation of dotnet build.
rzikm 7847c66
use .NET 8
rzikm e9785cf
script task instead of powershell
rzikm 6b4acf6
Specify working directory during build
rzikm fb75eb3
remove global.json
rzikm 1035b70
fix
rzikm 6aa6fc2
Add versions reference
rzikm 642fed1
Update to released OpenTelemetry packages
rzikm d5bdc8f
Turn on GenevaTelemetry in the pipeline build
rzikm 163a478
Add swagger file
rzikm 337c575
Move yml file to eng/pipelines/libraries
rzikm 926d713
Fix pipeline
rzikm 6c119e1
Deploy to http2 as well
rzikm fb5de3c
Update eng/pipelines/libraries/deploy-networking-echo-test-servers.yml
rzikm f7221ea
Remove duplicate server URL from swagger file
rzikm ebc38d0
Update eng/pipelines/libraries/deploy-networking-echo-test-servers.yml
rzikm 6d856fc
Add deploy instructions
rzikm 5e71c95
Update eng/pipelines/libraries/deploy-networking-echo-test-servers.yml
rzikm 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
77 changes: 77 additions & 0 deletions
77
eng/pipelines/libraries/deploy-networking-echo-test-servers.yml
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,77 @@ | ||
| trigger: none | ||
|
|
||
| resources: | ||
| repositories: | ||
| - repository: 1ESPipelineTemplates | ||
| type: git | ||
| name: 1ESPipelineTemplates/1ESPipelineTemplates | ||
| ref: refs/tags/release | ||
|
|
||
| variables: | ||
| - template: /eng/common/templates-official/variables/pool-providers.yml | ||
| - name: FrameworkVersion | ||
| value: 8.x | ||
| - name: TargetFramework | ||
| value: net8.0 | ||
|
|
||
| extends: | ||
| template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates | ||
| parameters: | ||
| customBuildTags: | ||
| - 1ES.PT.ViaStartRight | ||
| pool: | ||
| name: $(DncEngInternalBuildPool) | ||
| image: 1es-windows-2022 | ||
| os: windows | ||
|
|
||
| stages: | ||
| - stage: stage | ||
| displayName: Building in a VM | ||
| jobs: | ||
| - job: job | ||
| displayName: Build | ||
| steps: | ||
| - checkout: self | ||
|
|
||
| - task: UseDotNet@2 | ||
| inputs: | ||
| packageType: "sdk" | ||
| version: $(FrameworkVersion) | ||
|
|
||
| - script: echo {} > ./global.json | ||
| displayName: Bypass repository global.json | ||
| workingDirectory: ./src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer | ||
|
|
||
| - script: dotnet publish -c Release /p:GenevaTelemetry=true /p:_TargetFrameworkForXHarness=$(TargetFramework) | ||
| workingDirectory: ./src/libraries/Common/tests/System/Net/Prerequisites/NetCoreServer | ||
| displayName: Run dotnet publish | ||
|
|
||
| - task: zip@0 | ||
| displayName: Zip artifacts | ||
| inputs: | ||
| pathToZipFolder: 'artifacts\bin\NetCoreServer\Release\$(TargetFramework)\publish\' | ||
| pathToZipFile: 'artifacts\bin\NetCoreServer\Release\$(TargetFramework)\publish.zip' | ||
|
|
||
| - task: AzureRmWebAppDeployment@4 | ||
| displayName: Deploy to corefx-net-http11 | ||
| inputs: | ||
| ConnectionType: "AzureRM" | ||
| azureSubscription: .NET Libraries Network Testing | ||
| appType: "webApp" | ||
| WebAppName: "corefx-net-http11" | ||
| deployToSlotOrASE: true | ||
| ResourceGroupName: "Production-WestUS" | ||
| SlotName: "staging" | ||
| package: 'artifacts\bin\NetCoreServer\Release\$(TargetFramework)\publish.zip' | ||
|
|
||
| - task: AzureRmWebAppDeployment@4 | ||
| displayName: Deploy to corefx-net-http2-staging | ||
| inputs: | ||
| ConnectionType: "AzureRM" | ||
| azureSubscription: .NET Libraries Network Testing | ||
| appType: "webApp" | ||
| WebAppName: "corefx-net-http2" | ||
| deployToSlotOrASE: true | ||
| ResourceGroupName: "Production-WestUS" | ||
| SlotName: "staging" | ||
| package: 'artifacts\bin\NetCoreServer\Release\$(TargetFramework)\publish.zip' | ||
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
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.
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.