diff --git a/acceptance/bundle/config-remote-sync/job_multiple_tasks/output.txt b/acceptance/bundle/config-remote-sync/job_multiple_tasks/output.txt index f3350a057f..e1f51e2833 100644 --- a/acceptance/bundle/config-remote-sync/job_multiple_tasks/output.txt +++ b/acceptance/bundle/config-remote-sync/job_multiple_tasks/output.txt @@ -69,15 +69,17 @@ Deploying resources... Updating deployment state... Deployment complete! -=== Rename b_task to b_task_renamed (4 tasks, 2 with depends_on, 1 without) +=== Rename b_task, replace a_task notebook_path, add synced_task === Detect task key rename Detected changes in 1 resource(s): Resource: resources.jobs.rename_task_job + tasks[task_key='a_task'].notebook_task.notebook_path: replace tasks[task_key='b_task']: remove tasks[task_key='b_task_renamed']: add tasks[task_key='c_task'].depends_on[0].task_key: replace tasks[task_key='d_task'].depends_on[0].task_key: replace + tasks[task_key='synced_task']: add @@ -114,6 +116,22 @@ Resource: resources.jobs.rename_task_job + - task_key: b_task_renamed notebook_task: notebook_path: /Users/{{workspace_user_name}}/c_task +@@ -67,7 +67,14 @@ + - task_key: a_task + notebook_task: +- notebook_path: /Users/{{workspace_user_name}}/a_task ++ notebook_path: ./synced_notebook.py + new_cluster: + spark_version: 13.3.x-snapshot-scala2.12 + node_type_id: [NODE_TYPE_ID] + num_workers: 1 ++ - new_cluster: ++ node_type_id: [NODE_TYPE_ID] ++ num_workers: 1 ++ spark_version: 13.3.x-snapshot-scala2.12 ++ notebook_task: ++ notebook_path: ./synced_notebook.py ++ task_key: synced_task >>> [CLI] bundle destroy --auto-approve The following resources will be deleted: diff --git a/acceptance/bundle/config-remote-sync/job_multiple_tasks/script b/acceptance/bundle/config-remote-sync/job_multiple_tasks/script index be6d61a4df..10103acb18 100755 --- a/acceptance/bundle/config-remote-sync/job_multiple_tasks/script +++ b/acceptance/bundle/config-remote-sync/job_multiple_tasks/script @@ -52,9 +52,9 @@ mv databricks.yml.resolved databricks.yml # Deploy the updated configuration to sync state $CLI bundle deploy -title "Rename b_task to b_task_renamed (4 tasks, 2 with depends_on, 1 without)" +title "Rename b_task, replace a_task notebook_path, add synced_task" rename_job_id="$(read_id.py rename_task_job)" -edit_resource.py jobs $rename_job_id <<'EOF' +edit_resource.py jobs $rename_job_id <