git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 2/3] ci: prevent `perforce` from being quarantined

From
Johannes Schindelin via GitGitGadget <gitgitgadget@gmail.com>
Date
Feb 27, 2020, 13:23 UTC
Message-ID
<5e5fcf3b76b58cb71546f8a2e61c934f64afca98.1582809793.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.714.v2.git.git.1582809793.gitgitgadget@gmail.com>
From: Johannes Schindelin <johannes.schindelin@gmx.de>

The most recent Azure Pipelines macOS agents enable what Apple calls "System Integrity Protection". This makes `p4d -V` hang: there is some sort of GUI dialog waiting for the user to acknowledge that the copied binaries are legit and may be executed, but on build agents, there is no user who could acknowledge that.

Let's ask Homebrew specifically to _not_ quarantine the Perforce binaries.

Helped-by: Aleksandr Chebotov
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 ci/install-dependencies.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh
index cd59855d73d..497fd32ca83 100755
--- a/ci/install-dependencies.sh
+++ b/ci/install-dependencies.sh
@@ -40,11 +40,11 @@ osx-clang|osx-gcc)
 	test -z "$BREW_INSTALL_PACKAGES" ||
 	brew install $BREW_INSTALL_PACKAGES
 	brew link --force gettext
-	brew cask install perforce || {
+	brew cask install --no-quarantine perforce || {
 		# Update the definitions and try again
 		cask_repo="$(brew --repository)"/Library/Taps/homebrew/homebrew-cask &&
 		git -C "$cask_repo" pull --no-stat &&
-		brew cask install perforce
+		brew cask install --no-quarantine perforce
 	} ||
 	brew install caskroom/cask/perforce
 	case "$jobname" in
-- 
gitgitgadget
Previous: Johannes Schindelin via GitGitGadgetNext: Johannes Schindelin via GitGitGadget
Message 14 of 16 in “ci: upgrade to the latest Azure Pipelines agent pools”
  1. 0/3 ci: upgrade to the latest Azure Pipelines agent poolsJohannes Schindelin via GitGitGadget, Feb 26, 2020
  2. 3/3 Azure Pipeline: switch to the latest agent poolsJohannes Schindelin via GitGitGadget, Feb 26, 2020
  3. 1/3 t/lib-httpd: avoid using BSD's sedJohannes Schindelin via GitGitGadget, Feb 26, 2020
  4. Ed MasteFeb 26, 2020
  5. Johannes SchindelinFeb 27, 2020
  6. Ed MasteFeb 27, 2020
  7. Johannes SchindelinFeb 27, 2020
  8. CI/PR builds on FreeBSD, was Re: [PATCH 1/3] t/lib-httpd: avoid using BSD's sedJohannes Schindelin, Feb 28, 2020
  9. Junio C HamanoFeb 26, 2020
  10. Junio C HamanoFeb 26, 2020
  11. Johannes SchindelinFeb 27, 2020
  12. 2/3 ci: prevent `perforce` from being quarantinedJohannes Schindelin via GitGitGadget, Feb 26, 2020
  13. 0/3 ci: upgrade to the latest Azure Pipelines agent poolsJohannes Schindelin via GitGitGadget, Feb 27, 2020
  14. 2/3 ci: prevent `perforce` from being quarantinedJohannes Schindelin via GitGitGadget, Feb 27, 2020
  15. 3/3 Azure Pipeline: switch to the latest agent poolsJohannes Schindelin via GitGitGadget, Feb 27, 2020
  16. 1/3 t/lib-httpd: avoid using macOS' sedJohannes Schindelin via GitGitGadget, Feb 27, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.