File tree Expand file tree Collapse file tree 2 files changed +9
-17
lines changed
Expand file tree Collapse file tree 2 files changed +9
-17
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 dev
36+ - name : Deploy on ci
3737 run : |
38- make deploy-dev
38+ make deploy-ci
3939
40- - name : Run dev
40+ - name : Run ci
4141 run : |
42- make run-dev
42+ make run-ci
4343
4444 - name : Deploy on prod
4545 run : |
Original file line number Diff line number Diff line change @@ -4,26 +4,18 @@ install:
44 pipenv install packages
55 pipenv run pytest tests/
66 pipenv run pip list
7- pipenv shell
8-
9- install-ci :
10- python3 -m pip install --upgrade pip
11- pip install pipenv
12- pipenv install
13- pytest tests/
14- pip list
157
168pre-commit :
179 pre-commit autoupdate
1810 pre-commit run --all-files
1911
2012deploy-dev :
2113 python ./scripts/generate_template_workflow.py dev
22- databricks bundle deploy --target dev
23-
24- run-dev :
2514 databricks bundle run default_python_job --target dev
2615
27- deploy-ci :
28- pipenv run python ./scripts/generate_template_workflow.py prod
16+ deploy-run-ci :
17+ pipenv run python ./scripts/generate_template_workflow.py stag
18+ pipenv run databricks bundle deploy --target stag
19+
20+ deploy-prod :
2921 pipenv run databricks bundle deploy --target prod
You can’t perform that action at this time.
0 commit comments