peachcloud / peach-package-builder

Python scripts for building peach microservices as packages for Freight repository.
1 stars 0 forks source link

Python script for initializing and updating apt debian repo #2

Closed mhfowler closed 3 years ago

mhfowler commented 3 years ago

With the -i argument, the setup_debian_repo script installs all the dependencies and initializes config files for the debian repo.

Without the -i argument, the setup_debian_repo script just builds all the microservices and re-adds them to the repo using reprepro.

Future possible todos:

mhfowler commented 3 years ago

Also building peach-web currently fails as it says it needs a version of rust nightly for pear

mycognosist commented 3 years ago

@mhfowler

Beautiful work! I like the way you used jinja for rendering config files with variables - very neat. Nice implementation of idempotency checks too :)

You're welcome to merge at your leisure.

mhfowler commented 3 years ago

Sounds like we will do another PR to use freight instead of reprepro, but I'll still merge this and then can do another PR on top of it