]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-pull-requests: Behave like arm64 job
authorDavid Galloway <dgallowa@redhat.com>
Tue, 25 Feb 2020 00:08:16 +0000 (19:08 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 25 Feb 2020 14:56:57 +0000 (09:56 -0500)
Debugging unit test failures was difficult on x86 jobs because the slave got rebooted right away.

Signed-off-by: David Galloway <dgallowa@redhat.com>
ceph-pull-requests/build/build [new file with mode: 0644]
ceph-pull-requests/config/definitions/ceph-pull-requests.yml

diff --git a/ceph-pull-requests/build/build b/ceph-pull-requests/build/build
new file mode 100644 (file)
index 0000000..bfeef75
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash -ex
+export NPROC=$(nproc)
+timeout 3h ./run-make-check.sh
+sleep 5
+ps -ef | grep ceph || true
index 422ae62672d72adc07a60ab639dff2d0d01841bc..0365728dcc2a49bc70f87eb818ddf666b8716ab8 100644 (file)
           wipe-workspace: true
 
     builders:
-      - shell: "export NPROC=$(nproc); timeout 7200 ./run-make-check.sh"
+    - shell:
+        !include-raw:
+          - ../../../scripts/build_utils.sh
+          - ../../build/build
 
     publishers:
-      - postbuildscript:
-          builders:
-            - role: SLAVE
-              build-on:
-                  - FAILURE
-                  - ABORTED
-              build-steps:
-                - shell: "sudo reboot"
       - cobertura:
           report-file: "src/pybind/mgr/dashboard/frontend/coverage/cobertura-coverage.xml"
           only-stable: "true"