Oncall

See admin docs for information on how to run and manage Oncall.
Development setup
Local machine
See instructions for setting up Oncall on your local machine
Prerequisites
- Debian/Ubuntu -
sudo apt-get install libsasl2-dev python3-dev libldap2-dev libssl-dev python-pip python-setuptools mysql-server mysql-client
Install
python setup.py develop
pip install -e '.[dev]'
Setup mysql schema:
mysql -u root -p < ./db/schema.v0.sql
Setup app config by editing configs/config.yaml.
Optionally, you can import dummy data for testing:
mysql -u root -p -o oncall < ./db/dummy_data.sql
Run
One of the following commands:
goreman startprocman startmake serveoncall-dev ./configs/config.yaml
Test
make test
Docker compose
See instructions for using docker compose
Running
make compose
or running docker compose directly:
docker compose up --build
Limitations
- Doesn't currently provide a mechanism for running tests
- Requires rebuilding to apply code changes
- Doesn't tail Python logs to stdout
Contributing
Check out https://github.com/linkedin/oncall/issues for a list of outstanding issues, and tackle any one that catches your interest. Contributions are expected to be tested thoroughly and submitted with unit/end-to-end tests; look in the e2e directory for our suite of end-to-end tests.
Metadata
Release files for oncall 2.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oncall-2.1.7.tar.gz | 581.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oncall-2.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.2 MB
Release files / oncall-2.1.7.tar.gz
| Download URL | oncall-2.1.7.tar.gz |
|---|---|
| Size | 581.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a78686317eb77e3c4d92b09fce6274535fb7d4f5566a697eba7d828146c93bd9
|
|
BLAKE2b-256 checksum How to use checksums |
a4fbdd59d1955c27a0fcf55734e4314948665379f5344c8009be53d9d8ea43bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / oncall-2.1.7-py3-none-any.whl
| Download URL | oncall-2.1.7-py3-none-any.whl |
|---|---|
| Size | 644.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
773a3d884b229c745bfa2cf4e60fc5a42931790e4d8db91f8605991d2b89ed7d
|
|
BLAKE2b-256 checksum How to use checksums |
7f1da7a62ab1c619bb260e09a777b920519370c339e14b6707df64ba6a36f6a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|