File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
tests/templates/kuttl/logging Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,11 @@ metadata:
66timeout: 480
77commands:
88{% if test_scenario ['values' ]['airflow' ].find ("," ) > 0 %}
9- - script: |
10- kubectl exec -n $NAMESPACE test-airflow-python-0 -- python /tmp/health.py --role-group automatic-log-config --airflow-version "{{ test_scenario['values'] ['airflow'] .split(',')[0] }}"
11- kubectl exec -n $NAMESPACE test-airflow-python-0 -- python /tmp/health.py --role-group custom-log-config --airflow-version "{{ test_scenario['values'] ['airflow'] .split(',')[0] }}"
9+ {% set airflow_version = test_scenario ['values' ]['airflow' ].split (',' )[0] %}
1210{% else %}
13- - script: |
14- kubectl exec -n $NAMESPACE test-airflow-python-0 -- python /tmp/health.py --role-group automatic-log-config --airflow-version "{{ test_scenario['values'] ['airflow'] }}"
15- kubectl exec -n $NAMESPACE test-airflow-python-0 -- python /tmp/health.py --role-group custom-log-config --airflow-version "{{ test_scenario['values'] ['airflow'] }}"
11+ {% set airflow_version = test_scenario ['values' ]['airflow' ] %}
1612{% endif %}
13+ - script: |
14+ kubectl exec -n $NAMESPACE test-airflow-python-0 -- python /tmp/health.py --role-group automatic-log-config --airflow-version "{{ airflow_version }}"
15+ kubectl exec -n $NAMESPACE test-airflow-python-0 -- python /tmp/health.py --role-group custom-log-config --airflow-version "{{ airflow_version }}"
1716
You can’t perform that action at this time.
0 commit comments