Merge pull request #8627 from crobibero/revert-azure-ci

This commit is contained in:
Cody Robibero 2022-10-26 07:35:37 -06:00 committed by GitHub
commit f58120a7eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View File

@ -35,14 +35,14 @@ jobs:
packageType: sdk packageType: sdk
version: ${{ parameters.DotNetSdkVersion }} version: ${{ parameters.DotNetSdkVersion }}
- task: DotNetCoreCLI@2.210.0 - task: DotNetCoreCLI@2
displayName: 'Install ABI CompatibilityChecker Tool' displayName: 'Install ABI CompatibilityChecker Tool'
inputs: inputs:
command: custom command: custom
custom: tool custom: tool
arguments: 'update compatibilitychecker -g' arguments: 'update compatibilitychecker -g'
- task: DownloadPipelineArtifact@2.198.0 - task: DownloadPipelineArtifact@2
displayName: 'Download New Assembly Build Artifact' displayName: 'Download New Assembly Build Artifact'
inputs: inputs:
source: 'current' source: 'current'
@ -50,7 +50,7 @@ jobs:
path: "$(System.ArtifactsDirectory)/new-artifacts" path: "$(System.ArtifactsDirectory)/new-artifacts"
runVersion: "latest" runVersion: "latest"
- task: CopyFiles@2.211.0 - task: CopyFiles@2
displayName: 'Copy New Assembly Build Artifact' displayName: 'Copy New Assembly Build Artifact'
inputs: inputs:
sourceFolder: $(System.ArtifactsDirectory)/new-artifacts sourceFolder: $(System.ArtifactsDirectory)/new-artifacts
@ -60,7 +60,7 @@ jobs:
overWrite: true overWrite: true
flattenFolders: true flattenFolders: true
- task: DownloadPipelineArtifact@2.198.0 - task: DownloadPipelineArtifact@2
displayName: 'Download Reference Assembly Build Artifact' displayName: 'Download Reference Assembly Build Artifact'
enabled: false enabled: false
inputs: inputs:
@ -72,7 +72,7 @@ jobs:
runVersion: "latestFromBranch" runVersion: "latestFromBranch"
runBranch: "refs/heads/$(System.PullRequest.TargetBranch)" runBranch: "refs/heads/$(System.PullRequest.TargetBranch)"
- task: CopyFiles@2.211.0 - task: CopyFiles@2
displayName: 'Copy Reference Assembly Build Artifact' displayName: 'Copy Reference Assembly Build Artifact'
enabled: false enabled: false
inputs: inputs:
@ -83,7 +83,7 @@ jobs:
overWrite: true overWrite: true
flattenFolders: true flattenFolders: true
- task: DotNetCoreCLI@2.210.0 - task: DotNetCoreCLI@2
displayName: 'Execute ABI Compatibility Check Tool' displayName: 'Execute ABI Compatibility Check Tool'
enabled: false enabled: false
inputs: inputs:

View File

@ -20,7 +20,7 @@ jobs:
submodules: true submodules: true
persistCredentials: true persistCredentials: true
- task: DownloadPipelineArtifact@2.198.0 - task: DownloadPipelineArtifact@2
displayName: 'Download Web Branch' displayName: 'Download Web Branch'
condition: in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'BuildCompletion') condition: in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI', 'BuildCompletion')
inputs: inputs:
@ -31,7 +31,7 @@ jobs:
pipeline: 'Jellyfin Web' pipeline: 'Jellyfin Web'
runBranch: variables['Build.SourceBranch'] runBranch: variables['Build.SourceBranch']
- task: DownloadPipelineArtifact@2.198.0 - task: DownloadPipelineArtifact@2
displayName: 'Download Web Target' displayName: 'Download Web Target'
condition: eq(variables['Build.Reason'], 'PullRequest') condition: eq(variables['Build.Reason'], 'PullRequest')
inputs: inputs:
@ -42,7 +42,7 @@ jobs:
pipeline: 'Jellyfin Web' pipeline: 'Jellyfin Web'
runBranch: variables['System.PullRequest.TargetBranch'] runBranch: variables['System.PullRequest.TargetBranch']
- task: ExtractFiles@1.211.0 - task: ExtractFiles@1
displayName: 'Extract Web Client' displayName: 'Extract Web Client'
inputs: inputs:
archiveFilePatterns: '$(Agent.TempDirectory)/*.zip' archiveFilePatterns: '$(Agent.TempDirectory)/*.zip'
@ -55,7 +55,7 @@ jobs:
packageType: sdk packageType: sdk
version: ${{ parameters.DotNetSdkVersion }} version: ${{ parameters.DotNetSdkVersion }}
- task: DotNetCoreCLI@2.210.0 - task: DotNetCoreCLI@2
displayName: 'Publish Server' displayName: 'Publish Server'
inputs: inputs:
command: publish command: publish

