mirror of https://github.com/Ombi-app/Ombi
Merge branch 'feature/v4' of https://github.com/tidusjar/Ombi into feature/v4
commit
2fb0c78c7e
@ -0,0 +1,83 @@
|
|||||||
|
# ASP.NET Core
|
||||||
|
# Build and test ASP.NET Core projects targeting .NET Core.
|
||||||
|
# Add steps that run tests, create a NuGet package, deploy, and more:
|
||||||
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
- master
|
||||||
|
- feature/v4
|
||||||
|
- develop
|
||||||
|
|
||||||
|
variables:
|
||||||
|
solution: '**/*.sln'
|
||||||
|
testProj: '**/*.Tests.csproj'
|
||||||
|
csProj: '**/*.csproj'
|
||||||
|
buildConfiguration: 'Release'
|
||||||
|
publishLocation: '$(Build.SourcesDirectory)/src/Ombi/bin/Release/netcoreapp2.2'
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: CmdLine@2
|
||||||
|
displayName: Run Build Script
|
||||||
|
inputs:
|
||||||
|
script: './build.sh'
|
||||||
|
- task: CmdLine@2
|
||||||
|
inputs:
|
||||||
|
script: |
|
||||||
|
cd src/Ombi/bin/Release/netcoreapp2.2
|
||||||
|
|
||||||
|
ls
|
||||||
|
workingDirectory: '$(Build.SourcesDirectory)'
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Upload Windows Build
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(publishLocation)/windows.zip'
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Upload OSX Build
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '**/osx.tar.gz'
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Upload Linux Build
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(publishLocation)/linux.tar.gz'
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Upload Linux-ARM Build
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(publishLocation)/linux-arm.tar.gz'
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Upload Windows 32Bit Build
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(publishLocation)/windows-32bit.zip'
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
|
||||||
|
- task: CopyFiles@2
|
||||||
|
displayName: Upload Linux-ARM64 Build
|
||||||
|
inputs:
|
||||||
|
SourceFolder: '$(publishLocation)/linux-arm64.tar.gz'
|
||||||
|
TargetFolder: '$(Build.ArtifactStagingDirectory)'
|
||||||
|
OverWrite: true
|
||||||
|
|
||||||
|
- task: PublishTestResults@2
|
||||||
|
displayName: Upload Test Results
|
||||||
|
inputs:
|
||||||
|
testResultsFormat: 'VSTest'
|
||||||
|
testResultsFiles: '**/Test.trx'
|
||||||
|
mergeTestResults: true
|
||||||
|
failTaskOnFailedTests: true
|
||||||
|
testRunTitle: 'Unit Tests'
|
@ -0,0 +1,38 @@
|
|||||||
|
# ASP.NET Core
|
||||||
|
# Build and test ASP.NET Core projects targeting .NET Core.
|
||||||
|
# Add steps that run tests, create a NuGet package, deploy, and more:
|
||||||
|
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
|
||||||
|
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branches:
|
||||||
|
include:
|
||||||
|
- feature/*
|
||||||
|
exclude:
|
||||||
|
- feature/v4
|
||||||
|
|
||||||
|
variables:
|
||||||
|
solution: '**/*.sln'
|
||||||
|
testProj: '**/*.Tests.csproj'
|
||||||
|
csProj: '**/*.csproj'
|
||||||
|
buildConfiguration: 'Release'
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: 'ubuntu-latest'
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- task: UseDotNet@2
|
||||||
|
displayName: Use dotnet sdk
|
||||||
|
inputs:
|
||||||
|
packageType: 'sdk'
|
||||||
|
version: '2.2.401'
|
||||||
|
- task: DotNetCoreCLI@2
|
||||||
|
displayName: Run Unit Tests
|
||||||
|
inputs:
|
||||||
|
command: 'test'
|
||||||
|
projects: '$(testProj)'
|
||||||
|
- task: Yarn@3
|
||||||
|
displayName: Build UI
|
||||||
|
inputs:
|
||||||
|
projectDirectory: '$(Build.SourcesDirectory)/src/Ombi/ClientApp/'
|
||||||
|
arguments: 'run build'
|
@ -1,10 +1,10 @@
|
|||||||
|
@import '../../../../../../styles/buttons.scss';
|
||||||
@import 'Styles/buttons.scss';
|
|
||||||
|
|
||||||
// border: solid 3px #fff;
|
// border: solid 3px #fff;
|
||||||
.monitored {
|
.monitored {
|
||||||
border: solid 3px $orange !important;
|
border: solid 3px $orange !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.available {
|
.available {
|
||||||
border: solid 3px $green !important;
|
border: solid 3px $green !important;
|
||||||
}
|
}
|
Loading…
Reference in new issue