Skip to content

Commit

Permalink
Merge branch 'release/3.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalberger committed Feb 10, 2023
2 parents 1371b5e + 9020226 commit 158b3cb
Show file tree
Hide file tree
Showing 112 changed files with 1,309 additions and 1,562 deletions.
18 changes: 6 additions & 12 deletions README.md

Large diffs are not rendered by default.

250 changes: 62 additions & 188 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ jobs:
pool:
vmImage: 'windows-2022'
steps:
- task: UseDotNet@2
inputs:
version: '7.x'
- task: UseDotNet@2
inputs:
version: '6.x'
# .NET 5 required for GitVersion
- task: UseDotNet@2
inputs:
version: '5.x'
- powershell: |
$ENV:CAKE_SKIP_GITVERSION=([string]::IsNullOrEmpty($ENV:SYSTEM_PULLREQUEST_PULLREQUESTID) -eq $False).ToString()
.\build.ps1
Expand All @@ -33,13 +43,14 @@ jobs:
steps:
- task: UseDotNet@2
inputs:
version: '6.x'
version: '7.x'
- task: UseDotNet@2
inputs:
version: '5.x'
version: '6.x'
# .NET 5 required for GitVersion
- task: UseDotNet@2
inputs:
version: '3.x'
version: '5.x'
- bash: |
./build.sh
displayName: 'Cake Build'
Expand All @@ -55,68 +66,27 @@ jobs:
steps:
- task: UseDotNet@2
inputs:
version: '6.x'
version: '7.x'
- task: UseDotNet@2
inputs:
version: '5.x'
version: '6.x'
# .NET 5 required for GitVersion
- task: UseDotNet@2
inputs:
version: '3.x'
version: '5.x'
- bash: |
./build.sh --verbosity=diagnostic
displayName: 'Cake Build'
- publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
artifact: NuGet Package Ubuntu
displayName: 'Publish NuGet package as build artifact'

