Skip to content

Commit

Permalink
Merge pull request #70 from stackhpc/tempest_proxy_support
Browse files Browse the repository at this point in the history
(feat) Add proxy support to Tempest container
  • Loading branch information
grzegorzkoper authored Jan 10, 2025
2 parents a7de3ab + abc26f1 commit b1e634f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ansible/kayobe-automation-run-tempest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@
--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 HTTP_PROXY="$TEMPEST_HTTP_PROXY"
{% endif %}
{% if lookup('env', 'TEMPEST_HTTPS_PROXY') %}
--env HTTPS_PROXY="$TEMPEST_HTTPS_PROXY"
{% endif %}
{% if lookup('env', 'TEMPEST_NO_PROXY') %}
--env NO_PROXY="$TEMPEST_NO_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 +171,9 @@
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_NO_PROXY: "{{ lookup('env', 'TEMPEST_NO_PROXY') }}"
TEMPEST_HTTP_PROXY: "{{ lookup('env', 'TEMPEST_HTTP_PROXY') }}"
TEMPEST_HTTPS_PROXY: "{{ lookup('env', 'TEMPEST_HTTPS_PROXY') }}"
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 b1e634f

Please sign in to comment.