mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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.
This commit is contained in:
parent
2b4039d77c
commit
b59049f8e8
@ -43,10 +43,10 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt";
|
IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt";
|
||||||
if ! [[ -f $IS_FIRST_RUN_FILE ]]; then
|
if ! [[ -f $IS_FIRST_RUN_FILE ]]; then
|
||||||
touch "$IS_FIRST_RUN_FILE"
|
|
||||||
source ./send_telegram_message.sh
|
source ./send_telegram_message.sh
|
||||||
send_telegram_message '**Linux Buildbot Is Active**'
|
send_telegram_message '**Linux Buildbot Is Active**'
|
||||||
fi
|
fi
|
||||||
|
touch "$IS_FIRST_RUN_FILE"
|
||||||
|
|
||||||
# Check if git repo is dirty.
|
# Check if git repo is dirty.
|
||||||
if [[ -n $(git status -s) ]]; then
|
if [[ -n $(git status -s) ]]; then
|
||||||
|
@ -49,10 +49,10 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt";
|
IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt";
|
||||||
if ! [[ -f $IS_FIRST_RUN_FILE ]]; then
|
if ! [[ -f $IS_FIRST_RUN_FILE ]]; then
|
||||||
touch "$IS_FIRST_RUN_FILE"
|
|
||||||
source ./send_telegram_message.sh
|
source ./send_telegram_message.sh
|
||||||
send_telegram_message '**Mac 10.14 Buildbot Is Active**'
|
send_telegram_message '**Mac 10.14 Buildbot Is Active**'
|
||||||
fi
|
fi
|
||||||
|
touch "$IS_FIRST_RUN_FILE"
|
||||||
|
|
||||||
# Check if git repo is dirty.
|
# Check if git repo is dirty.
|
||||||
if [[ -n $(git status -s) ]]; then
|
if [[ -n $(git status -s) ]]; then
|
||||||
|
@ -50,10 +50,10 @@ cd "$(dirname "$0")"
|
|||||||
|
|
||||||
IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt";
|
IS_FIRST_RUN_FILE="/tmp/pw-buildbot-first-run.txt";
|
||||||
if ! [[ -f $IS_FIRST_RUN_FILE ]]; then
|
if ! [[ -f $IS_FIRST_RUN_FILE ]]; then
|
||||||
touch "$IS_FIRST_RUN_FILE"
|
|
||||||
source ./send_telegram_message.sh
|
source ./send_telegram_message.sh
|
||||||
send_telegram_message '**Mac 10.15 Buildbot Is Active**'
|
send_telegram_message '**Mac 10.15 Buildbot Is Active**'
|
||||||
fi
|
fi
|
||||||
|
touch "$IS_FIRST_RUN_FILE"
|
||||||
|
|
||||||
# Check if git repo is dirty.
|
# Check if git repo is dirty.
|
||||||
if [[ -n $(git status -s) ]]; then
|
if [[ -n $(git status -s) ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user