File tree Expand file tree Collapse file tree
templates/kuttl/client-spooling Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ metadata:
55 name: trino-client-spooling
66spec:
77 image:
8- {% if test_scenario ['values' ]['trino-client-spooling ' ].find ("," ) > 0 %}
9- custom: "{{ test_scenario['values'] ['trino-client-spooling '] .split(',')[1] }}"
10- productVersion: "{{ test_scenario['values'] ['trino-client-spooling '] .split(',')[0] }}"
8+ {% if test_scenario ['values' ]['trino' ].find ("," ) > 0 %}
9+ custom: "{{ test_scenario['values'] ['trino'] .split(',')[1] }}"
10+ productVersion: "{{ test_scenario['values'] ['trino'] .split(',')[0] }}"
1111{% else %}
12- productVersion: "{{ test_scenario['values'] ['trino-client-spooling '] }}"
12+ productVersion: "{{ test_scenario['values'] ['trino'] }}"
1313{% endif %}
1414 pullPolicy: IfNotPresent
1515 clusterConfig:
Original file line number Diff line number Diff line change 99 containers:
1010 - name: test-queries
1111 # image: oci.stackable.tech/sdp/trino-cli:476-stackable0.0.0-dev
12- image: oci.stackable.tech/sdp/trino-cli:{{ test_scenario['values'] ['trino-client-spooling '] }}-stackable0.0.0-dev
12+ image: oci.stackable.tech/sdp/trino-cli:{{ test_scenario['values'] ['trino'] }}-stackable0.0.0-dev
1313 command:
1414 - /bin/bash
1515 - -x
Original file line number Diff line number Diff line change @@ -3,24 +3,17 @@ dimensions:
33 - name : trino-lb
44 values :
55 - oci.stackable.tech/stackable/trino-lb:dev
6- # - oci.stackable.tech/stackable/trino-lb:0.5.0
6+ # - foo:bar
77 - name : trino
88 values :
9- - " 451"
10- # - "470" # Reduce test count
11- - " 476"
9+ - " 477"
10+ - " 479"
1211 # To use a custom image, add a comma and the full name after the product version
1312 # - 470,oci.stackable.tech/sdp/trino:470-stackable0.0.0-dev
1413 # However, watch out, you need to tweak the trino-cli image
1514 - name : trino-latest
1615 values :
17- - " 470"
18- # As not all Trino versions support client spooling, we have an extra dimension
19- - name : trino-client-spooling
20- values :
21- # According to https://docs.stackable.tech/home/nightly/trino/usage-guide/client-spooling-protocol/
22- # > The client spooling protocol was introduced in Trino 466 but it only works reliably starting with Trino 476.
23- - " 476"
16+ - " 479"
2417 - name : trino-lb-https
2518 values :
2619 - " true"
4336 - name : client-spooling
4437 dimensions :
4538 - trino-lb
46- - trino-client-spooling
39+ - trino
4740 - client-spooling-retrieval-mode
4841
4942# TODOS
You can’t perform that action at this time.
0 commit comments