File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 126
126
# and allow us to execute all tests from a single host.
127
127
# https://testinfra.readthedocs.io/en/latest/backends.html#connection-backends
128
128
- name : Run StackHPC Cloud host tests
129
- ansible.builtin.shell :
130
- cmd : |
129
+ ansible.builtin.command :
130
+ cmd : >
131
131
{{ sct_venv }}/bin/py.test
132
132
--html={{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
133
133
--self-contained-html
134
134
--timeout {{ sct_timeout }}
135
135
-vv
136
- "{{ repo_tmpdir.path }}/stackhpc_cloud_tests/host";
137
- chmod 644 {{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
136
+ "{{ repo_tmpdir.path }}/stackhpc_cloud_tests/host"
137
+ # chmod 644 {{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
138
138
environment :
139
139
DOCKER_VERSION_MIN : " {{ sct_docker_version_min }}"
140
140
DOCKER_VERSION_MAX : " {{ sct_docker_version_max }}"
150
150
when : " 'overcloud' in group_names"
151
151
# Some checks may need root hence we chmod the resulting html for reading
152
152
become : true
153
+ # Host test results will be owned by root and unreadable - fix this
154
+ - name : Make StackHPC Cloud host test results readable
155
+ ansible.builtin.command :
156
+ cmd : chmod 644 {{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
157
+ become : true
153
158
154
159
always :
155
160
- name : Synchronize results
You can’t perform that action at this time.
0 commit comments