# Integration Tests Frosting Windows (.NET Core 3.1)
- job: Test_Frosting_Windows_NetCoreApp31
displayName: Integration Tests Frosting Windows (.NET Core 3.1)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2019'
steps:
- download: current
artifact: NuGet Package Windows
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package Windows
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/frosting/netcoreapp3.1
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Frosting Windows (.NET 5)
- job: Test_Frosting_Windows_Net5
displayName: Integration Tests Frosting Windows (.NET 5)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2019'
steps:
- download: current
artifact: NuGet Package Windows
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package Windows
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/frosting/net5.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Frosting Windows (.NET 6)
- job: Test_Frosting_Windows_Net6
- job: Test_Frosting_Windows_Net5
displayName: Integration Tests Frosting Windows (.NET 6)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2022'
vmImage: 'windows-2019'
steps:
- download: current
artifact: NuGet Package Windows
Expand All @@ -132,12 +102,12 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner Windows (.NET Core 3.1)
- job: Test_Script_Runner_Windows_NetCoreApp31
displayName: Integration Tests Script Runner Windows (.NET Core 3.1)
# Integration Tests Frosting Windows (.NET 7)
- job: Test_Frosting_Windows_Net7
displayName: Integration Tests Frosting Windows (.NET 7)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2019'
vmImage: 'windows-2022'
steps:
- download: current
artifact: NuGet Package Windows
Expand All @@ -148,14 +118,14 @@ jobs:
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/script-runner/netcoreapp3.1
workingDirectory: ./tests/frosting/net7.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner Windows (.NET 5)
- job: Test_Script_Runner_Windows_Net5
displayName: Integration Tests Script Runner Windows (.NET 5)
# Integration Tests Script Runner Windows (.NET 6)
- job: Test_Script_Runner_Windows_Net6
displayName: Integration Tests Script Runner Windows (.NET 6)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2019'
Expand All @@ -169,14 +139,14 @@ jobs:
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/script-runner/net5.0
workingDirectory: ./tests/script-runner/net6.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner Windows (.NET 6)
- job: Test_Script_Runner_Windows_Net6
displayName: Integration Tests Script Runner Windows (.NET 6)
# Integration Tests Script Runner Windows (.NET 7)
- job: Test_Script_Runner_Windows_Net7
displayName: Integration Tests Script Runner Windows (.NET 7)
dependsOn: Build_Windows
pool:
vmImage: 'windows-2022'
Expand All @@ -190,55 +160,7 @@ jobs:
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- powershell: ./build.ps1 --verbosity=diagnostic
workingDirectory: ./tests/script-runner/net6.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Frosting macOS (.NET Core 3.1)
- job: Test_Frosting_macOS_NetCoreApp31
displayName: Integration Tests Frosting macOS (.NET Core 3.1)
dependsOn: Build_macOS
pool:
vmImage: 'macOS-11'
steps:
- download: current
artifact: NuGet Package macOS
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '3.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/frosting/netcoreapp3.1
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Frosting macOS (.NET 5)
- job: Test_Frosting_macOS_Net5
displayName: Integration Tests Frosting macOS (.NET 5)
dependsOn: Build_macOS
pool:
vmImage: 'macOS-11'
steps:
- download: current
artifact: NuGet Package macOS
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '5.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/frosting/net5.0
workingDirectory: ./tests/script-runner/net7.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
Expand Down Expand Up @@ -267,9 +189,9 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner macOS (.NET Core 3.1)
- job: Test_Script_Runner_macOS_NetCoreApp31
displayName: Integration Tests Script Runner macOS (.NET Core 3.1)
# Integration Tests Frosting macOS (.NET 7)
- job: Test_Frosting_macOS_Net7
displayName: Integration Tests Frosting macOS (.NET 7)
dependsOn: Build_macOS
pool:
vmImage: 'macOS-11'
Expand All @@ -284,33 +206,9 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '3.x'
version: '7.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/script-runner/netcoreapp3.1
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner macOS (.NET 5)
- job: Test_Script_Runner_macOS_Net5
displayName: Integration Tests Script Runner macOS (.NET 5)
dependsOn: Build_macOS
pool:
vmImage: 'macOS-11'
steps:
- download: current
artifact: NuGet Package macOS
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '5.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/script-runner/net5.0
workingDirectory: ./tests/frosting/net7.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
Expand Down Expand Up @@ -339,50 +237,26 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Frosting Ubuntu (.NET Core 3.1)
- job: Test_Frosting_Ubuntu_NetCoreApp31
displayName: Integration Tests Frosting Ubuntu (.NET Core 3.1)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
steps:
- download: current
artifact: NuGet Package Ubuntu
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package Ubuntu
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '3.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/frosting/netcoreapp3.1
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Frosting Ubuntu (.NET 5)
- job: Test_Frosting_Ubuntu_Net5
displayName: Integration Tests Frosting Ubuntu (.NET 5)
dependsOn: Build_Ubuntu
# Integration Tests Script Runner macOS (.NET 7)
- job: Test_Script_Runner_macOS_Net7
displayName: Integration Tests Script Runner macOS (.NET 7)
dependsOn: Build_macOS
pool:
vmImage: 'ubuntu-20.04'
vmImage: 'macOS-11'
steps:
- download: current
artifact: NuGet Package Ubuntu
artifact: NuGet Package macOS
displayName: 'Download build artifact'
- task: CopyFiles@2
inputs:
sourceFolder: $(Pipeline.Workspace)/NuGet Package Ubuntu
sourceFolder: $(Pipeline.Workspace)/NuGet Package macOS
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '5.x'
version: '7.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/frosting/net5.0
workingDirectory: ./tests/script-runner/net7.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
Expand Down Expand Up @@ -411,9 +285,9 @@ jobs:
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner Ubuntu (.NET Core 3.1)
- job: Test_Script_Runner_Ubuntu_NetCoreApp31
displayName: Integration Tests Script Runner Ubuntu (.NET Core 3.1)
# Integration Tests Frosting Ubuntu (.NET 7)
- job: Test_Frosting_Ubuntu_Net7
displayName: Integration Tests Frosting Ubuntu (.NET 7)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
Expand All @@ -428,16 +302,16 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '3.x'
version: '7.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/script-runner/netcoreapp3.1
workingDirectory: ./tests/frosting/net7.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner Ubuntu (.NET 5)
- job: Test_Script_Runner_Ubuntu_Net5
displayName: Integration Tests Script Runner Ubuntu (.NET 5)
# Integration Tests Script Runner Ubuntu (.NET 6)
- job: Test_Script_Runner_Ubuntu_Net6
displayName: Integration Tests Script Runner Ubuntu (.NET 6)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
Expand All @@ -452,16 +326,16 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '5.x'
version: '6.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/script-runner/net5.0
workingDirectory: ./tests/script-runner/net6.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)

# Integration Tests Script Runner Ubuntu (.NET 6)
- job: Test_Script_Runner_Ubuntu_Net6
displayName: Integration Tests Script Runner Ubuntu (.NET 6)
# Integration Tests Script Runner Ubuntu (.NET 7)
- job: Test_Script_Runner_Ubuntu_Net7
displayName: Integration Tests Script Runner Ubuntu (.NET 7)
dependsOn: Build_Ubuntu
pool:
vmImage: 'ubuntu-20.04'
Expand All @@ -476,9 +350,9 @@ jobs:
displayName: 'Copy build artifact for test run'
- task: UseDotNet@2
inputs:
version: '6.x'
version: '7.x'
- bash: ./build.sh --verbosity=diagnostic
workingDirectory: ./tests/script-runner/net6.0
workingDirectory: ./tests/script-runner/net7.0
displayName: 'Run integration tests'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
Loading

0 comments on commit 158b3cb

Please sign in to comment.