mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-06 03:09:18 +02:00
This patch adds a toolchain task for pdfs to be used in the talos pdfpaint test. This is done with a fetch task for the Mozilla pdf.js repository, and a toolchain task that gathers the pdfs from that repository. The toolchain task also handles downloading additional PDFs from files that contain links to them. The additional shell script is used to run the script that gathers the PDFs and allow us to use the in-tree redo python package. Differential Revision: https://phabricator.services.mozilla.com/D204903
10 lines
243 B
Bash
Executable file
10 lines
243 B
Bash
Executable file
#! /bin/bash -vex
|
|
set -x -e -v
|
|
|
|
export OUTPUT_DIR=/builds/worker/talos-pdfs
|
|
|
|
cd $GECKO_PATH
|
|
./mach python taskcluster/scripts/misc/fetch-talos-pdfs.py
|
|
|
|
mkdir -p $UPLOAD_DIR
|
|
tar -cavf $UPLOAD_DIR/talos-pdfs.tar.zst -C $OUTPUT_DIR/.. talos-pdfs
|