test-bugzilla-files/config | 2 ++ test-bugzilla-files/zip.sh | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-)
New commits: commit 1ffac41dcad3df14f5c1ea5629a125059308c599 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Wed Sep 1 15:47:53 2021 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Wed Sep 1 15:47:53 2021 +0200 crashtest: allow not uploading at the end This shrinks the amount of typical local changes needed in a dev setup to zero. Change-Id: Ic6ab91a242f33f651cc7b8b34b807a15fe902df7 diff --git a/test-bugzilla-files/config b/test-bugzilla-files/config index a7a30ea..3605bed 100644 --- a/test-bugzilla-files/config +++ b/test-bugzilla-files/config @@ -10,6 +10,8 @@ export USERDIR=/home/$USER/.config # export CRASHTEST_READONLY_DEVTOOLS=1 # Don't send email at the end/on failure: # export CRASHTEST_NO_EMAIL=1 +# Don't upload the results at the end to TDF servers: +# export CRASHTEST_NO_UPLOAD=1 dir=$HOME/source/dev-tools/test-bugzilla-files if [ -e ${dir}/config.local ]; then diff --git a/test-bugzilla-files/zip.sh b/test-bugzilla-files/zip.sh index db0e78a..e5df220 100755 --- a/test-bugzilla-files/zip.sh +++ b/test-bugzilla-files/zip.sh @@ -21,8 +21,10 @@ python analyze-logs.py cp *.csv ../. cd .. zip -r current.zip $SHA/* -scp current.zip upl...@gimli.documentfoundation.org:/srv/www/dev-builds.libreoffice.org/crashtest/. -ssh upl...@gimli.documentfoundation.org unzip -n /srv/www/dev-builds.libreoffice.org/crashtest/current.zip -d /srv/www/dev-builds.libreoffice.org/crashtest +if [ -z "$CRASHTEST_NO_UPLOAD" ]; then + scp current.zip upl...@gimli.documentfoundation.org:/srv/www/dev-builds.libreoffice.org/crashtest/. + ssh upl...@gimli.documentfoundation.org unzip -n /srv/www/dev-builds.libreoffice.org/crashtest/current.zip -d /srv/www/dev-builds.libreoffice.org/crashtest +fi cd /srv/crashtestdata/ if [ -z "$CRASHTEST_NO_EMAIL" ]; then /srv/crashtestdata/sendEmail -t libreoffice@lists.freedesktop.org -u "Crash test update" -m "New crashtest update available at https://dev-builds.libreoffice.org/crashtest/$SHA/" -a logs/*.csv