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
11 lines
243 B
Bash
Executable File
11 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
|