summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMichael Chapman <michapma@redhat.com>2016-07-11 21:10:04 -0400
committerMichael Chapman <michapma@redhat.com>2016-07-12 03:40:30 -0400
commit679c5f5ca0e905ccb9b8c67603f068bbff9a506c (patch)
treef533002cc00efc10f7fb5ab8dca6100f62f9ab4e /build
parent23530516f2ceca4f1215140a287016288923ad47 (diff)
Prevent printing remote md5 sum
If the remote file is a binary or other junk, we don't want to print it to the console, so just state it's not a match for now. Add puppet logging hack to help debug CI Change-Id: Ia4717ee0cf7a2fc01299d0819c49218487ffdf15 Signed-off-by: Michael Chapman <michapma@redhat.com>
Diffstat (limited to 'build')
-rw-r--r--build/cache.sh2
-rwxr-xr-xbuild/overcloud-full.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/build/cache.sh b/build/cache.sh
index 123748a2..4d41a7a2 100644
--- a/build/cache.sh
+++ b/build/cache.sh
@@ -60,7 +60,7 @@ function populate_cache {
else
my_md5=$(grep ${filename} $CACHE_DIR/.cache | awk {'print $1'})
if [ "$remote_md5" != "$my_md5" ]; then
- echo "MD5 mismatch: Remote MD5 is ${remote_md5}, Cache file MD5 is ${my_md5}"
+ echo "MD5 mismatch, cache file MD5 is ${my_md5}"
echo "Downloading $filename"
curl_file $1 $filename
else
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index 73709a28..01f40269 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -83,6 +83,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload puppet-congress.tar.gz:/etc/puppet/modules/ \
--run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \
--run-command "cd /usr/lib/python2.7/site-packages/congress/datasources && curl -O $doctor_driver" \
+ --run-command "sed -i \"s/'--detailed-exitcodes',/'--detailed-exitcodes','-l','syslog','-l','console',/g\" /var/lib/heat-config/hooks/puppet" \
-a overcloud-full_build.qcow2
mv -f overcloud-full_build.qcow2 overcloud-full.qcow2