Commit 82cbfee
authored
pipeline deploy: pipeline CLI prints url of resources it deploys (#3302)
## Changes
Load URLs and print them to the output upon deploy, in sorted order by
resource key per group.
Done for all resources, as all resources have a URL.
## Why
Make it easy for users to open the pipeline upon deploy.
## Tests
Updated tests to reflect new URL.
Example output:
`Recommendation: define a single pipeline in a file with the
.pipeline.yml extension.
at resources.pipelines.my_project_pipeline
resources.pipelines.my_project_pipeline_2
in my_project.pipeline.yml:14:7
my_project.pipeline.yml:4:7
The following resources are defined or configured in this file:
- my_project_pipeline (pipeline)
- my_project_pipeline_2 (pipeline)
Uploading bundle files to
/Workspace/Users/[email protected]/.bundle/my_project/dev/files...
Deploying resources...
Updating deployment state...
Deployment complete!
View your pipeline my_project_pipeline here:
https://e2-dogfood.staging.cloud.databricks.com/pipelines/30a51637-aa02-45f8-845f-58aa90f9cac4?o=6051921418418893
View your pipeline my_project_pipeline_2 here:
https://e2-dogfood.staging.cloud.databricks.com/pipelines/d2934f55-a952-47d3-aa7e-74961412cbf8?o=6051921418418893
`1 parent 39cc564 commit 82cbfee
File tree
20 files changed
+37
-0
lines changed- acceptance/pipelines
- deploy
- auto-approve
- create-pipeline
- fail-on-active-runs
- force-lock
- render-diagnostics-warning
- var-flag
- destroy
- auto-approve
- destroy-pipeline
- force-lock
- dry-run
- dry-run-pipeline
- no-wait
- restart
- e2e
- open
- run
- no-wait
- refresh-flags
- restart
- run-pipeline
- stop
- cmd/pipelines
20 files changed
+37
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments