Skip to content

Commit a14a7f9

Browse files
committed
fix
1 parent ca21ca6 commit a14a7f9

File tree

2 files changed

+9
-17
lines changed

2 files changed

+9
-17
lines changed

.github/workflows/onpush.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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: |

Makefile

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff 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

168
pre-commit:
179
pre-commit autoupdate
1810
pre-commit run --all-files
1911

2012
deploy-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

0 commit comments

Comments
 (0)