summaryrefslogtreecommitdiff
path: root/tools/playbooks/cors/post.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/playbooks/cors/post.yaml')
-rw-r--r--tools/playbooks/cors/post.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/playbooks/cors/post.yaml b/tools/playbooks/cors/post.yaml
new file mode 100644
index 000000000..b0e4ba438
--- /dev/null
+++ b/tools/playbooks/cors/post.yaml
@@ -0,0 +1,25 @@
+- hosts: all
+ become: true
+ tasks:
+ - name: Copy geckodriver log from worker nodes to executor node
+ synchronize:
+ src: '{{ ansible_env.HOME }}/geckodriver.log'
+ dest: '{{ zuul.executor.log_root }}'
+ mode: pull
+ copy_links: true
+ verify_host: true
+
+ - name: Copy CORS tests output from worker nodes to executor node
+ synchronize:
+ src: '{{ ansible_env.HOME }}/cors-test-results.txt'
+ dest: '{{ zuul.executor.log_root }}'
+ mode: pull
+ copy_links: true
+ verify_host: true
+
+ - zuul_return:
+ data:
+ zuul:
+ artifacts:
+ - name: CORS test results
+ url: cors-test-results.txt