View File

@ -69,7 +69,7 @@ jobs:
runOptions: 'inline' runOptions: 'inline'
inline: 'mkdir -p /srv/repository/incoming/azure/$(Build.BuildNumber)/$(BuildConfiguration)' inline: 'mkdir -p /srv/repository/incoming/azure/$(Build.BuildNumber)/$(BuildConfiguration)'
- task: CopyFilesOverSSH@0.212.0 - task: CopyFilesOverSSH@0
displayName: 'Upload artifacts to repository server' displayName: 'Upload artifacts to repository server'
inputs: inputs:
sshEndpoint: repository sshEndpoint: repository
@ -90,7 +90,7 @@ jobs:
displayName: Set release version (stable) displayName: Set release version (stable)
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
- task: DownloadPipelineArtifact@2.198.0 - task: DownloadPipelineArtifact@2
displayName: 'Download OpenAPI Spec' displayName: 'Download OpenAPI Spec'
inputs: inputs:
source: 'current' source: 'current'
@ -105,7 +105,7 @@ jobs:
runOptions: 'inline' runOptions: 'inline'
inline: 'mkdir -p /srv/repository/incoming/azure/$(Build.BuildNumber)' inline: 'mkdir -p /srv/repository/incoming/azure/$(Build.BuildNumber)'
- task: CopyFilesOverSSH@0.212.0 - task: CopyFilesOverSSH@0
displayName: 'Upload artifacts to repository server' displayName: 'Upload artifacts to repository server'
inputs: inputs:
sshEndpoint: repository sshEndpoint: repository
@ -137,7 +137,7 @@ jobs:
displayName: Set release version (stable) displayName: Set release version (stable)
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
- task: Docker@2.211.0 - task: Docker@2
displayName: 'Push Unstable Image' displayName: 'Push Unstable Image'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master') condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs: inputs:
@ -150,7 +150,7 @@ jobs:
unstable-$(Build.BuildNumber)-$(BuildConfiguration) unstable-$(Build.BuildNumber)-$(BuildConfiguration)
unstable-$(BuildConfiguration) unstable-$(BuildConfiguration)
- task: Docker@2.211.0 - task: Docker@2
displayName: 'Push Stable Image' displayName: 'Push Stable Image'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs: inputs:
@ -210,7 +210,7 @@ jobs:
packageType: 'sdk' packageType: 'sdk'
version: '6.0.x' version: '6.0.x'
- task: DotNetCoreCLI@2.210.0 - task: DotNetCoreCLI@2
displayName: 'Build Stable Nuget packages' displayName: 'Build Stable Nuget packages'
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v') condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
inputs: inputs:
@ -225,7 +225,7 @@ jobs:
custom: 'pack' custom: 'pack'
arguments: -o $(Build.ArtifactStagingDirectory) -p:Version=$(JellyfinVersion) arguments: -o $(Build.ArtifactStagingDirectory) -p:Version=$(JellyfinVersion)
- task: DotNetCoreCLI@2.210.0 - task: DotNetCoreCLI@2
displayName: 'Build Unstable Nuget packages' displayName: 'Build Unstable Nuget packages'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master') condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
inputs: inputs:
@ -256,7 +256,7 @@ jobs:
publishFeedCredentials: 'NugetOrg' publishFeedCredentials: 'NugetOrg'
allowPackageConflicts: true # This ignores an error if the version already exists allowPackageConflicts: true # This ignores an error if the version already exists
- task: NuGetAuthenticate@0.203.0 - task: NuGetAuthenticate@0
displayName: 'Authenticate to unstable Nuget feed' displayName: 'Authenticate to unstable Nuget feed'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master') condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')

View File

@ -51,7 +51,7 @@ jobs:
organization: 'jellyfin' organization: 'jellyfin'
projectKey: 'jellyfin_jellyfin' projectKey: 'jellyfin_jellyfin'
- task: DotNetCoreCLI@2.210.0 - task: DotNetCoreCLI@2
displayName: 'Run CLI Tests' displayName: 'Run CLI Tests'
inputs: inputs:
command: "test" command: "test"