Skip to content

Commit 9f0044c

Browse files
committed
improve scripts
1 parent 8a47a9b commit 9f0044c

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

demos/data-lakehouse-iceberg-trino-spark/create-nifi-ingestion-job.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ spec:
2626
- -euo
2727
- pipefail
2828
- -c
29-
- python -u /tmp/script/script.py
29+
- |
30+
python -u /tmp/script/script.py
3031
volumeMounts:
3132
- name: script
3233
mountPath: /tmp/script

demos/data-lakehouse-iceberg-trino-spark/setup-superset.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ spec:
1010
- name: setup-superset
1111
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
1212
command:
13-
- "bash"
14-
- "-c"
15-
- "pipefail"
16-
- "curl -o superset-assets.zip https://raw.githubusercontent.com/stackabletech/demos/main/demos/data-lakehouse-iceberg-trino-spark/superset-assets.zip && python -u /tmp/script/script.py"
13+
- bash
14+
- -euo
15+
- pipefail
16+
- -c
17+
- |
18+
curl -o superset-assets.zip https://raw.githubusercontent.com/stackabletech/demos/main/demos/data-lakehouse-iceberg-trino-spark/superset-assets.zip
19+
python -u /tmp/script/script.py
1720
volumeMounts:
1821
- name: script
1922
mountPath: /tmp/script

0 commit comments

Comments
 (0)