diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f179cc0..e99cb6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: matrix: type: - "trino" + - "starburst" steps: - name: Checkout diff --git a/Makefile b/Makefile index 8e226e1..b5cf0b6 100644 --- a/Makefile +++ b/Makefile @@ -3,4 +3,11 @@ dbt-trino-tests: ./docker/dbt/build.sh ./docker/init_trino.bash ./docker/run_dbt_utils_integration_tests.bash - ./docker/remove_trino.bash \ No newline at end of file + ./docker/remove_trino.bash + +dbt-starburst-tests: + docker network create dbt-net || true + ./docker/dbt/build.sh + ./docker/init_starburst.bash + ./docker/run_dbt_utils_integration_tests.bash + ./docker/remove_starburst.bash diff --git a/docker-compose-starburst.yml b/docker-compose-starburst.yml new file mode 100755 index 0000000..c63d328 --- /dev/null +++ b/docker-compose-starburst.yml @@ -0,0 +1,14 @@ +version: "3.5" +services: + trino: + ports: + - "8080:8080" + image: "starburstdata/starburst-enterprise:379-e" + volumes: + - ./docker/starburst/etc:/etc/starburst + - ./docker/starburst/catalog:/etc/starburst/catalog + +networks: + default: + external: + name: dbt-net diff --git a/docker/starburst/catalog/postgresql.properties b/docker/starburst/catalog/postgresql.properties deleted file mode 100644 index 90527b9..0000000 --- a/docker/starburst/catalog/postgresql.properties +++ /dev/null @@ -1,4 +0,0 @@ -connector.name=postgresql -connection-url=jdbc:postgresql://postgres:5432/dbt-trino -connection-user=dbt-trino -connection-password=dbt-trino diff --git a/docker/trino/catalog/postgresql.properties b/docker/trino/catalog/postgresql.properties deleted file mode 100644 index 90527b9..0000000 --- a/docker/trino/catalog/postgresql.properties +++ /dev/null @@ -1,4 +0,0 @@ -connector.name=postgresql -connection-url=jdbc:postgresql://postgres:5432/dbt-trino -connection-user=dbt-trino -connection-password=dbt-trino