scriptworker 60.8.0
pip install scriptworker
Released:
TaskCluster Script Worker
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: MPL 2.0
- Author: Mozilla Release Engineering
- Requires: Python >=3.7
Classifiers
- Intended Audience
- Natural Language
- Programming Language
Project description
Scriptworker implements the TaskCluster worker model, then launches a pre-defined script.
This worker was designed for Releng processes that need specific, limited, and pre-defined capabilities.
Free software: MPL2 License
Usage
Create a config file. By default scriptworker will look in ./scriptworker.yaml, but this config path can be specified as the first and only commandline argument. There is an example config file, and all config items are specified in scriptworker.constants.DEFAULT_CONFIG.
Credentials can live in ./scriptworker.yaml, ./secrets.json, ~/.scriptworker.
Launch: scriptworker [config_path]
Testing
Without integration tests install tox, then
NO_CREDENTIALS_TESTS=1 tox -e py36
Without any tests connecting to the net, then NO_TESTS_OVER_WIRE=1 tox -e py36
With integration tests, first create a client in the Taskcluster UI with the scopes:
queue:cancel-task:test-dummy-scheduler/* queue:claim-work:test-dummy-provisioner/dummy-worker-* queue:create-task:lowest:test-dummy-provisioner/dummy-worker-* queue:define-task:test-dummy-provisioner/dummy-worker-* queue:get-artifact:SampleArtifacts/_/X.txt queue:scheduler-id:test-dummy-scheduler queue:schedule-task:test-dummy-scheduler/* queue:task-group-id:test-dummy-scheduler/* queue:worker-id:test-dummy-workers/dummy-worker-*
Then generate a no priviledge personal access token in Github for the scriptworker_github_token (to avoid rate limiting) and create a ./secrets.json or ~/.scriptworker that looks like:
{ "integration_credentials": { "clientId": "...", "accessToken": "...", } "scriptworker_github_token": "..." }
then to run all tests: tox
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: MPL 2.0
- Author: Mozilla Release Engineering
- Requires: Python >=3.7
Classifiers
- Intended Audience
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scriptworker-60.8.0.tar.gz
.
File metadata
- Download URL: scriptworker-60.8.0.tar.gz
- Upload date:
- Size: 102.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 059d9dde012e4d8a3dcffaaa58895ffa894216bf7c555fe5c884bc2dd392e57a |
|
MD5 | ddf9565d88bb240efe41ed5e0a16433a |
|
BLAKE2b-256 | e99dcc96e2cfcea9c50b6dc7731ed689dc369af6a5040594720bd6e73d590573 |
Provenance
The following attestation bundles were made for scriptworker-60.8.0.tar.gz
:
Publisher:
pypi-publish.yml
on mozilla-releng/scriptworker
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
scriptworker-60.8.0.tar.gz
- Subject digest:
059d9dde012e4d8a3dcffaaa58895ffa894216bf7c555fe5c884bc2dd392e57a
- Sigstore transparency entry: 197981176
- Sigstore integration time:
- Permalink:
mozilla-releng/scriptworker@bba07b47036bfa4870741ba54c6d5e98e91134f3
- Branch / Tag:
refs/tags/60.8.0
- Owner: https://github.com/mozilla-releng
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
pypi-publish.yml@bba07b47036bfa4870741ba54c6d5e98e91134f3
- Trigger Event:
release
- Statement type:
File details
Details for the file scriptworker-60.8.0-py2.py3-none-any.whl
.
File metadata
- Download URL: scriptworker-60.8.0-py2.py3-none-any.whl
- Upload date:
- Size: 79.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0af16aab3aec527bf5eed64f337b3e96c766c677009491f10a90b315c93afc17 |
|
MD5 | 026437c37c1416c1b3db976d911d07a3 |
|
BLAKE2b-256 | 749538a7e08d3adbaacaf18bcdbc1607461456dda99048317d463cc54af14aab |
Provenance
The following attestation bundles were made for scriptworker-60.8.0-py2.py3-none-any.whl
:
Publisher:
pypi-publish.yml
on mozilla-releng/scriptworker
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
scriptworker-60.8.0-py2.py3-none-any.whl
- Subject digest:
0af16aab3aec527bf5eed64f337b3e96c766c677009491f10a90b315c93afc17
- Sigstore transparency entry: 197981177
- Sigstore integration time:
- Permalink:
mozilla-releng/scriptworker@bba07b47036bfa4870741ba54c6d5e98e91134f3
- Branch / Tag:
refs/tags/60.8.0
- Owner: https://github.com/mozilla-releng
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
pypi-publish.yml@bba07b47036bfa4870741ba54c6d5e98e91134f3
- Trigger Event:
release
- Statement type: