mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
29
tests/wpt/web-platform-tests/tools/docker/github/Dockerfile
Normal file
29
tests/wpt/web-platform-tests/tools/docker/github/Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
|||
FROM ubuntu:18.04
|
||||
|
||||
# No interactive frontend during docker build
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
DEBCONF_NONINTERACTIVE_SEEN=true
|
||||
|
||||
RUN apt-get -qqy update \
|
||||
&& apt-get -qqy install \
|
||||
bzip2 \
|
||||
git \
|
||||
locales \
|
||||
python \
|
||||
python-pip \
|
||||
tzdata \
|
||||
zstd
|
||||
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install virtualenv
|
||||
RUN pip install requests
|
||||
|
||||
ENV TZ "UTC"
|
||||
RUN echo "${TZ}" > /etc/timezone \
|
||||
&& dpkg-reconfigure --frontend noninteractive tzdata
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
|
@ -14,9 +14,6 @@ set -ex
|
|||
|
||||
REMOTE=${1:-https://github.com/web-platform-tests/wpt}
|
||||
REF=${2:-master}
|
||||
REVISION=${3:-FETCH_HEAD}
|
||||
BROWSER=${4:-all}
|
||||
CHANNEL=${5:-nightly}
|
||||
|
||||
cd ~
|
||||
|
||||
|
@ -27,15 +24,6 @@ git init
|
|||
git remote add origin ${REMOTE}
|
||||
|
||||
# Initially we just fetch 50 commits in order to save several minutes of fetching
|
||||
retry git fetch --quiet --depth=50 --tags origin ${REF}
|
||||
retry git fetch --quiet --depth=50 --tags origin ${REF}:task_head
|
||||
|
||||
if [[ ! `git rev-parse --verify -q ${REVISION}` ]];
|
||||
then
|
||||
# But if for some reason the commit under test isn't in that range, we give in and
|
||||
# fetch everything
|
||||
retry git fetch -q --unshallow ${REMOTE}
|
||||
git rev-parse --verify ${REVISION}
|
||||
fi
|
||||
git checkout -b build ${REVISION}
|
||||
|
||||
source tools/ci/start.sh
|
||||
git checkout --quiet task_head
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue