mirror of
https://github.com/Jackett/Jackett
synced 2025-03-04 10:48:26 +00:00
ci/cd: fix build pipeline collision (#13474)
This commit is contained in:
parent
2dbd170083
commit
503f529738
1 changed files with 6 additions and 21 deletions
|
@ -36,7 +36,6 @@ stages:
|
||||||
runtime: win-x86
|
runtime: win-x86
|
||||||
archiveType: zip
|
archiveType: zip
|
||||||
artifactName: Jackett.Binaries.Windows.zip
|
artifactName: Jackett.Binaries.Windows.zip
|
||||||
buildDelay: 0
|
|
||||||
macOS:
|
macOS:
|
||||||
buildDescription: macOS
|
buildDescription: macOS
|
||||||
imageName: macOS-12
|
imageName: macOS-12
|
||||||
|
@ -44,7 +43,6 @@ stages:
|
||||||
runtime: osx-x64
|
runtime: osx-x64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.macOS.tar.gz
|
artifactName: Jackett.Binaries.macOS.tar.gz
|
||||||
buildDelay: 20
|
|
||||||
macOSARM64:
|
macOSARM64:
|
||||||
buildDescription: macOS ARM64
|
buildDescription: macOS ARM64
|
||||||
imageName: macOS-12
|
imageName: macOS-12
|
||||||
|
@ -52,7 +50,6 @@ stages:
|
||||||
runtime: osx-arm64
|
runtime: osx-arm64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.macOSARM64.tar.gz
|
artifactName: Jackett.Binaries.macOSARM64.tar.gz
|
||||||
buildDelay: 40
|
|
||||||
LinuxAMDx64:
|
LinuxAMDx64:
|
||||||
buildDescription: Linux AMD x64
|
buildDescription: Linux AMD x64
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -60,7 +57,6 @@ stages:
|
||||||
runtime: linux-x64
|
runtime: linux-x64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.LinuxAMDx64.tar.gz
|
artifactName: Jackett.Binaries.LinuxAMDx64.tar.gz
|
||||||
buildDelay: 60
|
|
||||||
LinuxARM32:
|
LinuxARM32:
|
||||||
buildDescription: Linux ARM32
|
buildDescription: Linux ARM32
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -68,7 +64,6 @@ stages:
|
||||||
runtime: linux-arm
|
runtime: linux-arm
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.LinuxARM32.tar.gz
|
artifactName: Jackett.Binaries.LinuxARM32.tar.gz
|
||||||
buildDelay: 80
|
|
||||||
LinuxARM64:
|
LinuxARM64:
|
||||||
buildDescription: Linux ARM64
|
buildDescription: Linux ARM64
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -76,7 +71,6 @@ stages:
|
||||||
runtime: linux-arm64
|
runtime: linux-arm64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.LinuxARM64.tar.gz
|
artifactName: Jackett.Binaries.LinuxARM64.tar.gz
|
||||||
buildDelay: 100
|
|
||||||
LinuxMuslAMDx64:
|
LinuxMuslAMDx64:
|
||||||
buildDescription: Linux musl AMD x64
|
buildDescription: Linux musl AMD x64
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -84,7 +78,6 @@ stages:
|
||||||
runtime: linux-musl-x64
|
runtime: linux-musl-x64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.LinuxMuslAMDx64.tar.gz
|
artifactName: Jackett.Binaries.LinuxMuslAMDx64.tar.gz
|
||||||
buildDelay: 120
|
|
||||||
LinuxMuslARM32:
|
LinuxMuslARM32:
|
||||||
buildDescription: Linux musl ARM32
|
buildDescription: Linux musl ARM32
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -92,7 +85,6 @@ stages:
|
||||||
runtime: linux-musl-arm
|
runtime: linux-musl-arm
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.LinuxMuslARM32.tar.gz
|
artifactName: Jackett.Binaries.LinuxMuslARM32.tar.gz
|
||||||
buildDelay: 140
|
|
||||||
LinuxMuslARM64:
|
LinuxMuslARM64:
|
||||||
buildDescription: Linux musl ARM64
|
buildDescription: Linux musl ARM64
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -100,7 +92,6 @@ stages:
|
||||||
runtime: linux-musl-arm64
|
runtime: linux-musl-arm64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.LinuxMuslARM64.tar.gz
|
artifactName: Jackett.Binaries.LinuxMuslARM64.tar.gz
|
||||||
buildDelay: 160
|
|
||||||
Mono:
|
Mono:
|
||||||
buildDescription: Mono
|
buildDescription: Mono
|
||||||
imageName: ubuntu-20.04
|
imageName: ubuntu-20.04
|
||||||
|
@ -108,12 +99,12 @@ stages:
|
||||||
runtime: linux-x64
|
runtime: linux-x64
|
||||||
archiveType: tar
|
archiveType: tar
|
||||||
artifactName: Jackett.Binaries.Mono.tar.gz
|
artifactName: Jackett.Binaries.Mono.tar.gz
|
||||||
buildDelay: 180
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
displayName: ${{ variables.buildDescription }}
|
displayName: ${{ variables.buildDescription }}
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
|
path: $(runtime) # will checkout at $(Pipeline.Workspace)/$(runtime)
|
||||||
|
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
displayName: Install .NET Core SDK
|
displayName: Install .NET Core SDK
|
||||||
|
@ -122,16 +113,6 @@ stages:
|
||||||
version: $(netCoreSdkVersion)
|
version: $(netCoreSdkVersion)
|
||||||
installationPath: $(Agent.ToolsDirectory)/dotnet
|
installationPath: $(Agent.ToolsDirectory)/dotnet
|
||||||
|
|
||||||
- task: PowerShell@2
|
|
||||||
# Because we have many parallel builds this error occurs:
|
|
||||||
# error MSB4018: System.IO.IOException: The process cannot access the file
|
|
||||||
# '/home/vsts/work/1/s/src/DateTimeRoutines/bin/Release/netstandard2.0/DateTimeRoutines.deps.json'
|
|
||||||
# because it is being used by another process. [/home/vsts/work/1/s/src/DateTimeRoutines/DateTimeRoutines.csproj]
|
|
||||||
displayName: Wait before build
|
|
||||||
inputs:
|
|
||||||
targetType: inline
|
|
||||||
script: Start-Sleep -Seconds $(buildDelay)
|
|
||||||
|
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
displayName: Build Jackett Server
|
displayName: Build Jackett Server
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -404,7 +385,9 @@ stages:
|
||||||
|
|
||||||
- stage: UnitTestJackett
|
- stage: UnitTestJackett
|
||||||
displayName: Unit Tests
|
displayName: Unit Tests
|
||||||
dependsOn: CodeStyle
|
dependsOn:
|
||||||
|
- BuildJackett
|
||||||
|
- CodeStyle
|
||||||
jobs:
|
jobs:
|
||||||
- job: UnitTest
|
- job: UnitTest
|
||||||
workspace:
|
workspace:
|
||||||
|
@ -436,6 +419,7 @@ stages:
|
||||||
displayName: ${{ variables.buildDescription }}
|
displayName: ${{ variables.buildDescription }}
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
|
path: $(runtime) # will checkout at $(Pipeline.Workspace)/$(runtime)
|
||||||
|
|
||||||
- task: UseDotNet@2
|
- task: UseDotNet@2
|
||||||
displayName: Install .NET Core SDK
|
displayName: Install .NET Core SDK
|
||||||
|
@ -533,6 +517,7 @@ stages:
|
||||||
displayName: ${{ variables.buildDescription }}
|
displayName: ${{ variables.buildDescription }}
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
|
path: $(runtime) # will checkout at $(Pipeline.Workspace)/$(runtime)
|
||||||
|
|
||||||
- task: DownloadBuildArtifacts@0
|
- task: DownloadBuildArtifacts@0
|
||||||
displayName: Download artifacts for integration tests
|
displayName: Download artifacts for integration tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue