You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by je...@apache.org on 2021/10/18 20:43:30 UTC
[incubator-mxnet] branch v1.9.x updated: [v1.9.x] CI fixes (#20648)
This is an automated email from the ASF dual-hosted git repository.
jevans pushed a commit to branch v1.9.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/v1.9.x by this push:
new 5cd2d4d [v1.9.x] CI fixes (#20648)
5cd2d4d is described below
commit 5cd2d4d86efcdfcad9c49712ed2fb6e9a72d3250
Author: Joe Evans <jo...@gmail.com>
AuthorDate: Mon Oct 18 13:42:12 2021 -0700
[v1.9.x] CI fixes (#20648)
* Update openssl package in ubuntu_core.sh (used in ubuntu 16.04 images) to avoid bug triggered by let's encrypt expired ca cert.
* Reduce number of parallel docker builds we run at once to 2, since there are multiple jobs (on different branches) running at the same time.
* Use different mirror to download binutils to avoid expired let's encrypt CA cert.
---
ci/docker/install/ubuntu_binutils.sh | 2 +-
ci/docker/install/ubuntu_core.sh | 1 +
ci/docker_cache.py | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ci/docker/install/ubuntu_binutils.sh b/ci/docker/install/ubuntu_binutils.sh
index 4ef99a8..c688642 100755
--- a/ci/docker/install/ubuntu_binutils.sh
+++ b/ci/docker/install/ubuntu_binutils.sh
@@ -28,7 +28,7 @@ apt-get install -y \
wget
mkdir /opt/binutils_install && mkdir /opt/binutils && cd /opt/binutils
-wget -nv https://ftp.gnu.org/gnu/binutils/binutils-2.27.tar.gz
+wget -nv http://mirrors.kernel.org/gnu/binutils/binutils-2.27.tar.gz
tar -xvf binutils-2.27.tar.gz && cd binutils-2.27
./configure --prefix=/opt/binutils_other --exec-prefix=/opt/binutils_install
make -j$(nproc)
diff --git a/ci/docker/install/ubuntu_core.sh b/ci/docker/install/ubuntu_core.sh
index db50ffe..3cf48b5 100755
--- a/ci/docker/install/ubuntu_core.sh
+++ b/ci/docker/install/ubuntu_core.sh
@@ -51,6 +51,7 @@ apt-get install -y \
libedit-dev \
libxml2-dev \
ninja-build \
+ openssl \
software-properties-common \
sudo \
unzip \
diff --git a/ci/docker_cache.py b/ci/docker_cache.py
index f0a72b5..f9d5b81 100755
--- a/ci/docker_cache.py
+++ b/ci/docker_cache.py
@@ -38,7 +38,7 @@ from util import retry
DOCKER_CACHE_NUM_RETRIES = 3
DOCKER_CACHE_TIMEOUT_MINS = 45
-PARALLEL_BUILDS = 5
+PARALLEL_BUILDS = 2
DOCKER_CACHE_RETRY_SECONDS = 5
DOCKER_BUILD_NUM_RETRIES = 2