A scriptworker script for submitting metadata to balrog.
Create a config.json
, using config_example.json
as a guide.
At runtime, the following environment variables can be set to override their corresponding config.json
values:
Scriptworker Specfic:
TASKCLUSTER_CLIENT_ID
TASKCLUSTER_ACCESS_TOKEN
SCRIPTWORKER_WORKER_ID
Balrog Specific:
BALROG_API_ROOT
The task schema that the program expects is defined in balrogscript/data/balrog_ACTION_schema.json
balrogscript will look in $work_dir/task.json
for the task definition to use.
The manifest that we use will be in $work_dir/cot/$upstream_task_id/$path
, based on the upstreamArtifacts
in the task payload.
It looks like dephash is busted on python 2.7.
To update requirements-prod.txt
,
pip install pip-tools
pip-compile --generate-hashes requirements-dev.txt -o requirements-prod.txt