Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dbt-spark/dagger/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
beartype<0.18.0
gql[httpx]~=3.5.0
dagger-io~=0.9.7
python-dotenv
2 changes: 1 addition & 1 deletion dbt-spark/dagger/run_dbt_spark_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async def test_spark(test_args):
)

elif test_args.profile == "spark_session":
tst_container = tst_container.with_exec(["apt-get", "install", "openjdk-17-jre", "-y"])
tst_container = tst_container.with_exec(["./scripts/install_jdk.sh"])

# run the tests
result = (
Expand Down
4 changes: 4 additions & 0 deletions dbt-spark/dagger/scripts/install_jdk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -eo
apt-get update && apt-get install -y \
default-jdk
1 change: 0 additions & 1 deletion dbt-spark/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ features=["all"]
[envs.default.scripts]
setup = [
"pre-commit install",
"cp -n test.env.example test.env",
"pip install -r dagger/requirements.txt",
]
code-quality = "pre-commit run --all-files"
Expand Down