]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-build: setup must be performed for both deb and rpm 439/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 25 Aug 2016 21:44:02 +0000 (16:44 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Thu, 25 Aug 2016 21:44:02 +0000 (16:44 -0500)
If we do setup in it's own -shell then the virtualenv created there will
not be used in the other two -shell sections. This is because we
switched from using a standard venv to using one created in a temp
directory.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-build/config/definitions/ceph-build.yml

index bab98e849900d35810366942ba0499cd01308b3b..d759bbfcb4127b4e943af7e83d65e0251ff67453 100644 (file)
           which-build: last-successful
       - inject:
           properties-file: ${WORKSPACE}/dist/sha1
-      # general setup
-      - shell:
-          !include-raw:
-            - ../../../scripts/build_utils.sh
-            - ../../build/setup
       # debian build scripts
       - shell:
           !include-raw:
             - ../../../scripts/build_utils.sh
+            - ../../build/setup
             - ../../build/setup_pbuilder
             - ../../build/build_deb
       # rpm build scripts
       - shell:
           !include-raw:
             - ../../../scripts/build_utils.sh
+            - ../../build/setup
             - ../../build/build_rpm
 
     wrappers: