Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

devops: fix buildbot names

Andrey Lushnikov21581a4e8b7d
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