https://github.com/upciti/wakemebot
Bunch of tools needed in wakemeops CI pipelines
https://github.com/upciti/wakemebot
Last synced: 5 months 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 (over 1 year ago)
- Last Synced: 2023-12-15T15:57:06.889Z (over 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

[](https://codecov.io/gh/upciti/wakemebot)
[](https://lbesson.mit-license.org/)
[](https://mypy.readthedocs.io/en/stable/introduction.html)
[](https://github.com/ambv/black)
[](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
[](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