Skip to content

Commit 7a78e2f

Browse files
committed
Developing DS Code
1 parent d02648f commit 7a78e2f

File tree

11 files changed

+9
-31
lines changed

11 files changed

+9
-31
lines changed

experiments/notebooks/ciaran_experiments/nyc_taxi/nyc_taxi_lgbm_pyfunc_1.ipynb

Lines changed: 0 additions & 1 deletion
This file was deleted.

experiments/notebooks/ciaran_experiments/nyc_taxi/test_function.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

infrastructure/databricks/databricks_utils/bash/utilsCreateAzureResources.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
echo $ENVIRONMENT
44
echo "Ingest JSON File"
5-
JSON=$( jq '.' MLOps/DevOps/Infrastructure/DBX_CICD_Deployment/Bicep_Params/$ENVIRONMENT/Bicep.parameters.json)
5+
JSON=$( jq '.' infrastructure/bicep/params/$ENVIRONMENT/bicep.parameters.json)
66

77
TemplateParamFilePath=$( jq -r '.parameters.TemplateParamFilePath.value' <<< "$JSON")
88
echo "Parm File Path: $TemplateParamFilePath"

infrastructure/databricks/databricks_utils/bash/utilsCreateRepoFolder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
echo "Ingest JSON File"
2-
JSON=$( jq '.' mlOps/devOps/params/$ENVIRONMENT/repos.json)
2+
JSON=$( jq '.' infrastructure/databricks/databricks_configs/$ENVIRONMENT/repos.json)
33

44
#echo "${JSON}" | jq
55

infrastructure/databricks/databricks_utils/bash/utilsCreateRoleBasedAccess.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ echo "ENVIRONMENT: $ENVIRONMENT"
66
RESOURCE_GROUP_ID=$( az group show -n $RESOURCE_GROUP_NAME --query id -o tsv )
77

88
echo "Ingest JSON File"
9-
JSON=$( jq '.' mlOps/devOps/params/$ENVIRONMENT/rbac.json)
9+
JSON=$( jq '.' infrastructure/databricks/databricks_configs/$ENVIRONMENT/rbac.json)
1010
#echo "${JSON}" | jq
1111

1212
for row in $(echo "${JSON}" | jq -r '.RBAC_Assignments[] | @base64'); do

infrastructure/databricks/databricks_utils/bash/utilsRepoPull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ REPOS_WITH_MANAGEMENT_PERMISSIONS=$(curl -X GET \
77

88

99
echo "Ingest JSON File"
10-
JSON=$( jq '.' mlOps/devOps/params/$ENVIRONMENT/repos.json)
10+
JSON=$( jq '.' infrastructure/databricks/databricks_configs/$ENVIRONMENT/repos.json)
1111
for row in $(echo "${JSON}" | jq -r '.Repo_Configuration[] | @base64'); do
1212
_jq() {
1313
echo ${row} | base64 --decode | jq -r ${1}

infrastructure/databricks/databricks_utils/bash/utilsSetEnvVariables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
echo $ENVIRONMENT
55

66
echo "Ingest JSON File"
7-
JSON=$( jq '.' mlOps/devOps/infra/master_templates/params/$ENVIRONMENT/bicep.parameters.json)
7+
JSON=$( jq '.' infrastructure/bicep/params/$ENVIRONMENT/bicep.parameters.json)
88

99

1010
RESOURCE_GROUP_NAME=$( jq -r '.parameters.resourceGroupName.value' <<< "$JSON")

infrastructure/databricks/databricks_utils/python/utils_create_cluster.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _ingest_cluster_param_file(filename):
3030

3131
def create_clusters():
3232
ENVIRONMENT = os.environ.get("ENVIRONMENT")
33-
cluster_param_file = _ingest_cluster_param_file('mlOps/devOps/params/' + ENVIRONMENT + '/clusters.json')
33+
cluster_param_file = _ingest_cluster_param_file('infrastructure/databricks/databricks_configs/' + ENVIRONMENT + '/clusters.json')
3434
existing_clusters, _ = _list_existing_clusters()
3535
existing_clusters_name_arr = _get_cluster_names(existing_clusters)
3636
print(existing_clusters_name_arr)

infrastructure/databricks/databricks_utils/python/utils_create_repo_folder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def main():
6868

6969
ENVIRONMENT = os.environ.get("ENVIRONMENT")
7070

71-
file_name = 'mlOps/devOps/params/' + ENVIRONMENT + '/repos.json'
71+
file_name = 'infrastructure/databricks/databricks_configs/' + ENVIRONMENT + '/repos.json'
7272
repo_param_file = _ingest_repo_param_file(file_name)
7373

7474
# Extract array from Json object

infrastructure/databricks/databricks_utils/python/utils_git_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def configureGit(gitConfig, workspaceId, databricksInstance, bearerToken, manage
4242

4343
if __name__ == "__main__":
4444

45-
with open('mlOps/devOps/params/' + os.environ['ENVIRONMENT'] +'/repos.json', 'r') as f:
45+
with open('infrastructure/databricks/databricks_configs/' + os.environ['ENVIRONMENT'] +'/repos.json', 'r') as f:
4646
json = json.load(f)
4747

4848
gitConfigs = json['Git_Configuration']

0 commit comments

Comments
 (0)