-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #269 from jembi/tb-397-remove-jembi-superset-depen…
…dency TB-397 remove jembi superset dependency
- Loading branch information
Showing
10 changed files
with
124 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
#!/bin/bash | ||
TAG_NAME=${1:-latest} | ||
|
||
# We did not specify a tag so try and use the tag in the config.yaml if present | ||
if [ -z "$1" ]; then | ||
# we grep out 'image: jembi/platform:2.x' from which we cut on : and choose the last column | ||
# this will always be the image tag or an empty string | ||
ImageTag=$(grep 'image:' ${PWD}/config.yaml | cut -d : -f 3) | ||
# only overwrite TAG_NAME if we have a tag present, and it's not just the base image name | ||
if [ -n "$ImageTag" ]; then | ||
TAG_NAME=${ImageTag} | ||
fi | ||
fi | ||
|
||
docker build -t jembi/platform:"$TAG_NAME" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
psycopg2>=2.9.9 | ||
clickhouse-connect>=0.7.0 | ||
flask-oidc>=1.3.0 | ||
itsdangerous>=2.0.1 | ||
flask_openid>=1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
dashboard-visualiser-superset/docker-compose.postgres.cluster.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: '3.9' | ||
|
||
services: | ||
postgres-metastore: | ||
deploy: | ||
placement: | ||
constraints: | ||
- "node.labels.name==node-2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: "3.9" | ||
|
||
services: | ||
postgres-metastore: | ||
image: postgres:16.2 | ||
environment: | ||
POSTGRES_USER: ${SUPERSET_POSTGRESQL_USERNAME} | ||
POSTGRES_PASSWORD: ${SUPERSET_POSTGRESQL_PASSWORD} | ||
POSTGRES_DB: ${SUPERSET_POSTGRESQL_DATABASE} | ||
volumes: | ||
- "superset-postgres-data:/var/lib/postgresql/data" | ||
deploy: | ||
replicas: 1 | ||
resources: | ||
limits: | ||
memory: ${SUPERSET_POSTGRES_MEMORY_LIMIT} | ||
networks: | ||
default: | ||
|
||
volumes: | ||
superset-postgres-data: | ||
|
||
networks: | ||
default: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-8.31 KB
(9.1%)
dashboard-visualiser-superset/importer/config/superset-export.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters