You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2021/12/29 16:57:33 UTC

[arrow] branch master updated: MINOR: [CI] Fix AppVeyor setup failure

This is an automated email from the ASF dual-hosted git repository.

apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new bf7636e  MINOR: [CI] Fix AppVeyor setup failure
bf7636e is described below

commit bf7636e1cbd35fdf4c638776366e113cf82f9081
Author: Antoine Pitrou <an...@python.org>
AuthorDate: Wed Dec 29 17:55:59 2021 +0100

    MINOR: [CI] Fix AppVeyor setup failure
    
    Closes #12051 from pitrou/appveyor-ca-fail
    
    Authored-by: Antoine Pitrou <an...@python.org>
    Signed-off-by: Antoine Pitrou <an...@python.org>
---
 ci/appveyor-cpp-setup.bat | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/ci/appveyor-cpp-setup.bat b/ci/appveyor-cpp-setup.bat
index 647fc09..8db3583 100644
--- a/ci/appveyor-cpp-setup.bat
+++ b/ci/appveyor-cpp-setup.bat
@@ -46,7 +46,10 @@ conda info -a
 @rem
 @rem Install mamba to the base environment
 @rem
-conda install -q -y -c conda-forge mamba
+conda install -q -y -c conda-forge mamba || exit /B
+
+@rem Update for newer CA certificates
+mamba update -q -y --all || exit /B
 
 @rem
 @rem Create conda environment for Build and Toolchain jobs
@@ -79,7 +82,7 @@ if "%JOB%" NEQ "Build_Debug" (
   @rem On Windows, GTest is always bundled from source instead of using
   @rem conda binaries, avoid any interference between the two versions.
   if "%JOB%" == "Toolchain" (
-    mamba uninstall -n arrow -q -y -c conda-forge gtest
+    mamba uninstall -n arrow -q -y -c conda-forge gtest || exit /B
   )
 )