devops: send tg notifications for webkit-gtk-wpe
This commit is contained in:
parent
8483245d87
commit
c517542f39
|
|
@ -60,4 +60,4 @@ git pull origin master
|
||||||
git pull origin master
|
git pull origin master
|
||||||
../checkout_build_archive_upload.sh webkit-gtk >/tmp/$(basename $0)--webkit-gtk.log || true
|
../checkout_build_archive_upload.sh webkit-gtk >/tmp/$(basename $0)--webkit-gtk.log || true
|
||||||
../checkout_build_archive_upload.sh webkit-wpe >/tmp/$(basename $0)--webkit-wpe.log || true
|
../checkout_build_archive_upload.sh webkit-wpe >/tmp/$(basename $0)--webkit-wpe.log || true
|
||||||
../webkit/download_gtk_and_wpe_zip_together_and_upload.sh >/tmp/$(basename $0)--webkit-gtk-wpe.log || true
|
../checkout_build_archive_upload.sh webkit-gtk-wpe >/tmp/$(basename $0)--webkit-gtk-wpe.log || true
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ set -e
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
|
if [[ ($1 == '--help') || ($1 == '-h') ]]; then
|
||||||
echo "usage: $(basename $0) [firefox-linux|firefox-win32|firefox-win64|webkit-gtk|webkit-wpe|webkit-win64|webkit-mac-10.14|webkit-mac-10.15] [-f|--force]"
|
echo "usage: $(basename $0) [firefox-linux|firefox-win32|firefox-win64|webkit-gtk|webkit-wpe|webkit-gtk-wpe|webkit-win64|webkit-mac-10.14|webkit-mac-10.15] [-f|--force]"
|
||||||
echo
|
echo
|
||||||
echo "Prepares checkout under browser folder, applies patches, builds, archives, and uploades if build is missing."
|
echo "Prepares checkout under browser folder, applies patches, builds, archives, and uploades if build is missing."
|
||||||
echo "Script will bail out early if the build for the browser version is already present."
|
echo "Script will bail out early if the build for the browser version is already present."
|
||||||
|
|
@ -54,6 +54,9 @@ elif [[ "$BUILD_FLAVOR" == "webkit-wpe" ]]; then
|
||||||
EXTRA_BUILD_ARGS="--wpe"
|
EXTRA_BUILD_ARGS="--wpe"
|
||||||
EXTRA_ARCHIVE_ARGS="--wpe"
|
EXTRA_ARCHIVE_ARGS="--wpe"
|
||||||
EXPECTED_HOST_OS="Linux"
|
EXPECTED_HOST_OS="Linux"
|
||||||
|
elif [[ "$BUILD_FLAVOR" == "webkit-gtk-wpe" ]]; then
|
||||||
|
BROWSER_NAME="webkit"
|
||||||
|
EXPECTED_HOST_OS="Linux"
|
||||||
elif [[ "$BUILD_FLAVOR" == "webkit-win64" ]]; then
|
elif [[ "$BUILD_FLAVOR" == "webkit-win64" ]]; then
|
||||||
BROWSER_NAME="webkit"
|
BROWSER_NAME="webkit"
|
||||||
EXPECTED_HOST_OS="MINGW"
|
EXPECTED_HOST_OS="MINGW"
|
||||||
|
|
@ -120,6 +123,17 @@ cd -
|
||||||
source ./buildbots/send_telegram_message.sh
|
source ./buildbots/send_telegram_message.sh
|
||||||
LAST_COMMIT_MESSAGE=$(git log --format=%s -n 1 HEAD -- ./$BROWSER_NAME/BUILD_NUMBER)
|
LAST_COMMIT_MESSAGE=$(git log --format=%s -n 1 HEAD -- ./$BROWSER_NAME/BUILD_NUMBER)
|
||||||
BUILD_ALIAS="<b>[[$BUILD_FLAVOR r$BUILD_NUMBER]]</b> $LAST_COMMIT_MESSAGE"
|
BUILD_ALIAS="<b>[[$BUILD_FLAVOR r$BUILD_NUMBER]]</b> $LAST_COMMIT_MESSAGE"
|
||||||
|
|
||||||
|
if [[ "$BUILD_FLAVOR" == "webkit-gtk-wpe" ]]; then
|
||||||
|
send_telegram_message "$BUILD_ALIAS -- started ⏳"
|
||||||
|
if ! ./webkit/download_gtk_and_wpe_zip_together_and_upload.sh; then
|
||||||
|
send_telegram_message "$BUILD_ALIAS -- ./download_gtk_and_wpe_zip_together_and_upload.sh failed! ❌"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
send_telegram_message "$BUILD_ALIAS -- uploaded ✅"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
send_telegram_message "$BUILD_ALIAS -- started ⏳"
|
send_telegram_message "$BUILD_ALIAS -- started ⏳"
|
||||||
|
|
||||||
echo "-- preparing checkout"
|
echo "-- preparing checkout"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue