Skip to content

Commit

Permalink
Trino connector-metadata.yaml port to Dockerized update
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinRay97 committed Jan 9, 2025
1 parent 162e5cf commit aeadb7e
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions ndc-connector-trino/.hasura-connector/connector-metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ supportedEnvironmentVariables:
- name: JDBC_URL
description: "The JDBC URL to connect to the database"
commands:
update: |
docker run \
-e JDBC_URL \
-e HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH \
-v ${HASURA_PLUGIN_CONNECTOR_CONTEXT_PATH}:/app/output \
ghcr.io/hasura/ndc-jvm-cli:v1.0.0 update \
--database TRINO \
--schemas $JDBC_SCHEMAS \
--outfile /app/output/configuration.json
update:
type: Dockerized
dockerImage: ghcr.io/hasura/ndc-jvm-cli:v1.0.0
commandArgs: [update, --database, TRINO, --schemas, $JDBC_SCHEMAS, --outfile, /etc/connector/configuration.json]

0 comments on commit aeadb7e

Please sign in to comment.