Browse Source

Add fetch-output to base jobs

This change was added in OpenStack's base job as part of the effort to
provide a standard interface on the remote nodes into which logs can be put
regardless of how they are eventually going to be uploaded.

Change-Id: I07f1a88f357c68d3deeadf7f12b1b77fc4a948f4
changes/75/628975/2
Monty Taylor 4 months ago
parent
commit
b95f12ed8f
No account linked to committer's email address
3 changed files with 10 additions and 2 deletions
  1. 4
    0
      playbooks/base-test/post.yaml
  2. 4
    0
      playbooks/base/post.yaml
  3. 2
    2
      zuul.yaml

playbooks/base-test/post-ssh.yaml → playbooks/base-test/post.yaml View File

@@ -1,3 +1,7 @@
1
+- hosts: all
2
+  roles:
3
+    - fetch-output
4
+
1 5
 - hosts: all
2 6
   roles:
3 7
     - remove-build-sshkey

playbooks/base/post-ssh.yaml → playbooks/base/post.yaml View File

@@ -1,3 +1,7 @@
1
+- hosts: all
2
+  roles:
3
+    - fetch-output
4
+
1 5
 - hosts: all
2 6
   roles:
3 7
     - remove-build-sshkey

+ 2
- 2
zuul.yaml View File

@@ -10,7 +10,7 @@
10 10
 
11 11
       It also sets a default timeout value (which may be overidden).
12 12
     pre-run: playbooks/base/pre.yaml
13
-    post-run: playbooks/base/post-ssh.yaml
13
+    post-run: playbooks/base/post.yaml
14 14
     roles:
15 15
       - zuul: git.zuul-ci.org/zuul-jobs
16 16
     timeout: 1800
@@ -22,7 +22,7 @@
22 22
       A job to test changes to the base job without disturbing the
23 23
       main job in production.  Not for general use.
24 24
     pre-run: playbooks/base-test/pre.yaml
25
-    post-run: playbooks/base-test/post-ssh.yaml
25
+    post-run: playbooks/base-test/post.yaml
26 26
     roles:
27 27
       - zuul: git.zuul-ci.org/zuul-jobs
28 28
     timeout: 1800

Loading…
Cancel
Save