You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2020/01/03 14:37:54 UTC
[openwhisk] branch master updated: disable log upload for perf run
due to large log size (#4784)
This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git
The following commit(s) were added to refs/heads/master by this push:
new 48d7a2f disable log upload for perf run due to large log size (#4784)
48d7a2f is described below
commit 48d7a2f2bb43b50a526e3a50b64654385f0f5d31
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Fri Jan 3 09:36:53 2020 -0500
disable log upload for perf run due to large log size (#4784)
---
tools/travis/checkAndUploadLogs.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tools/travis/checkAndUploadLogs.sh b/tools/travis/checkAndUploadLogs.sh
index 781c4a1..36ce72a 100755
--- a/tools/travis/checkAndUploadLogs.sh
+++ b/tools/travis/checkAndUploadLogs.sh
@@ -31,6 +31,13 @@ LOG_NAME=$1
TAGS=${2-""}
LOG_TAR_NAME="${LOG_NAME}_${TRAVIS_BUILD_ID}-$TRAVIS_BRANCH.tar.gz"
+# Perf logs are typically about 20MB and thus rapidly fill our box account.
+# Disable upload to reduce the interval at which we need to manually clean logs from box.
+if [ "$LOG_NAME" == "perf" ]; then
+ echo "Skipping upload of perf logs to conserve space"
+ exit 0
+fi
+
ansible-playbook -i ansible/environments/local ansible/logs.yml
./tools/build/checkLogs.py logs "$TAGS"