You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/04/27 10:03:44 UTC

[incubator-datalab] branch DATALAB-2091 updated: [DATALAB-2091]: changed link from http to https

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

lfrolov pushed a commit to branch DATALAB-2091
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2091 by this push:
     new 70c4427  [DATALAB-2091]: changed link from http to https
     new 23aac09  Merge branch 'DATALAB-2091' of https://github.com/apache/incubator-dlab into DATALAB-2091
70c4427 is described below

commit 70c44278bc10d396cca4f3a53dd2bcf588243e6e
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Apr 27 12:06:06 2021 +0300

    [DATALAB-2091]: changed link from http to https
---
 .../scripts/deploy_repository/deploy_repository.py                    | 4 ++--
 infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 4 ++--
 infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py b/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
index e1d81f1..69a31fe 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
+++ b/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
@@ -1193,9 +1193,9 @@ def download_packages():
                     cuda_version_deeplearning, cuda_deeplearingn_file_name),
                 'https://developer.nvidia.com/compute/cuda/{0}/prod/local_installers/{1}'.format(
                     configuration['notebook_cuda_version'], configuration['notebook_cuda_file_name']),
-                'http://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1}'.format(
+                'https://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1}'.format(
                     cudnn_version_deeplearning, cudnn_file_name_deeplearning),
-                'http://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1}'.format(
+                'https://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1}'.format(
                     configuration['notebook_cudnn_version'], configuration['notebook_cudnn_file_name']),
                 'https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-{}-cp27-none-'
                 'linux_x86_64.whl'.format(tensorflow_version_deeplearning),
diff --git a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 3039caf..058fb50 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -312,7 +312,7 @@ def install_tensor(os_user, cuda_version, cuda_file_name,
             # install cuda
             datalab.fab.conn.sudo('python3 -m pip install --upgrade pip=={0} wheel numpy=={1} --no-cache-dir'.format(
                 os.environ['conf_pip_version'], os.environ['notebook_numpy_version']))
-            datalab.fab.conn.sudo('wget -P /opt http://developer.download.nvidia.com/compute/cuda/{0}/Prod/local_installers/{1}'.format(
+            datalab.fab.conn.sudo('wget -P /opt https://developer.download.nvidia.com/compute/cuda/{0}/Prod/local_installers/{1}'.format(
                 cuda_version, cuda_file_name))
             datalab.fab.conn.sudo('apt -y install gcc-8 g++-8')
             datalab.fab.conn.sudo('update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 8')
@@ -324,7 +324,7 @@ def install_tensor(os_user, cuda_version, cuda_file_name,
             datalab.fab.conn.sudo('ln -s /opt/cuda-{0} /usr/local/cuda-{0}'.format(cuda_version))
             datalab.fab.conn.sudo('rm -f /opt/{}'.format(cuda_file_name))
             # install cuDNN
-            datalab.fab.conn.run('wget http://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1} -O /tmp/{1}'.format(
+            datalab.fab.conn.run('wget https://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1} -O /tmp/{1}'.format(
                 cudnn_version, cudnn_file_name))
             datalab.fab.conn.run('tar xvzf /tmp/{} -C /tmp'.format(cudnn_file_name))
             datalab.fab.conn.sudo('mkdir -p /opt/cudnn/include')
diff --git a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
index 35e53a2..8f64d51 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
@@ -251,7 +251,7 @@ def install_tensor(os_user, cuda_version, cuda_file_name,
             datalab.fab.conn.sudo('ln -s /opt/cuda-{0} /usr/local/cuda-{0}'.format(cuda_version[:-2]))
             datalab.fab.conn.sudo('rm -f /opt/{}'.format(cuda_file_name))
             # install cuDNN
-            datalab.fab.conn.run('wget http://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1} -O /tmp/{1}'.format(cudnn_version, cudnn_file_name))
+            datalab.fab.conn.run('wget https://developer.download.nvidia.com/compute/redist/cudnn/v{0}/{1} -O /tmp/{1}'.format(cudnn_version, cudnn_file_name))
             datalab.fab.conn.run('tar xvzf /tmp/{} -C /tmp'.format(cudnn_file_name))
             datalab.fab.conn.sudo('mkdir -p /opt/cudnn/include')
             datalab.fab.conn.sudo('mkdir -p /opt/cudnn/lib64')

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org