scriptworker-scripts/balrogscript at dev-balrogscript · mozilla-releng/scriptworker-scripts · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Balrogscript

Build Status

A scriptworker script for submitting metadata to balrog.

Configuration

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_ID
  • TASKCLUSTER_ACCESS_TOKEN
  • SCRIPTWORKER_WORKER_ID

Balrog Specific:

  • BALROG_API_ROOT

task.json

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.

manifest.json

The manifest that we use will be in $work_dir/cot/$upstream_task_id/$path, based on the upstreamArtifacts in the task payload.

Update python dependencies

The easiest way to do this is to run pin.sh:

./maintenance/pin.sh balrogscript