devops: drop build infrastructure for WebKit @ MacOS 10.14 (#8438)

We did not support it for a while now and had 0 complaints.
This commit is contained in:
Andrey Lushnikov 2021-08-25 17:44:28 +03:00 committed by GitHub
parent 744a2751de
commit 831cff1a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 3 additions and 87 deletions

View file

@ -308,14 +308,9 @@ elif [[ "$BUILD_FLAVOR" == "webkit-mac-11.0-arm64" ]]; then
BUILD_BLOB_NAME="webkit-mac-11.0-arm64.zip"
# ===================================
# DEPRECATED WEBKIT COMPILATION
# ===================================
elif [[ "$BUILD_FLAVOR" == "deprecated-webkit-mac-10.14" ]]; then
BROWSER_NAME="deprecated-webkit-mac-10.14"
EXPECTED_HOST_OS="Darwin"
EXPECTED_HOST_OS_VERSION="10.14"
BUILD_BLOB_NAME="deprecated-webkit-mac-10.14.zip"
# ===========================
# Unknown input
# ===========================
else
echo ERROR: unknown build flavor - "$BUILD_FLAVOR"
exit 1

View file

@ -1 +0,0 @@
/checkout

View file

@ -1,2 +0,0 @@
1446
Changed: lushnikov@chromium.org Mon Jun 7 14:01:01 PDT 2021

View file

@ -1,2 +0,0 @@
deprecated-webkit-mac-10.14.zip

View file

@ -1,48 +0,0 @@
#!/bin/bash
set -e
set +x
if [[ ("$1" == "-h") || ("$1" == "--help") ]]; then
echo "usage: $(basename $0) [output-absolute-path]"
echo
echo "Generate distributable .zip archive from ./checkout folder that was previously built."
echo
exit 0
fi
ZIP_PATH=$1
if [[ $ZIP_PATH != /* ]]; then
echo "ERROR: path $ZIP_PATH is not absolute"
exit 1
fi
if [[ $ZIP_PATH != *.zip ]]; then
echo "ERROR: path $ZIP_PATH must have .zip extension"
exit 1
fi
if [[ -f $ZIP_PATH ]]; then
echo "ERROR: path $ZIP_PATH exists; can't do anything."
exit 1
fi
if ! [[ -d $(dirname $ZIP_PATH) ]]; then
echo "ERROR: folder for path $($ZIP_PATH) does not exist."
exit 1
fi
createZipForMac() {
# create a TMP directory to copy all necessary files
local tmpdir=$(mktemp -d)
# copy all relevant files
ditto {$SCRIPTS_DIR,$tmpdir}/pw_run.sh
# copy protocol
# zip resulting directory and cleanup TMP.
ditto -c -k $tmpdir $ZIP_PATH
rm -rf $tmpdir
}
trap "cd $(pwd -P)" EXIT
cd "$(dirname "$0")"
SCRIPTS_DIR="$(pwd -P)"
createZipForMac

View file

@ -1,3 +0,0 @@
#!/bin/bash
# NOTE: this file is intentionally empty since deprecated-webkit-mac-10.14 is now a stub.

View file

@ -1,3 +0,0 @@
#!/bin/bash
# NOTE: this file is intentionally empty since deprecated-webkit-mac-10.14 is now a stub.

View file

@ -1,17 +0,0 @@
#!/bin/bash
cat << EndOfMessage
****************************************************************
****************************************************************
ERROR: MacOS version is too old!
This version of Playwright does not support running
WebKit on MacOS 10.14. Please either:
- update your operating system to version 10.15 or higher
- use Playwright v1.11 or older
****************************************************************
****************************************************************
EndOfMessage
exit 1;

View file

@ -107,9 +107,6 @@ elif [[ ("$1" == "firefox-beta") || ("$1" == "ff-beta") ]]; then
CHECKOUT_PATH="${FF_CHECKOUT_PATH}"
FRIENDLY_CHECKOUT_PATH="<FF_CHECKOUT_PATH>"
fi
elif [[ ("$1" == "deprecated-webkit-mac-10.14") ]]; then
echo "FYI: deprecated-webkit-mac-10.14 has no checkout anymore"
exit 0
elif [[ ("$1" == "webkit") || ("$1" == "webkit/") || ("$1" == "wk") ]]; then
FRIENDLY_CHECKOUT_PATH="//browser_patches/webkit/checkout";
CHECKOUT_PATH="$PWD/webkit/checkout"