From b7aa1df2193d0258a1deb5d308f6743e500e759d Mon Sep 17 00:00:00 2001 From: Qstick Date: Tue, 13 Oct 2020 21:53:17 -0400 Subject: [PATCH] Fix Automation/cleanup build yml (#5211) * Cleanup build yml * fixup! bump chrome driver --- azure-pipelines.yml | 21 ++----------------- .../Radarr.Automation.Test.csproj | 2 +- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a1035f5b4..d3ad7613d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -386,11 +386,6 @@ stages: - powershell: Set-Service SCardSvr -StartupType Manual displayName: Enable Windows Test Service condition: and(succeeded(), eq(variables['osName'], 'Windows')) - - bash: | - wget https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz - sudo tar xf chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz --strip-components=1 --directory /usr/bin - displayName: Install fpcalc - condition: and(succeeded(), eq(variables['osName'], 'Linux')) - bash: | SYMLINK=6_6_0 MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK @@ -693,20 +688,6 @@ stages: mkdir -p ./bin/ cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Radarr/. ./bin/ displayName: Move Package Contents - - bash: | - if [[ $OSNAME == "Mac" ]]; then - url=https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-macos.tar.gz - elif [[ $OSNAME == "Linux" ]]; then - url=https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz - else - echo "Unhandled OS" - exit 1 - fi - curl -s -L "$url" | tar -xz - chmod +x geckodriver - mv geckodriver _tests - displayName: Install Gecko Driver - condition: and(succeeded(), ne(variables['osName'], 'Windows')) - bash: | chmod a+x ${TESTSFOLDER}/test.sh ${TESTSFOLDER}/test.sh ${OSNAME} Automation Test @@ -721,6 +702,7 @@ stages: - publish: $(Build.ArtifactStagingDirectory)/screenshots artifact: '$(osName)AutomationScreenshots' displayName: Publish Screenshot Bundle + continueOnError: true - task: PublishTestResults@2 inputs: testResultsFormat: 'NUnit' @@ -872,6 +854,7 @@ stages: vmImage: 'windows-2019' steps: - task: DownloadPipelineArtifact@2 + continueOnError: true displayName: Download Screenshot Artifact inputs: buildType: 'current' diff --git a/src/NzbDrone.Automation.Test/Radarr.Automation.Test.csproj b/src/NzbDrone.Automation.Test/Radarr.Automation.Test.csproj index f2c859e0b..2646d6371 100644 --- a/src/NzbDrone.Automation.Test/Radarr.Automation.Test.csproj +++ b/src/NzbDrone.Automation.Test/Radarr.Automation.Test.csproj @@ -8,7 +8,7 @@ - +