Skip to content
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

Upstream 26.04.21 #142

Merged
merged 6 commits into from
Apr 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .azure-pipelines/crank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,13 @@ jobs:
arguments: /nowarn:netsdk1138
projects: |
src/Datadog.Trace.ClrProfiler.Managed.Loader/Datadog.Trace.ClrProfiler.Managed.Loader.csproj

- script: |
sudo apt-get update
sudo apt-get install -y llvm clang
sudo apt-get remove -y cmake
curl -L -o /tmp/cmake.sh https://github.com/Kitware/CMake/releases/download/v3.19.8/cmake-3.19.8-Linux-x86_64.sh
sudo sh /tmp/cmake.sh --prefix=/usr/local --exclude-subdir --skip-license
displayName: install_dependencies

- script: |
Expand Down
6 changes: 3 additions & 3 deletions .azure-pipelines/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
dockerComposeCommand: run -e TestAllPackageVersions=true -e buildConfiguration=$(buildConfiguration) -e publishTargetFramework=$(publishTargetFramework) IntegrationTests

- publish: build_data
artifact: $(Agent.JobName)_profiler-logs
artifact: $(Agent.JobName)_profiler-logs-$(System.JobAttempt)
condition: succeededOrFailed()

- task: PublishTestResults@2
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
dockerComposeCommand: run -e TestAllPackageVersions=true -e buildConfiguration=$(buildConfiguration) IntegrationTests.Alpine.Core50

- publish: build_data
artifact: $(Agent.JobName)_profiler-logs
artifact: $(Agent.JobName)_profiler-logs-$(System.JobAttempt)
condition: succeededOrFailed()

- task: PublishTestResults@2
Expand Down Expand Up @@ -459,7 +459,7 @@ jobs:
inputs:
solution: test/test-applications/aspnet/samples-iis.sln
configuration: '$(buildConfiguration)'
msbuildArguments: '/p:DeployOnBuild=true /p:PublishProfile=FolderProfile.pubxml'
msbuildArguments: '/p:DeployOnBuild=true /p:PublishProfile=$(System.DefaultWorkingDirectory)/test/test-applications/aspnet/PublishProfiles/FolderProfile.pubxml'
maximumCpuCount: true

- task: DockerCompose@0
Expand Down
16 changes: 8 additions & 8 deletions .azure-pipelines/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,16 @@ stages:
arguments: --configuration $(buildConfiguration) --framework netcoreapp3.1 --output $(tracerHome)/netcoreapp3.1

- task: DockerCompose@0
displayName: docker-compose run -e buildConfiguration=$(buildConfiguration) Profiler
displayName: docker-compose run Profiler
inputs:
containerregistrytype: Container Registry
dockerComposeCommand: run Profiler
dockerComposeCommand: run -e buildConfiguration=$(buildConfiguration) Profiler

- task: DockerCompose@0
displayName: docker-compose run -e buildConfiguration=$(buildConfiguration) package
displayName: docker-compose run package
inputs:
containerregistrytype: Container Registry
dockerComposeCommand: run package
dockerComposeCommand: run -e buildConfiguration=$(buildConfiguration) package

- publish: deploy/linux
artifact: linux-packages
Expand Down Expand Up @@ -170,16 +170,16 @@ stages:
arguments: --configuration $(buildConfiguration) --framework netcoreapp3.1 --output $(tracerHome)/netcoreapp3.1

- task: DockerCompose@0
displayName: docker-compose run -e buildConfiguration=$(buildConfiguration) Profiler.Alpine
displayName: docker-compose run Profiler.Alpine
inputs:
containerregistrytype: Container Registry
dockerComposeCommand: run Profiler.Alpine
dockerComposeCommand: run -e buildConfiguration=$(buildConfiguration) Profiler.Alpine

- task: DockerCompose@0
displayName: docker-compose run -e buildConfiguration=$(buildConfiguration) package.alpine
displayName: docker-compose run package.alpine
inputs:
containerregistrytype: Container Registry
dockerComposeCommand: run package.alpine
dockerComposeCommand: run -e buildConfiguration=$(buildConfiguration) package.alpine

- publish: deploy/linux
artifact: linux-alpine-packages
Expand Down
25 changes: 25 additions & 0 deletions .azure-pipelines/steps/install-dotnet-sdks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
steps:
- task: UseDotNet@2
displayName: install dotnet core sdk 2.1
inputs:
packageType: sdk
version: 2.1.x

- task: UseDotNet@2
displayName: install dotnet core sdk 3.0
inputs:
packageType: sdk
version: 3.0.x

- task: UseDotNet@2
displayName: install dotnet core sdk 3.1
inputs:
packageType: sdk
version: 3.1.x

- task: UseDotNet@2
displayName: install dotnet core sdk 5
inputs:
packageType: sdk
version: $(dotnetCoreSdk5Version)
includePreviewVersions: true
24 changes: 24 additions & 0 deletions .azure-pipelines/steps/install-dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
steps:
- task: UseDotNet@2
displayName: install dotnet core runtime 2.1
inputs:
packageType: runtime
version: 2.1.x

- task: UseDotNet@2
displayName: install dotnet core runtime 3.0
inputs:
packageType: runtime
version: 3.0.x

- task: UseDotNet@2
displayName: install dotnet core runtime 3.1
inputs:
packageType: runtime
version: 3.1.x

- task: UseDotNet@2
displayName: install dotnet core sdk 5.0
inputs:
packageType: sdk
version: $(dotnetCoreSdk5Version)
Loading