fix(setup): poetry only when installed, loud docker login, nested mise tools #93
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!93
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/poetry-docker-login"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Renovate's v7 bumps fail in three ways that come from the pipeline, not the callers:
poetry config virtualenvs.in-project trueunconditionally. A uv unit has no poetry, so the step fails withsetup.sh: line 127: poetry: command not found. v6 only ran it for package and image units.docker_loginsends docker's output to/dev/null, and the old-style caller still passesregistry_token, so the job never receivesBOT_REGISTRY_TOKEN.just ci, which runs every unit's recipes, but setup installs only the rootmise.toml, so it fails withcargo: not found(cargo is pinned inservices/janus/mise.toml).Changes:
registry-authrunspoetry configonly when poetry is installed. Private PyPI scopes still go through poetry, as before.setup.sh mise-installalso runsmise installin every directory below the working directory that has amise.toml, skippingnode_modulesand.git. A unit job is unaffected; the repo-root job gets every unit's tools.docker_loginfails withregistry token is not set: the caller must pass secrets: inherit…when the token is empty, and with docker's own message when the login is rejected.Verified:
just lint testpasses (501 bats). New cases cover a Python unit without poetry, an empty token (no docker call is made), a rejected login, and a nestedmise.toml(anode_modulescopy is skipped).Not covered here: career, ergon, games and janus also fail because their callers still hand
registry_tokeninstead ofsecrets: inherit. That is the caller conversion, done on each Renovate PR.Session: 3acdb5a2-9a36-4c5c-9d3c-2e7c6ac1b8e3
fix(setup): poetry only when installed, a failed docker login says whyto fix(setup): poetry only when installed, loud docker login, nested mise tools