Skip to content

Latest commit

 

History

History
70 lines (48 loc) · 2.01 KB

README.md

File metadata and controls

70 lines (48 loc) · 2.01 KB

cicd codecov MIT license Mypy Code style: black WakeMeOps

wakemebot

Bunch of tools needed in wakemeops CI pipelines:

Commands used to update wakemeops Debian repository:

  • wakemebot sync: Sync state of debian repository with packages defined op2deb blueprints

Documentation at https://docs.wakemeops.com is updated by running mkdocs build

Usage examples

Start aptly sandbox, create a repo, push packages:

poetry shell
cd functional-tests
docker-compose up
./test.sh

Building WakeMeOps documentation

Create a venv with poetry and start a shell:

poetry install
poetry shell

Then build WakeMeOps mkdocs documentation:

git clone git@github.com:upciti/wakemeops.git
cd wakemeops
mkdocs build

Wakemebot generates badges for package hosted by wakemeops:

[![WakeMeOps](https://docs.wakemeops.com/badges/wakemebot.svg)](https://docs.wakemeops.com/packages/wakemebot)

Building single binary application

Install required build dependencies:

sudo apt install binutils python3-dev
poetry install -E pyinstaller

And run:

poetry run task single_binary_application

Note that if your venv is using a python distribution built using pyenv, pyinstaller may not work.

If this is the case, build inside a docker container, or follow the instructions here: https://pyinstaller.readthedocs.io/en/stable/development/venv.html