[DLAB-2080]: replaced old name in files
diff --git a/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py b/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
index c3e738f..0d05532 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
+++ b/infrastructure-provisioning/scripts/deploy_repository/deploy_repository.py
@@ -62,7 +62,7 @@
parser.add_argument('--additional_disk_size', type=str, default='50', help="Disk size of additional volume")
parser.add_argument('--datalab_conf_file_path', type=str, default='', help="Full path to DataLab conf file")
parser.add_argument('--nexus_admin_password', type=str, default='', help="Password for Nexus admin user")
-parser.add_argument('--nexus_service_user_name', type=str, default='dlab-nexus', help="Nexus service user name")
+parser.add_argument('--nexus_service_user_name', type=str, default='datalab-nexus', help="Nexus service user name")
parser.add_argument('--nexus_service_user_password', type=str, default='', help="Nexus service user password")
parser.add_argument('--action', required=True, type=str, default='', help='Action: create or terminate')
args = parser.parse_args()
diff --git a/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy b/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
index 54608ac..12469b1 100644
--- a/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
+++ b/infrastructure-provisioning/scripts/deploy_repository/templates/configureNexus.groovy
@@ -62,9 +62,9 @@
// create a role for service user
def role = new org.sonatype.nexus.security.role.Role(
- roleId: "nx-dlab",
+ roleId: "nx-datalab",
source: "Nexus",
- name: "nx-dlab",
+ name: "nx-datalab",
description: null,
readOnly: false,
privileges: [ 'nx-repository-view-*-*-*' ],
@@ -74,8 +74,8 @@
// add a service user account
security.addUser("SERVICE_USER_NAME",
- "DLab", "Nexus",
- "dlab-nexus@example.org", true,
+ "DataLab", "Nexus",
+ "datalab-nexus@example.org", true,
"SERVICE_USER_PASSWORD", [ role.roleId ])
security.securitySystem.changePassword('admin','ADMIN_PASSWORD')
diff --git a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/datalab-ui-chart/templates/configmap-ui-conf.yaml b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/datalab-ui-chart/templates/configmap-ui-conf.yaml
index af0483e..5ab2abd 100644
--- a/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/datalab-ui-chart/templates/configmap-ui-conf.yaml
+++ b/infrastructure-provisioning/terraform/aws/ssn-helm-charts/main/datalab-ui-chart/templates/configmap-ui-conf.yaml
@@ -113,7 +113,7 @@
<#if DEV_MODE == "true">
billingConfFile: ${sys['user.dir']}/../billing/billing.yml
<#else>
- billingConfFile: ${DLAB_CONF_DIR}/billing.yml
+ billingConfFile: ${DATALAB_CONF_DIR}/billing.yml
</#if>
<#if CLOUD_TYPE == "azure">
diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index 41037b8..7b188ac 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -620,7 +620,7 @@
def get_sources():
try:
- conn.run("git clone https://github.com/apache/incubator-dlab.git {0}/sources".format(args.datalab_path))
+ conn.run("git clone https://github.com/apache/incubator-datalab.git {0}/sources".format(args.datalab_path))
if args.branch_name != "":
conn.run("cd {0}/sources && git checkout {1} && cd".format(args.datalab_path, args.branch_name))
except Exception as err:
diff --git a/infrastructure-provisioning/terraform/gcp/endpoint/provisioning.py b/infrastructure-provisioning/terraform/gcp/endpoint/provisioning.py
index 135f316..c513b10 100644
--- a/infrastructure-provisioning/terraform/gcp/endpoint/provisioning.py
+++ b/infrastructure-provisioning/terraform/gcp/endpoint/provisioning.py
@@ -372,7 +372,7 @@
def get_sources():
try:
- conn.run("git clone https://github.com/apache/incubator-dlab.git {0}/sources".format(args.datalab_path))
+ conn.run("git clone https://github.com/apache/incubator-datalab.git {0}/sources".format(args.datalab_path))
if args.branch_name != "":
conn.run("cd {0}/sources && git checkout {1} && cd".format(args.datalab_path, args.branch_name))
except Exception as err:
diff --git a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/datalab-ui-chart/templates/configmap-ui-conf.yaml b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/datalab-ui-chart/templates/configmap-ui-conf.yaml
index 446c3da..d293493 100644
--- a/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/datalab-ui-chart/templates/configmap-ui-conf.yaml
+++ b/infrastructure-provisioning/terraform/gcp/ssn-gke/main/modules/helm_charts/datalab-ui-chart/templates/configmap-ui-conf.yaml
@@ -113,7 +113,7 @@
<#if DEV_MODE == "true">
billingConfFile: ${sys['user.dir']}/../billing/billing.yml
<#else>
- billingConfFile: ${DLAB_CONF_DIR}/billing.yml
+ billingConfFile: ${DATALAB_CONF_DIR}/billing.yml
</#if>
<#if CLOUD_TYPE == "azure">
diff --git a/integration-tests/examples/copy_files.py b/integration-tests/examples/copy_files.py
index 3ecc17d..f96398d 100644
--- a/integration-tests/examples/copy_files.py
+++ b/integration-tests/examples/copy_files.py
@@ -99,7 +99,7 @@
if args.cloud == 'aws':
upload_aws()
elif args.cloud == 'azure':
- os.environ['AZURE_AUTH_LOCATION'] = '/home/dlab-user/keys/azure_auth.json'
+ os.environ['AZURE_AUTH_LOCATION'] = '/home/datalab-user/keys/azure_auth.json'
if args.azure_datalake_account:
upload_azure_datalake()
else:
diff --git a/integration-tests/examples/test_templates/deeplearning/template_preparation_tensor.ipynb b/integration-tests/examples/test_templates/deeplearning/template_preparation_tensor.ipynb
index 0396cb3..b1eadda 100644
--- a/integration-tests/examples/test_templates/deeplearning/template_preparation_tensor.ipynb
+++ b/integration-tests/examples/test_templates/deeplearning/template_preparation_tensor.ipynb
@@ -30,13 +30,13 @@
"metadata": {},
"outputs": [],
"source": [
- "TRAIN_DIR = '/home/dlab-user/train/'\n",
- "TEST_DIR = '/home/dlab-user/test/'\n",
+ "TRAIN_DIR = '/home/datalab-user/train/'\n",
+ "TEST_DIR = '/home/datalab-user/test/'\n",
"ROWS = 128\n",
"COLS = 128\n",
"CHANNELS = 3\n",
"TRAIN_IMAGES_COUNT = 1000\n",
- "PATH_TO_LOGS = '/home/dlab-user/logs'"
+ "PATH_TO_LOGS = '/home/datalab-user/logs'"
]
},
{
@@ -227,8 +227,8 @@
"metadata": {},
"outputs": [],
"source": [
- "path_to_model = '/home/dlab-user/model_1000.json'\n",
- "path_to_weights = '/home/dlab-user/weigths_1000.h5'\n",
+ "path_to_model = '/home/datalab-user/model_1000.json'\n",
+ "path_to_weights = '/home/datalab-user/weigths_1000.h5'\n",
"\n",
"model.save(path_to_model)\n",
"model.save_weights(path_to_weights)"
diff --git a/integration-tests/examples/test_templates/deeplearning/template_visualization_tensor.ipynb b/integration-tests/examples/test_templates/deeplearning/template_visualization_tensor.ipynb
index 92eba38..c233ab2 100644
--- a/integration-tests/examples/test_templates/deeplearning/template_visualization_tensor.ipynb
+++ b/integration-tests/examples/test_templates/deeplearning/template_visualization_tensor.ipynb
@@ -27,8 +27,8 @@
"metadata": {},
"outputs": [],
"source": [
- "path_to_model = '/home/dlab-user/model_1000.json'\n",
- "path_to_weights = '/home/dlab-user/weigths_1000.h5'"
+ "path_to_model = '/home/datalab-user/model_1000.json'\n",
+ "path_to_weights = '/home/datalab-user/weigths_1000.h5'"
]
},
{
@@ -47,7 +47,7 @@
"ROWS = 128\n",
"COLS = 128\n",
"CHANNELS = 3\n",
- "TEST_DIR = '/home/dlab-user/test/'\n",
+ "TEST_DIR = '/home/datalab-user/test/'\n",
"all_image_names = os.listdir(TEST_DIR)\n",
"all_image_names.sort()\n",
"test_images = [TEST_DIR+i for i in all_image_names[6:11] + all_image_names[19:32] + all_image_names[33:34]]\n",
diff --git a/integration-tests/examples/test_templates/tensor/template_preparation_tensor.ipynb b/integration-tests/examples/test_templates/tensor/template_preparation_tensor.ipynb
index 0396cb3..b1eadda 100644
--- a/integration-tests/examples/test_templates/tensor/template_preparation_tensor.ipynb
+++ b/integration-tests/examples/test_templates/tensor/template_preparation_tensor.ipynb
@@ -30,13 +30,13 @@
"metadata": {},
"outputs": [],
"source": [
- "TRAIN_DIR = '/home/dlab-user/train/'\n",
- "TEST_DIR = '/home/dlab-user/test/'\n",
+ "TRAIN_DIR = '/home/datalab-user/train/'\n",
+ "TEST_DIR = '/home/datalab-user/test/'\n",
"ROWS = 128\n",
"COLS = 128\n",
"CHANNELS = 3\n",
"TRAIN_IMAGES_COUNT = 1000\n",
- "PATH_TO_LOGS = '/home/dlab-user/logs'"
+ "PATH_TO_LOGS = '/home/datalab-user/logs'"
]
},
{
@@ -227,8 +227,8 @@
"metadata": {},
"outputs": [],
"source": [
- "path_to_model = '/home/dlab-user/model_1000.json'\n",
- "path_to_weights = '/home/dlab-user/weigths_1000.h5'\n",
+ "path_to_model = '/home/datalab-user/model_1000.json'\n",
+ "path_to_weights = '/home/datalab-user/weigths_1000.h5'\n",
"\n",
"model.save(path_to_model)\n",
"model.save_weights(path_to_weights)"
diff --git a/integration-tests/examples/test_templates/tensor/template_visualization_tensor.ipynb b/integration-tests/examples/test_templates/tensor/template_visualization_tensor.ipynb
index 92eba38..c233ab2 100644
--- a/integration-tests/examples/test_templates/tensor/template_visualization_tensor.ipynb
+++ b/integration-tests/examples/test_templates/tensor/template_visualization_tensor.ipynb
@@ -27,8 +27,8 @@
"metadata": {},
"outputs": [],
"source": [
- "path_to_model = '/home/dlab-user/model_1000.json'\n",
- "path_to_weights = '/home/dlab-user/weigths_1000.h5'"
+ "path_to_model = '/home/datalab-user/model_1000.json'\n",
+ "path_to_weights = '/home/datalab-user/weigths_1000.h5'"
]
},
{
@@ -47,7 +47,7 @@
"ROWS = 128\n",
"COLS = 128\n",
"CHANNELS = 3\n",
- "TEST_DIR = '/home/dlab-user/test/'\n",
+ "TEST_DIR = '/home/datalab-user/test/'\n",
"all_image_names = os.listdir(TEST_DIR)\n",
"all_image_names.sort()\n",
"test_images = [TEST_DIR+i for i in all_image_names[6:11] + all_image_names[19:32] + all_image_names[33:34]]\n",