Skip to content

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

devops: cronjob checks

Andrey Lushnikov4aff4bfca3df
diff --git a/browser_patches/tools/cronjob.sh b/browser_patches/tools/cronjob.sh
index 12836bea19..413da3efef 100755
--- a/browser_patches/tools/cronjob.sh
+++ b/browser_patches/tools/cronjob.sh
@@ -16,6 +16,14 @@ if [[ $# == 0 ]]; then
exit 1
fi
+if [[ (-z $AZ_ACCOUNT_KEY) || (-z $AZ_ACCOUNT_NAME) ]]; then
+ echo "ERROR: Either \$AZ_ACCOUNT_KEY or \$AZ_ACCOUNT_NAME environment variable is missing."
+ echo " 'Azure Account Name' and 'Azure Account Key' secrets that are required"
+ echo " to upload builds ot Azure CDN."
+ exit 1
+fi
+
+
BROWSER_NAME=""
if [[ ("$1" == "firefox") || ("$1" == "firefox/") ]]; then
BROWSER_NAME="firefox"