Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/upciti/wakemebot
Bunch of tools needed in wakemeops CI pipelines
https://github.com/upciti/wakemebot
Last synced: about 1 month ago
JSON representation
Bunch of tools needed in wakemeops CI pipelines
- Host: GitHub
- URL: https://github.com/upciti/wakemebot
- Owner: upciti
- License: mit
- Created: 2021-09-25T14:56:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T14:47:42.000Z (about 1 year ago)
- Last Synced: 2023-12-15T15:57:06.889Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 313 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![cicd](https://github.com/upciti/ops2deb/actions/workflows/cicd.yml/badge.svg)
[![codecov](https://codecov.io/gh/upciti/wakemebot/branch/main/graph/badge.svg)](https://codecov.io/gh/upciti/wakemebot)
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
[![Mypy](https://img.shields.io/badge/type_checked-mypy-informational.svg)](https://mypy.readthedocs.io/en/stable/introduction.html)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![WakeMeOps](https://docs.wakemeops.com/badges/wakemebot.svg)](https://docs.wakemeops.com/packages/wakemebot)# wakemebot
Bunch of tools needed in [wakemeops](https://github.com/upciti/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:
```shell
poetry shell
cd functional-tests
docker-compose up
./test.sh
```## Building WakeMeOps documentation
Create a venv with poetry and start a shell:
```shell
poetry install
poetry shell
```Then build WakeMeOps mkdocs documentation:
```shell
git clone [email protected]:upciti/wakemeops.git
cd wakemeops
mkdocs build
```Wakemebot generates badges for package hosted by wakemeops:
```markdown
[![WakeMeOps](https://docs.wakemeops.com/badges/wakemebot.svg)](https://docs.wakemeops.com/packages/wakemebot)
```## Building single binary application
Install required build dependencies:
```shell
sudo apt install binutils python3-dev
poetry install -E pyinstaller
```And run:
```shell
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