gecko_taskgraph.transforms.job package
Submodules
gecko_taskgraph.transforms.job.common module
Common support for various job types. These functions are all named after the worker implementation they operate on, and take the same three parameters, for consistency.
- gecko_taskgraph.transforms.job.common.add_artifacts(config, job, taskdesc, path)
- gecko_taskgraph.transforms.job.common.add_tooltool(config, job, taskdesc, internal=False)
Give the task access to tooltool.
Enables the tooltool cache. Adds releng proxy. Configures scopes.
By default, only public tooltool access will be granted. Access to internal tooltool can be enabled via
internal=True.This can only be used with
run-tasktasks, as the cache name is reserved for use withrun-task.
- gecko_taskgraph.transforms.job.common.docker_worker_add_artifacts(config, job, taskdesc)
Adds an artifact directory to the task
- gecko_taskgraph.transforms.job.common.generic_worker_add_artifacts(config, job, taskdesc)
Adds an artifact directory to the task
- gecko_taskgraph.transforms.job.common.get_cache_name(config, job)
- gecko_taskgraph.transforms.job.common.get_expiration(config, policy='default')
- gecko_taskgraph.transforms.job.common.setup_secrets(config, job, taskdesc)
Set up access to secrets via taskcluster-proxy. The value of run[‘secrets’] should be a boolean or a list of secret names that can be accessed.
- gecko_taskgraph.transforms.job.common.support_vcs_checkout(config, job, taskdesc, repo_configs)
Update a job/task with parameters to enable a VCS checkout.
This can only be used with
run-tasktasks, as the cache name is reserved forrun-tasktasks.