File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 72
72
ansible.builtin.stat :
73
73
path : " {{ repo_tmpdir.path }}/stackhpc_cloud_tests/monitoring"
74
74
register : stackhpc_cloud_monitoring_tests
75
+
75
76
- name : Run StackHPC Cloud monitoring tests
76
77
ansible.builtin.command :
77
78
cmd : >
121
122
# remote test execution? That would place all results in a single file
122
123
# and allow us to execute all tests from a single host.
123
124
# https://testinfra.readthedocs.io/en/latest/backends.html#connection-backends
124
- - name : Check for StackHPC Cloud monitoring tests
125
+ - name : Check for StackHPC Cloud host tests
125
126
ansible.builtin.stat :
126
127
path : " {{ repo_tmpdir.path }}/stackhpc_cloud_tests/host"
127
128
register : stackhpc_cloud_host_tests
129
+
128
130
- name : Run StackHPC Cloud host tests
129
131
ansible.builtin.command :
130
132
cmd : >
134
136
--timeout {{ sct_timeout }}
135
137
-vv
136
138
"{{ repo_tmpdir.path }}/stackhpc_cloud_tests/host"
137
- # chmod 644 {{ results_tmpdir.path }}/host-{{ inventory_hostname }}.html
138
139
environment :
139
140
DOCKER_VERSION_MIN : " {{ sct_docker_version_min }}"
140
141
DOCKER_VERSION_MAX : " {{ sct_docker_version_max }}"
150
151
# Some host checks may need to run as root
151
152
become : true
152
153
when : " 'overcloud' in group_names and stackhpc_cloud_host_tests.stat.exists"
154
+
153
155
# Host test results will be owned by root - we need to read and delete them
154
156
- name : Change permissions on SCT host test results
155
157
ansible.builtin.command :
167
169
recursive : true
168
170
# For jump host
169
171
use_ssh_args : true
172
+
170
173
- name : Write a file containing failed test runs
171
174
ansible.builtin.copy :
172
175
content : |-
You can’t perform that action at this time.
0 commit comments