Tarantool development patches archive
 help / color / mirror / Atom feed
From: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
To: Oleg Piskunov <o.piskunov@tarantool.org>,
	Sergey Bronnikov <sergeyb@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 1/2] build: disable at OSX curl SSL
Date: Thu,  9 Apr 2020 11:40:58 +0300	[thread overview]
Message-ID: <044078cbcecdf7a18e12897cd0fa50d70bf33c03.1586421151.git.avtikhon@tarantool.org> (raw)
In-Reply-To: <cover.1586421151.git.avtikhon@tarantool.org>
In-Reply-To: <cover.1586421151.git.avtikhon@tarantool.org>

Formula tntpython2.rb consist of the packages which download target host
does not have valid SSL certificate, disabled curl SSL check for it.
---
 .travis.mk | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/.travis.mk b/.travis.mk
index f709a18b6..e79d50b19 100644
--- a/.travis.mk
+++ b/.travis.mk
@@ -151,7 +151,7 @@ test_static_docker_build:
 
 # since Python 2 is EOL it's latest commit from tapped local formula is used
 OSX_PKGS=openssl readline curl icu4c libiconv zlib autoconf automake libtool \
-	cmake file://$${PWD}/tools/brew_taps/tntpython2.rb
+	cmake
 
 deps_osx:
 	# install brew using command from Homebrew repository instructions:
@@ -164,7 +164,18 @@ deps_osx:
 	# try to install the packages either upgrade it to avoid of fails
 	# if the package already exists with the previous version
 	brew install --force ${OSX_PKGS} || brew upgrade ${OSX_PKGS}
-	pip install --force-reinstall -r test-run/requirements.txt
+	# Formula tntpython2.rb consist of the packages which download target
+	# host does not have valid SSL certificate, disabled curl SSL
+	# check for it.
+	echo insecure >>$${HOME}/.curlrc
+	brew install --force file://$${PWD}/tools/brew_taps/tntpython2.rb || true
+	sed '$$d' $${HOME}/.curlrc >$${HOME}/.curlrc.new && \
+		mv $${HOME}/.curlrc.new $${HOME}/.curlrc
+	python2 -V
+	pip install --trusted-host files.pythonhosted.org \
+		--upgrade pip setuptools
+	pip install --trusted-host files.pythonhosted.org \
+		--force-reinstall -r test-run/requirements.txt
 
 build_osx:
 	cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON ${CMAKE_EXTRA_PARAMS}
-- 
2.17.1

  reply	other threads:[~2020-04-09  8:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-09  8:40 [Tarantool-patches] [PATCH v1 0/2] gitlab-ci: add Catalina OSX 10.15 Alexander V. Tikhonov
2020-04-09  8:40 ` Alexander V. Tikhonov [this message]
2020-04-13 10:57   ` [Tarantool-patches] [PATCH v1 1/2] build: disable at OSX curl SSL Oleg Piskunov
2020-04-13 14:48     ` Alexander Tikhonov
2020-04-09  8:40 ` [Tarantool-patches] [PATCH v1 2/2] gitlab-ci: add Catalina OSX 10.15 Alexander V. Tikhonov
2020-04-13 10:50   ` Oleg Piskunov
2020-04-13 11:00     ` Alexander Tikhonov
2020-04-10 14:34 ` [Tarantool-patches] [PATCH v1 0/2] " Sergey Bronnikov
2020-04-13 13:49   ` Alexander Tikhonov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=044078cbcecdf7a18e12897cd0fa50d70bf33c03.1586421151.git.avtikhon@tarantool.org \
    --to=avtikhon@tarantool.org \
    --cc=o.piskunov@tarantool.org \
    --cc=sergeyb@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 1/2] build: disable at OSX curl SSL' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox