Skip to content

Commit 7b45d42

Browse files
committed
Setting proxy for rally container.
1 parent a7de3ab commit 7b45d42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ansible/kayobe-automation-run-tempest.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@
139139
--env TEMPEST_CONF_OVERRIDES="$TEMPEST_CONF_OVERRIDES"
140140
--env TEMPEST_NO_PROXY_EXTRA
141141
--env RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES
142+
{% if lookup('env', 'TEMPEST_HTTP_PROXY') != '' -%}
143+
--env TEMPEST_HTTP_PROXY
144+
{% endif -%}
145+
{% if lookup('env', 'TEMPEST_HTTPS_PROXY') != '' -%}
146+
--env TEMPEST_HTTPS_PROXY
147+
{% endif -%}
142148
{% if tempest_load_list_path is defined -%}
143149
-v {{ load_list_path_remote }}:/home/rally/tempest-load-list:rw
144150
{% endif -%}
@@ -162,6 +168,8 @@
162168
TEMPEST_OPENRC: "{{ lookup('env', 'TEMPEST_OPENRC') }}"
163169
TEMPEST_CONF_OVERRIDES: "{{ lookup('env', 'TEMPEST_CONF_OVERRIDES') }}"
164170
TEMPEST_NO_PROXY_EXTRA: "{{ lookup('env', 'TEMPEST_NO_PROXY_EXTRA') }}"
171+
TEMPEST_HTTP_PROXY: http://usprivatezen.astrazeneca.net:9480
172+
TEMPEST_HTTPS_PROXY: http://usprivatezen.astrazeneca.net:9480
165173
RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES: "{{ lookup('env', 'RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES') }}"
166174
no_log: "{{ rally_no_sensitive_log }}"
167175
register: docker_result

0 commit comments

Comments
 (0)