From b59049f8e8f89e02f07d4ad5d090b4917aa67fac Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Thu, 26 Dec 2019 21:20:29 +0100 Subject: [PATCH] devops: touch first-run marker files every time Turns out OSX removes untouched files from tmp every once in a while if they are not touched. --- browser_patches/buildbots/buildbot-linux.sh | 2 +- browser_patches/buildbots/buildbot-mac-10.14.sh | 2 +- browser_patches/buildbots/buildbot-mac-10.15.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/browser_patches/buildbots/buildbot-linux.sh b/browser_patches/buildbots/buildbot-linux.sh index 67897743c7..8bff4eff16 100755 --- a/browser_patches/buildbots/buildbot-linux.sh +++ b/browser_patches/buildbots/buildbot-linux.sh @@ -43,10 +43,10 @@ cd "$(dirname "$0")" IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; if ! [[ -f $IS_FIRST_RUN_FILE ]]; then - touch "$IS_FIRST_RUN_FILE" 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 diff --git a/browser_patches/buildbots/buildbot-mac-10.14.sh b/browser_patches/buildbots/buildbot-mac-10.14.sh index 6884195c59..02996d5e99 100755 --- a/browser_patches/buildbots/buildbot-mac-10.14.sh +++ b/browser_patches/buildbots/buildbot-mac-10.14.sh @@ -49,10 +49,10 @@ cd "$(dirname "$0")" IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; if ! [[ -f $IS_FIRST_RUN_FILE ]]; then - touch "$IS_FIRST_RUN_FILE" source ./send_telegram_message.sh send_telegram_message '**Mac 10.14 Buildbot Is Active**' fi +touch "$IS_FIRST_RUN_FILE" # Check if git repo is dirty. if [[ -n $(git status -s) ]]; then diff --git a/browser_patches/buildbots/buildbot-mac-10.15.sh b/browser_patches/buildbots/buildbot-mac-10.15.sh index 3daa5d4314..1aed974cdb 100755 --- a/browser_patches/buildbots/buildbot-mac-10.15.sh +++ b/browser_patches/buildbots/buildbot-mac-10.15.sh @@ -50,10 +50,10 @@ cd "$(dirname "$0")" IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt"; if ! [[ -f $IS_FIRST_RUN_FILE ]]; then - touch "$IS_FIRST_RUN_FILE" source ./send_telegram_message.sh send_telegram_message '**Mac 10.15 Buildbot Is Active**' fi +touch "$IS_FIRST_RUN_FILE" # Check if git repo is dirty. if [[ -n $(git status -s) ]]; then