From 21581a4e8b7d63cd244e51d4b9bb29583221330c Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 23 Jul 2020 14:44:28 -0700 Subject: [PATCH] devops: fix buildbot names --- browser_patches/buildbots/buildbot-ubuntu-18.04.sh | 14 +++++++------- browser_patches/buildbots/buildbot-ubuntu-20.04.sh | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/browser_patches/buildbots/buildbot-ubuntu-18.04.sh b/browser_patches/buildbots/buildbot-ubuntu-18.04.sh index de05290e70..61791f058c 100755 --- a/browser_patches/buildbots/buildbot-ubuntu-18.04.sh +++ b/browser_patches/buildbots/buildbot-ubuntu-18.04.sh @@ -49,19 +49,19 @@ mkdir -p $LOCKDIR trap "rm -rf ${LOCKDIR}; cd $(pwd -P); exit" INT TERM EXIT cd "$(dirname "$0")" -IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; -if ! [[ -f $IS_FIRST_RUN_FILE ]]; then - source ./send_telegram_message.sh - send_telegram_message '**Linux Buildbot Is Active**' -fi -touch "$IS_FIRST_RUN_FILE" - # Check if git repo is dirty. if [[ -n $(git status -s) ]]; then echo "ERROR: dirty GIT state - commit everything and re-run the script." exit 1 fi +IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; +if ! [[ -f $IS_FIRST_RUN_FILE ]]; then + source ./send_telegram_message.sh + send_telegram_message '**Ubuntu 18.04 Buildbot Is Active**' +fi +touch "$IS_FIRST_RUN_FILE" + git pull origin master ../checkout_build_archive_upload.sh firefox-ubuntu-18.04 >/tmp/$(basename $0)--firefox.log || true diff --git a/browser_patches/buildbots/buildbot-ubuntu-20.04.sh b/browser_patches/buildbots/buildbot-ubuntu-20.04.sh index fdb4b422fe..11427f494b 100755 --- a/browser_patches/buildbots/buildbot-ubuntu-20.04.sh +++ b/browser_patches/buildbots/buildbot-ubuntu-20.04.sh @@ -49,19 +49,19 @@ mkdir -p $LOCKDIR trap "rm -rf ${LOCKDIR}; cd $(pwd -P); exit" INT TERM EXIT cd "$(dirname "$0")" -IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; -if ! [[ -f $IS_FIRST_RUN_FILE ]]; then - source ./send_telegram_message.sh - send_telegram_message '**Linux Buildbot Is Active**' -fi -touch "$IS_FIRST_RUN_FILE" - # Check if git repo is dirty. if [[ -n $(git status -s) ]]; then echo "ERROR: dirty GIT state - commit everything and re-run the script." exit 1 fi +IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; +if ! [[ -f $IS_FIRST_RUN_FILE ]]; then + source ./send_telegram_message.sh + send_telegram_message '**Ubuntu 20.04 Buildbot Is Active**' +fi +touch "$IS_FIRST_RUN_FILE" + git pull origin master ../checkout_build_archive_upload.sh webkit-gtk-ubuntu-20.04 >/tmp/$(basename $0)--webkit-gtk.log || true ../checkout_build_archive_upload.sh webkit-wpe-ubuntu-20.04 >/tmp/$(basename $0)--webkit-wpe.log || true