Browse Source

Merge "Collect logs in post-run"

Zuul 7 months ago
parent
commit
74006222a0
1 changed files with 13 additions and 0 deletions
  1. 13
    0
      .zuul.d/playbooks-deploy/post.yml

+ 13
- 0
.zuul.d/playbooks-deploy/post.yml View File

@@ -6,3 +6,16 @@
6 6
       command: "shred -u {{ vault_key_path }}"
7 7
       args:
8 8
         removes: "{{ vault_key_path }}"
9
+    - name: Run the log collection script
10
+      shell: |
11
+        source scripts/scripts-library.sh
12
+        gate_job_exit_tasks
13
+      become: yes
14
+      become_user: root
15
+      args:
16
+        chdir: "{{ lsn_ci_src_path }}/openstack-ansible"
17
+        executable: /bin/bash
18
+      environment:
19
+        GATE_EXIT_LOG_COPY: true
20
+        GATE_LOG_DIR: "{{ lsn_ci_src_path }}/logs"
21
+        GATE_EXIT_RUN_ARA: false

Loading…
Cancel
Save