Remove Azure pipeline for myget push (#1062)

This commit is contained in:
Cijo Thomas 2020-08-12 12:21:22 -07:00 committed by GitHub
parent 310f315099
commit 57002e0989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 85 deletions

View File

@ -1,80 +0,0 @@
# CI build with the upload to MyGet
variables:
DotNetVersion2: "2.1.x"
DotNetVersion3: "3.1.x"
trigger:
branches:
include:
- master
tags:
include:
- '*'
# no PR builds
pr: none
pool:
vmImage: 'windows-latest'
steps:
- task: UseDotNet@2
displayName: force use of dotnet 2.1.x
inputs:
version: $(DotNetVersion2)
- task: UseDotNet@2
displayName: force use of dotnet 3.1.x
inputs:
version: $(DotNetVersion3)
# "restore" is run automatically by "build"
- task: VSBuild@1
displayName: build solution using VS (Release)
inputs:
solution: OpenTelemetry.proj
vsVersion: "latest"
platform: "AnyCPU"
configuration: "Release"
msbuildArgs: "/target:build /p:OS=$(Agent.OS)"
- task: DotNetCoreCLI@2
displayName: test using CLI
inputs:
command: "test"
projects: |
test/**/*.Tests.csproj
arguments: "-p:CollectCoverage=false --configuration Release"
- task: PublishTestResults@2
- task: VSBuild@1
displayName: pack solution with symbols (Release)
inputs:
solution: OpenTelemetry.proj
vsVersion: "latest"
platform: "AnyCPU"
configuration: "Release"
msbuildArgs: "/target:pack /p:OS=$(Agent.OS) /p:SymbolPackageFormat=snupkg /p:NoBuild=true"
- task: CopyFiles@2
inputs:
contents: '**/bin/**/*.*nupkg'
targetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true
- task: NuGetCommand@2
displayName: 'Publish nugets to MyGet'
inputs:
command: push
nuGetFeedType: external
publishFeedCredentials: 'myget-opentelemetry'
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
# this task is required as symbols packages needs to be published manually.
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: "$(Build.ArtifactStagingDirectory)"
ArtifactName: "drop"
ArtifactType: "Container"

View File

@ -35,11 +35,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{7CB2F02E
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.Zipkin", "src\OpenTelemetry.Exporter.Zipkin\OpenTelemetry.Exporter.Zipkin.csproj", "{7EDAE7FA-B44E-42CA-80FA-7DF2FAA2C5DD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".vsts", ".vsts", "{61188153-47FB-4567-AC9B-79B2435853EB}"
ProjectSection(SolutionItems) = preProject
.vsts\ci-myget-update.yml = .vsts\ci-myget-update.yml
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Api", "src\OpenTelemetry.Api\OpenTelemetry.Api.csproj", "{99F8A331-05E9-45A5-89BA-4C54E825E5B2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OpenTelemetry.Exporter.Prometheus", "src\OpenTelemetry.Exporter.Prometheus\OpenTelemetry.Exporter.Prometheus.csproj", "{AD9B2B54-EC9C-448E-BD3C-EDCC3F7AD022}"