You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/03/14 12:05:15 UTC

[incubator-dlab] branch v2.1-RC2 updated: DLAB-328 removed not needed function

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

bhliva pushed a commit to branch v2.1-RC2
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/v2.1-RC2 by this push:
     new 81a4d6c  DLAB-328 removed not needed function
81a4d6c is described below

commit 81a4d6c2dd58f59a767fe6182dae40e972099330
Author: bhliva <bo...@epam.com>
AuthorDate: Thu Mar 14 14:04:58 2019 +0200

    DLAB-328 removed not needed function
---
 .../src/ssn/scripts/configure_ssn_node.py             | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)

diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
index c616ffa..b9247b8 100644
--- a/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
+++ b/infrastructure-provisioning/src/ssn/scripts/configure_ssn_node.py
@@ -136,20 +136,6 @@ def configure_ssl_certs(hostname, custom_ssl_cert):
         print('Failed to configure SSL certificates: ', str(err))
         sys.exit(1)
 
-def download_toree():
-    toree_path = /opt/dlab/sources/infrastructure-provisioning/src/general/files/os/
-    download_link = https://archive.apache.org/dist/incubator/toree/0.2.0-incubating/toree/toree-0.2.0-incubating-bin.tar.gz
-    try
-        run('cd {}'.format(toree_path))
-        run('cd {0} && wget {1}'.format(toree_path, download_link))
-        run('mv {0}toree-0.2.0-incubating-bin.tar.gz {0}toree-kernel.tar.gz'.format(toree_path))
-        run('tar xvf toree-kernel.tar.gz')
-        run('mv {0}toree-0.2.0-incubating/lib/toree-assembly-0.2.0-incubating.jar {0}toree-assembly-0.2.0.jar'.format(toree_path))
-        run('rm -rf {}toree-0.2.0-incubating'.format(toree_path))
-    except Exception as err:
-        traceback.print_exc()
-        print('Failed to download toree: ', str(err))
-        sys.exit(1)
 
 ##############
 # Run script #
@@ -206,7 +192,4 @@ if __name__ == "__main__":
     cp_gitlab_scripts(args.dlab_path)
 
     print("Ensuring safest ssh ciphers")
-    ensure_ciphers()
-
-    print("Downloading Apache Toree")
-    download_toree()
\ No newline at end of file
+    ensure_ciphers()
\ No newline at end of file


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