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 Specific:
TASKCLUSTER_CLIENT_IDTASKCLUSTER_ACCESS_TOKENSCRIPTWORKER_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.
The easiest way to do this is to run pin.sh:
./maintenance/pin.sh balrogscript
