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
BALROG_USERNAME
BALROG_PASSWORD
The task schema that the program expects is defined in balrogscript/data/balrog_task_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.