Commit e0e9383
authored
chore(template): auto-start apps on deploy via lifecycle.started (#454)
Add `lifecycle.started: true` to the scaffolded `databricks.yml` so a
deploy leaves the app running and returns its URL, with no separate
start step. Update the template README to use the single
`databricks apps deploy` command instead of the `bundle deploy` +
`bundle run` two-step.
Resolves the friction where a scaffolded app required a manual
`bundle run` / `apps start` after deploy.
Co-authored-by: Isaac1 parent d772f7c commit e0e9383
2 files changed
Lines changed: 11 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
| 156 | + | |
163 | 157 | | |
164 | 158 | | |
165 | | - | |
| 159 | + | |
166 | 160 | | |
167 | 161 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 162 | + | |
175 | 163 | | |
176 | 164 | | |
177 | 165 | | |
178 | 166 | | |
179 | 167 | | |
180 | 168 | | |
181 | 169 | | |
182 | | - | |
| 170 | + | |
183 | 171 | | |
184 | 172 | | |
| 173 | + | |
| 174 | + | |
185 | 175 | | |
186 | 176 | | |
187 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
0 commit comments