frigg-worker

A worker application that listens to the frigg broker, picks up builds and builds them.
Setup
virtualenv ~/frigg-worker ~/frigg-worker/bin/pip install frigg-worker ~/frigg-worker/bin/frigg-worker
Usage
$ frigg_worker --help Usage: frigg_worker MODE [OPTIONS] Options: --dispatcher-url TEXT URL to the dispatcher, overrides settings --dispatcher-token TEXT Token for dispatcher, overrides settings --hq-url TEXT URL for frigg-hq, overrides settings --hq-token TEXT Token for frigg-hq, overrides settings --slack-url TEXT URL for incoming webhook in slack --sentry-dsn TEXT Sentry dsn needed to connect to the sentry API --loglevel TEXT Set log level for frigg-packages --help Show this message and exit.
The worker has two modes builder and deployer which defines whether the worker should build and run tests or deploy previews.
Builder
Runs tasks within a given docker container before removing the docker container and reports to the build report API of HQ.
Deployer
Starts a docker container that will run for the amount of time specified by the task payload before running deploy tasks inside the container. The container exposes port 8000 to a port on the host system given by the task payload. The container-image is chosen from the task payload, thus, the worker trusts the task-queue to only contain tasks with allowed images. The status of the deployments is reported to the preview-deployment API of HQ.
Running frigg-worker from source
python -m frigg_worker.cli
MIT © frigg.io
Metadata
Release files for frigg-worker 3.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| frigg-worker-3.3.2.tar.gz | 9.6 kB | Without provenance | Details for frigg-worker-3.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| frigg_worker-3.3.2-py2-none-any.whl | Python 2 | none | any | Details for frigg_worker-3.3.2-py2-none-any.whl |
Total release size: 23.5 kB
Release files / frigg-worker-3.3.2.tar.gz
| Download URL | frigg-worker-3.3.2.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30e4afa22920877dd0e54b627f94746bc6a53794855734a4e2b662295628d387
|
|
BLAKE2b-256 checksum How to use checksums |
428daf560d4a34914015097e692a386f750bbd6c2dc59a727d3fe9d9e589b7a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / frigg_worker-3.3.2-py2-none-any.whl
| Download URL | frigg_worker-3.3.2-py2-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
a7150066e89a3063514374818d88dbd5f351f55fbdc0b163705b066d69832816
|
|
BLAKE2b-256 checksum How to use checksums |
d3d84571a6372f1554c4ba2d7c012e73cb77fb3ea50c264e5ef04e78a9778197
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for frigg-worker 3.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.