Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A worker application that listens to the frigg broker an pick up builds and build them.

Project Description

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

Release History

Release History

This version
History Node

3.3.2

History Node

3.3.1

History Node

3.3.0

History Node

3.2.2

History Node

3.2.1

History Node

3.2.0

History Node

3.0.1

History Node

3.0.0

History Node

2.7.0

History Node

2.6.0

History Node

2.5.3

History Node

2.5.2

History Node

2.5.1

History Node

2.5.0

History Node

2.4.0

History Node

2.3.1

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.1

History Node

1.0.0

History Node

0.9.1

History Node

0.9.0

History Node

0.8.2

History Node

0.8.1

History Node

0.8.0

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.2

History Node

0.6.1

History Node

0.6.0

History Node

0.5.0

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.3

History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
frigg_worker-3.3.2-py2-none-any.whl (13.9 kB) Copy SHA256 Checksum SHA256 py2 Wheel Jan 11, 2016
frigg-worker-3.3.2.tar.gz (9.6 kB) Copy SHA256 Checksum SHA256 Source Jan 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting