Skip to content

Commit

Permalink
replace redshift references with spark
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Dec 9, 2024
1 parent 78157b1 commit 3cb37d8
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions hatch.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[version]
path = "dbt/adapters/redshift/__version__.py"
path = "dbt/adapters/spark/__version__.py"

[build.targets.sdist]
packages = ["dbt"]
Expand Down Expand Up @@ -32,10 +32,6 @@ setup = "pre-commit install"
code-quality = "pre-commit run --all-files"
unit-tests = "python -m pytest {args:tests/unit}"
integration-tests = "python -m pytest {args:tests/functional}"
docker-dev = [
"docker build -f docker/dev.Dockerfile -t dbt-redshift-dev .",
"docker run --rm -it --name dbt-redshift-dev -v $(shell pwd):/opt/code dbt-redshift-dev",
]
docker-prod = "docker build -f docker/Dockerfile -t dbt-spark ."

[envs.build]
Expand All @@ -53,12 +49,12 @@ check-all = [
]
check-wheel = [
"twine check dist/*",
"find ./dist/dbt_redshift-*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/",
"pip freeze | grep dbt-redshift",
"find ./dist/dbt_spark-*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/",
"pip freeze | grep dbt-spark",
]
check-sdist = [
"check-wheel-contents dist/*.whl --ignore W007,W008",
"find ./dist/dbt_redshift-*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/",
"pip freeze | grep dbt-redshift",
"find ./dist/dbt_spark-*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/",
"pip freeze | grep dbt-spark",
]
docker-prod = "docker build -f docker/Dockerfile -t dbt-redshift ."
docker-prod = "docker build -f docker/Dockerfile -t dbt-spark ."

0 comments on commit 3cb37d8

Please sign in to comment.