From b567ed738ef9acfde242a0bda2860aab42c1b219 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 20 Aug 2019 08:29:15 +0100 Subject: [PATCH] Remove Azure Pipelines CI. --- Library/Homebrew/extend/os/mac/diagnostic.rb | 4 +-- azure-pipelines.yml | 29 -------------------- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index 09b2754932..5d5e2eec9b 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -72,7 +72,7 @@ module Homebrew # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew # repository. This only needs to support whatever CI providers # Homebrew/brew is currently using. - return if ENV["HOMEBREW_AZURE_PIPELINES"] || ENV["HOMEBREW_GITHUB_ACTIONS"] + return if ENV["HOMEBREW_GITHUB_ACTIONS"] message = <<~EOS Your Xcode (#{MacOS::Xcode.version}) is outdated. @@ -99,7 +99,7 @@ module Homebrew # `brew test-bot` runs `brew doctor` in the CI for the Homebrew/brew # repository. This only needs to support whatever CI providers # Homebrew/brew is currently using. - return if ENV["HOMEBREW_AZURE_PIPELINES"] || ENV["HOMEBREW_GITHUB_ACTIONS"] + return if ENV["HOMEBREW_GITHUB_ACTIONS"] <<~EOS A newer Command Line Tools release is available. diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index c7c4eb9c76..0000000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,29 +0,0 @@ -jobs: -- job: macOS - pool: - vmImage: macOS-10.14 - steps: - - bash: | - set -e - sudo xcode-select --switch /Applications/Xcode_10.2.app/Contents/Developer - HOMEBREW_REPOSITORY="$(brew --repo)" - mv "$HOMEBREW_REPOSITORY/Library/Taps" "$PWD/Library" - sudo rm -rf "$HOMEBREW_REPOSITORY" - sudo ln -s "$PWD" "$HOMEBREW_REPOSITORY" - brew update-reset Library/Taps/homebrew/homebrew-core - brew test-bot - displayName: Run brew test-bot - env: - HOMEBREW_GITHUB_API_TOKEN: $(github.publicApiToken) - -- job: Linux - pool: - vmImage: ubuntu-16.04 - steps: - - bash: docker-compose -f Dockerfile.yml build sut - displayName: Build Docker image - - - bash: docker-compose -f Dockerfile.yml run --rm -v $(Build.ArtifactStagingDirectory):/tmp/test-bot sut - displayName: Run brew test-bot - env: - HOMEBREW_GITHUB_API_TOKEN: $(github.publicApiToken)