File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ jobs:
3333 pipenv run curl -fsSL https://raw.githubusercontent.com/databricks/setup-cli/main/install.sh | sh
3434 pipenv run databricks --version
3535
36- - name : Deploy on ci
36+ - name : Deploy on staging
3737 run : |
38- make deploy-ci
38+ make deploy-staging
3939
40- - name : Run ci
40+ - name : Run on staging
4141 run : |
42- make run-ci
42+ make run-staging
4343
4444 - name : Deploy on prod
4545 run : |
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ deploy-dev:
1313 python ./scripts/generate_template_workflow.py dev
1414 databricks bundle deploy --target dev
1515
16- deploy-ci :
17- pipenv run python ./scripts/generate_template_workflow.py ci
18- pipenv run databricks bundle deploy --target ci
16+ deploy-staging :
17+ pipenv run python ./scripts/generate_template_workflow.py staging
18+ pipenv run databricks bundle deploy --target staging
1919
20- run-ci :
21- pipenv run databricks bundle run --target ci
20+ run-staging :
21+ pipenv run databricks bundle run --target staging
2222
2323deploy-prod :
2424 pipenv run python ./scripts/generate_template_workflow.py prod
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ targets:
3030
3131 # Optionally, there could be a 'staging' target here.
3232 # (See Databricks docs on CI/CD at https://docs.databricks.com/dev-tools/bundles/index.html.)
33- #
34- # staging:
35- # workspace:
36- # host: https://myworkspace.databricks.com
33+
34+ staging :
35+ workspace :
36+ profile : dev
3737
3838 # The 'prod' target, used for production deployment.
3939 prod :
You can’t perform that action at this time.
0 commit comments