]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
rm date/time tracking 243/head
authorKen Dreyer <kdreyer@redhat.com>
Tue, 24 Nov 2015 16:03:47 +0000 (09:03 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Tue, 24 Nov 2015 16:06:49 +0000 (09:06 -0700)
Prior to this commit, some of the build scripts would print the time and
date to the console log.

As far as I can tell this is a hold-over from the original Gitbuilder
scripts. Jenkins already logs the start and end times for us so there's
no need to clutter the build scripts with this.

Remove the code that prints `date`.

ceph-build/build/build_deb
ceph-build/build/build_rpm
ceph-build/build/setup
ceph-release-rpm/build/build

index cf12fe1c54afe3ab78bdce7b7b251c7e23ea69fe..f558f2d2a0b7713f2b3fd3d8c95e2f1a2453dab9 100644 (file)
@@ -41,7 +41,7 @@ chacra_endpoint="ceph/${chacra_ref}/${distro}/${DIST}/${ARCH}"
 check_binary_existence $chacra_endpoint
 
 HOST=$(hostname --short)
-echo "Building on $(hostname) Date: $(date)"
+echo "Building on $(hostname)"
 echo "  DIST=${DIST}"
 echo "  BPTAG=${BPTAG}"
 echo "  WS=$WORKSPACE"
@@ -107,7 +107,6 @@ releasedir="./release"
 pbuilddir="/srv/debian-base"
 cephver=$vers
 
-start_time=`date`
 echo version $cephver
 
 # This used to live in a *file* on /src/ceph-build. Now it lives here because
@@ -167,13 +166,7 @@ bpvers=`gen_debian_version $dvers $DIST`
 echo lintian checks for $bpvers
 echo lintian --allow-root $releasedir/$cephver/*$bpvers*.deb
 
-echo "Start Time = $start_time"
-echo "  End Time = $(date)"
-
 [ "$FORCE" = true ] && chacra_flags="--force" || chacra_flags=""
 
 # push binaries to chacra
 find release/$vers/ | egrep "*\.(changes|deb|dsc|gz)$" | egrep -v "(Packages|Sources|Contents)" | $VENV/chacractl binary ${chacra_flags} create ${chacra_endpoint}
-
-
-echo "End Date: $(date)"
index 76b59119c8f622df7e933089547601f618d562ab..928ed0511a79ec9ceaff04a1b1aa2bdd2210b203 100644 (file)
@@ -67,7 +67,7 @@ chacra_baseurl="ceph/${chacra_ref}/${DISTRO}/${RELEASE}"
 check_binary_existence $chacra_baseurl/$ARCH
 
 HOST=$(hostname --short)
-echo "Building on $(hostname) Date: $(date)"
+echo "Building on $(hostname)"
 echo "  DIST=${DIST}"
 echo "  BPTAG=${BPTAG}"
 echo "  WS=$WORKSPACE"
@@ -117,5 +117,3 @@ cd "$WORKSPACE"
 # push binaries to chacra
 find release/${vers}/rpm/*/SRPMS | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_baseurl}/source
 find release/${vers}/rpm/*/RPMS/* | grep rpm | $VENV/chacractl binary ${chacra_flags} create ${chacra_baseurl}/${ARCH}
-
-echo "End Date: $(date)"
index 6d7f646b3e31015e2d9a8b589302717a56d95e51..388252bd3dfb546a60167f33cb60bf91b8746d62 100644 (file)
@@ -13,7 +13,7 @@
 #
 set -ex
 HOST=$(hostname --short)
-echo "Building on $(hostname) Date: $(date)"
+echo "Building on $(hostname)"
 echo "  DIST=${DIST}"
 echo "  BPTAG=${BPTAG}"
 echo "  KEYID=${KEYID}"
index f6616b5326a86790ecdbc30f863585d51f31961d..42c036c7c259083081458dc33479b6583dd34346 100644 (file)
@@ -6,7 +6,7 @@ echo "  DIST=${DIST}"
 echo "  BPTAG=${BPTAG}"
 echo "  WS=$WORKSPACE"
 echo "  PWD=$(pwd)"
-echo "Building on Host: $(hostname) Date: $(date)"
+echo "Building on Host: $(hostname)"
 
 # remove any previous builds
 rm -rf dist