Bug 1882393 - Use ubuntu for android-ui-tests docker image r=jcristau,aaronmt

Change the android-ui-tests docker image to be based on Ubuntu (as it was on github) rather than Debian, to restore the preferred log formatting of summary results.

Differential Revision: https://phabricator.services.mozilla.com/D214910
This commit is contained in:
Geoff Brown 2024-06-26 21:07:42 +00:00
Родитель 0ed2355d38
Коммит 435e5c46cf
2 изменённых файлов: 23 добавлений и 3 удалений

Просмотреть файл

@ -4,6 +4,26 @@ FROM $DOCKER_IMAGE_PARENT
LABEL authors="Richard Pappalardo <rpappalax@gmail.com>, Aaron Train <atrain@mozilla.com>"
LABEL maintainer="Richard Pappalardo <rpappalax@gmail.com>"
ENV LANG='en_US.UTF-8' \
TERM='dumb'
RUN apt-get update && \
apt-get install \
curl \
jq \
locales \
openjdk-17-jdk \
openssh-client \
python3-pip \
python3-yaml \
tar \
wget \
xvfb
RUN pip3 install taskcluster==65.3.0
RUN locale-gen "$LANG"
#----------------------------------------------------------------------------------------------------------------------
#-- Test tools --------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------------
@ -33,10 +53,10 @@ RUN curl -L https://github.com/Flank/flank/releases/download/v${FLANK_VERSION}/f
&& chmod +x ${FLANK_DOWNLOAD}
# Used in parse-ui-test-fromfile.py
RUN pip3 install --break-system-packages junitparser beautifultable
RUN pip3 install junitparser==3.1.2 beautifultable==1.1.0
# Used for env var ingest in testrail.py
RUN pip3 install --break-system-packages python-dotenv
RUN pip3 install python-dotenv==1.0.1
# run-task expects to run as root
USER root

Просмотреть файл

@ -255,4 +255,4 @@ tasks:
parent: debian12-base
android-ui-tests:
symbol: I(android-ui-tests)
parent: android-components
parent: ubuntu2204-base