Temp disable BSD Tests

pull/1174/head
Qstick 2 years ago
parent 4eec675d61
commit 438ea380f5

@ -429,11 +429,11 @@ stages:
testName: 'linux-x64' testName: 'linux-x64'
poolName: 'Azure Pipelines' poolName: 'Azure Pipelines'
imageName: ${{ variables.linuxImage }} imageName: ${{ variables.linuxImage }}
FreebsdCore: # FreebsdCore:
osName: 'Linux' # osName: 'Linux'
testName: 'freebsd-x64' # testName: 'freebsd-x64'
poolName: 'FreeBSD' # poolName: 'FreeBSD'
imageName: # imageName:
pool: pool:
name: $(poolName) name: $(poolName)
@ -724,51 +724,51 @@ stages:
failTaskOnFailedTests: true failTaskOnFailedTests: true
displayName: Publish Test Results displayName: Publish Test Results
- job: Integration_FreeBSD # - job: Integration_FreeBSD
displayName: Integration Native FreeBSD # displayName: Integration Native FreeBSD
dependsOn: Prepare # dependsOn: Prepare
condition: and(succeeded(), eq(dependencies.Prepare.outputs['setVar.backendNotUpdated'], '0')) # condition: and(succeeded(), eq(dependencies.Prepare.outputs['setVar.backendNotUpdated'], '0'))
workspace: # workspace:
clean: all # clean: all
variables: # variables:
pattern: 'Prowlarr.*.freebsd-core-x64.tar.gz' # pattern: 'Prowlarr.*.freebsd-core-x64.tar.gz'
pool: # pool:
name: 'FreeBSD' # name: 'FreeBSD'
steps: # steps:
- checkout: none # - checkout: none
- task: DownloadPipelineArtifact@2 # - task: DownloadPipelineArtifact@2
displayName: Download Test Artifact # displayName: Download Test Artifact
inputs: # inputs:
buildType: 'current' # buildType: 'current'
artifactName: 'freebsd-x64-tests' # artifactName: 'freebsd-x64-tests'
targetPath: $(testsFolder) # targetPath: $(testsFolder)
- task: DownloadPipelineArtifact@2 # - task: DownloadPipelineArtifact@2
displayName: Download Build Artifact # displayName: Download Build Artifact
inputs: # inputs:
buildType: 'current' # buildType: 'current'
artifactName: Packages # artifactName: Packages
itemPattern: '/$(pattern)' # itemPattern: '/$(pattern)'
targetPath: $(Build.ArtifactStagingDirectory) # targetPath: $(Build.ArtifactStagingDirectory)
- bash: | # - bash: |
mkdir -p ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin # mkdir -p ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin
tar xf ${BUILD_ARTIFACTSTAGINGDIRECTORY}/$(pattern) -C ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin # tar xf ${BUILD_ARTIFACTSTAGINGDIRECTORY}/$(pattern) -C ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin
displayName: Extract Package # displayName: Extract Package
- bash: | # - bash: |
mkdir -p ./bin/ # mkdir -p ./bin/
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Prowlarr/. ./bin/ # cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Prowlarr/. ./bin/
displayName: Move Package Contents # displayName: Move Package Contents
- bash: | # - bash: |
chmod a+x ${TESTSFOLDER}/test.sh # chmod a+x ${TESTSFOLDER}/test.sh
${TESTSFOLDER}/test.sh Linux Integration Test # ${TESTSFOLDER}/test.sh Linux Integration Test
displayName: Run Integration Tests # displayName: Run Integration Tests
- task: PublishTestResults@2 # - task: PublishTestResults@2
inputs: # inputs:
testResultsFormat: 'NUnit' # testResultsFormat: 'NUnit'
testResultsFiles: '**/TestResult.xml' # testResultsFiles: '**/TestResult.xml'
testRunTitle: 'FreeBSD Integration Tests' # testRunTitle: 'FreeBSD Integration Tests'
failTaskOnFailedTests: true # failTaskOnFailedTests: true
displayName: Publish Test Results # displayName: Publish Test Results
- job: Integration_Docker - job: Integration_Docker
displayName: Integration Docker displayName: Integration Docker

Loading…
Cancel
Save