]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: no need to write the build_info file during setup 503/head
authorAndrew Schoen <aschoen@redhat.com>
Mon, 3 Oct 2016 18:34:46 +0000 (13:34 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Mon, 3 Oct 2016 18:34:46 +0000 (13:34 -0500)
This is now done in scripts/build_utils whenever a status is posted to
shaman.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
ceph-dev-build/build/setup_deb
ceph-dev-build/build/setup_rpm

index 3db37dfca4d2bb93cb8c3f2357655f9b9b2be76c..8f8e5daee3fa9f9786939a0296d8b4d6712e27ec 100644 (file)
@@ -99,15 +99,6 @@ NORMAL_DISTRO=$distro
 NORMAL_DISTRO_VERSION=$DIST
 NORMAL_ARCH=$ARCH
 
-# Write these values to a file so the failure
-# script can consume them if the build fails
-cat > $WORKSPACE/build_info << EOF
-NORMAL_DISTRO=$distro
-NORMAL_DISTRO_VERSION=$DIST
-NORMAL_ARCH=$ARCH
-SHA1=$SHA1
-EOF
-
 # create build status in shaman
 create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
 
index cc1ee3bc03082748744ac6502f8d273f1fcbc946..4538424820b0bf16df11e8d2d7764a5a26e5b303 100644 (file)
@@ -107,15 +107,6 @@ NORMAL_DISTRO=$DISTRO
 NORMAL_DISTRO_VERSION=$RELEASE
 NORMAL_ARCH=$ARCH
 
-# Write these values to a file so the failure
-# script can consume them if the build fails
-cat > $WORKSPACE/build_info << EOF
-NORMAL_DISTRO=$DISTRO
-NORMAL_DISTRO_VERSION=$RELEASE
-NORMAL_ARCH=$ARCH
-SHA1=$SHA1
-EOF
-
 # create build status in shaman
 create_build_status "started" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH