Skip to content

Commit

Permalink
Setting proxy for rally container.
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorzkoper committed Jan 9, 2025
1 parent a7de3ab commit 7b45d42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ansible/kayobe-automation-run-tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@
--env TEMPEST_CONF_OVERRIDES="$TEMPEST_CONF_OVERRIDES"
--env TEMPEST_NO_PROXY_EXTRA
--env RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES
{% if lookup('env', 'TEMPEST_HTTP_PROXY') != '' -%}
--env TEMPEST_HTTP_PROXY
{% endif -%}
{% if lookup('env', 'TEMPEST_HTTPS_PROXY') != '' -%}
--env TEMPEST_HTTPS_PROXY
{% endif -%}
{% if tempest_load_list_path is defined -%}
-v {{ load_list_path_remote }}:/home/rally/tempest-load-list:rw
{% endif -%}
Expand All @@ -162,6 +168,8 @@
TEMPEST_OPENRC: "{{ lookup('env', 'TEMPEST_OPENRC') }}"
TEMPEST_CONF_OVERRIDES: "{{ lookup('env', 'TEMPEST_CONF_OVERRIDES') }}"
TEMPEST_NO_PROXY_EXTRA: "{{ lookup('env', 'TEMPEST_NO_PROXY_EXTRA') }}"
TEMPEST_HTTP_PROXY: http://usprivatezen.astrazeneca.net:9480
TEMPEST_HTTPS_PROXY: http://usprivatezen.astrazeneca.net:9480
RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES: "{{ lookup('env', 'RALLY_CONF_ENABLE_CREATE_TEMPEST_RESOURCES') }}"
no_log: "{{ rally_no_sensitive_log }}"
register: docker_result
Expand Down

0 comments on commit 7b45d42

Please sign in to comment.