captain: uv, logging, remote-Docker fixes, gha enhancements#61
Open
rpardini wants to merge 8 commits intotinkerbell:mainfrom
Open
captain: uv, logging, remote-Docker fixes, gha enhancements#61rpardini wants to merge 8 commits intotinkerbell:mainfrom
uv, logging, remote-Docker fixes, gha enhancements#61rpardini wants to merge 8 commits intotinkerbell:mainfrom
Conversation
…les and dirs instead - this avoids remote-fs errors in mkosi when running against remote Docker daemon (eg: colima, Docker Desktop) - no, one can't simply mount tmpfs to `/work/mkosi.tools` -- mkosi wants to be able to delete it - ideally, `mkosi.output` (a misnomer?) would also be shared across invocations using a Volume (not yet though) Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- so one can use `uv run build.py` without worrying about deps Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- this way we don't overwhelm Debian apt mirrors during development Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- drop all custom logging infra, standardize on logging - introduce Rich for logging & exception handling - replace custom progressbar with Rich's Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- switch from system-breaking `pip` to fully-contained `uv` - let `uv` install Python, don't use Debian's -- we get a single Python version for free - also: use Docker buildx explicitly; use plain output - build/docs: switch from plain Python+pip to uv; mention 3.13 instead of 3.10 - consolidate usage of pyproject.toml; drop old requirements-dev.txt and requirements.txt - docker: run in interactive mode (tty) if isatty(), pass TERM/COLUMNS env - docker: prime `uv`'s caches during Dockerfile build Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- gha/docker: force Rich colored 160-wide console under GHA - pass down GITHUB_ACTIONS env so children can know - gha: reduce apt verbosity drastically with `Dpkg::Use-Pty=0` Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
- so gha stops complaining about Node.js 20 Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
d9d4a1e to
e93f658
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
captain:
uv,logging, remote-Docker fixes,ghaenhancements/work/mkosi.tools-- mkosi wants to be able to delete itmkosi.output(a misnomer?) would also be shared across invocations using a Volume (not yet though)uv run build.pywithout worrying about deps/cache/packagesDocker Volume for download cachinguveverywherepipto fully-containeduvuvinstall Python, don't use Debian's -- we get a single Python version for freeuv's caches during Dockerfile buildDpkg::Use-Pty=0uvinstall instructions and fix log.py and init.py