Skip to content

MihaiTabara/balrogscript

 
 

Repository files navigation

Balrogscript

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 Specfic:

  • TASKCLUSTER_CLIENT_ID
  • TASKCLUSTER_ACCESS_TOKEN
  • SCRIPTWORKER_WORKER_ID

Balrog Specific:

  • BALROG_API_ROOT
  • BALROG_USERNAME
  • BALROG_PASSWORD

task.json

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.

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.1%
  • Makefile 4.6%
  • Shell 4.3%