mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-03 23:15:31 +00:00
a02c283a0e
* Add visual-metrics docker type. * Add required browsertime toolchain fetches. * Add browsertime tests for technical and visual metrics. * Run browsertime tests in a cron task. * Run visual metrics on all browsertime tests. * Use spaces instead of tabs, and resolve visual-metric nits. * Enable browsertime on pull request for testing. * Restrict PR tests to amazon on browsertime. * First attempt using multi_dep. * Add a primary dependency to browsertime. * Try by not popping. * Debug prints. * Make one grouping per browsertime task. * Try without the multi_dep transform. * Delete dependent-tasks in visual-metrics transformer. * Update setuptools installed and copy run-on-tasks-for. * Use get when getting run-on-tasks-for. * Add new pinned requirements. * Try it. * Set run-on-tasks-for properly. * Remove print statement. * Remove single_dep loader, and print statements. * Remove run-on-tasks-for testing setting. * Restart testing, and set user to root in visual-metrics Docker. * Remove testing settings. * Remove fetch-content from Docker. * Change attributes grouping method. * Run all tests as a check. * Undo testing changes, and fix a bad test name.
34 lines
830 B
Docker
34 lines
830 B
Docker
# %ARG DOCKER_IMAGE_PARENT
|
|
FROM $DOCKER_IMAGE_PARENT
|
|
MAINTAINER Gregory Mierzwinski <gmierzwinski@mozilla.com>
|
|
|
|
# run-task expects to run as root
|
|
USER root
|
|
|
|
RUN apt-get update -qq && \
|
|
apt-get install -y \
|
|
ffmpeg \
|
|
imagemagick \
|
|
pyssim \
|
|
python \
|
|
python-pil \
|
|
python3 \
|
|
python3-pip
|
|
|
|
WORKDIR /builds/worker
|
|
|
|
USER worker:worker
|
|
|
|
COPY requirements.txt /builds/worker/requirements.txt
|
|
RUN pip3 install setuptools==46.0.0
|
|
RUN pip3 install --require-hashes -r /builds/worker/requirements.txt && \
|
|
rm /builds/worker/requirements.txt
|
|
|
|
COPY run-visual-metrics.py /builds/worker/bin/run-visual-metrics.py
|
|
COPY performance-artifact-schema.json /builds/worker/performance-artifact-schema.json
|
|
|
|
USER root
|
|
RUN chmod +x /builds/worker/bin/run-visual-metrics.py
|
|
|
|
VOLUME /builds/worker/artifacts/
|