|
105 | 105 | block: |
106 | 106 | # Temporal - tobiko installation task |
107 | 107 | - name: tobiko installation |
108 | | - ansible.builtin.shell: | |
109 | | - ssh ${OS_CLOUD_IP} "set -o pipefail && mkdir -p ~/src/x && cd ~/src/x && git clone https://github.com/redhat-openstack/tobiko.git" |
| 108 | + ansible.builtin.shell: > |
| 109 | + ssh ${OS_CLOUD_IP} "set -o pipefail && mkdir -p ~/src/x && cd ~/src/x && |
| 110 | + git clone https://github.com/redhat-openstack/tobiko.git && |
| 111 | + cd tobiko && git checkout {{ tobiko_version }}" |
110 | 112 |
|
111 | 113 | - name: oc undercloud installation |
112 | 114 | ansible.builtin.shell: > |
|
134 | 136 |
|
135 | 137 | - name: Add tobiko.conf to the undercloud |
136 | 138 | delegate_to: "{{ standalone_ip | default(edpm_node_ip) }}" |
137 | | - vars: |
138 | | - tobiko_conf_file: | |
139 | | - [DEFAULT] |
140 | | - log_dir = /home/zuul/src/x/tobiko/report |
141 | | - log_file = tobiko.log |
142 | | - debug = true |
143 | | - [testcase] |
144 | | - test_runner_timeout = 14400.0 |
145 | | - timeout = 1800.0 |
146 | | - [advanced_vm] |
147 | | - image_url = "kaplonski.pl/files/Customized-Fedora-Cloud-Base-Generic-41-1.4.x86_64.qcow2" |
148 | | - username: fedora |
149 | | - [tripleo] |
150 | | - undercloud_ssh_hostname = undercloud |
151 | | - undercloud_ssh_username = zuul |
152 | | - run_background_ping_in_pod = true |
153 | | - [keystone] |
154 | | - interface = public |
155 | | - [neutron] |
156 | | - custom_mtu_size = 1292 |
157 | | - [podified] |
158 | | - iperf3_image: 'quay.io/skaplons/iperf3:latest' |
159 | 139 | ansible.builtin.copy: |
160 | 140 | mode: a+r |
161 | 141 | content: "{{ tobiko_conf_file }}" |
|
165 | 145 | delegate_to: "{{ standalone_ip | default(edpm_node_ip) }}" |
166 | 146 | ansible.builtin.shell: |
167 | 147 | chdir: ~/src/x/tobiko/ |
168 | | - cmd: ansible-playbook tobiko-playbook.yaml -e test_workflow=create-resources -e pytest_addopts_global="--skipregex='TestFloatingIPLogging|ExtraDhcpOptsPortLoggingTest|NoFipPortTest|StatelessSecurityGroupInstanceTest|StatelessSecurityGroupTest|migrate_server|qos|create_share|extend_share'" |
| 148 | + cmd: > |
| 149 | + ansible-playbook tobiko-playbook.yaml |
| 150 | + -e test_workflow={{ tobiko_test_workflow }} |
| 151 | + {% if tobiko_pytest_addopts -%} |
| 152 | + -e pytest_addopts_global="{{ tobiko_pytest_addopts }}" |
| 153 | + {% endif -%} |
169 | 154 |
|
170 | 155 | - name: copy keys from undercloud for tobiko |
171 | 156 | ansible.builtin.shell: | |
|
0 commit comments