My woodpecker plugin can't read files from cloned repository #6199
-
|
So, I've implemented a plugin to manage release PRs of my Rust projects using the release-plz tool. Here is the bash script: https://codeberg.org/JasterV/docker/src/branch/main/release-plz/update-pr.sh (Have in mind it contains a few commands that I've added to try to debug whats going on) The problem is that when I run This is very weird because I added --- Running release-plz update --- ./src: // Output of running 2026-03-05T17:42:57.771205Z ERROR release_plz: /usr/local/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/release-plz-0.3.156/src/main.rs:22: Failed to read metadata from manifest at ./Cargo.toml Caused by: Caused by: Am I missing something that I should consider? Why is the script not able to read the Cargo.toml? I've ran it locally in my local project and it works fine:( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
This looks weird indeed. Is |
Beta Was this translation helpful? Give feedback.
I've identified the issue! Basically the
No such file or directoryerror was caused because the docker image didn't contain thecargocommand.I didn't think
cargowas necessary for therelease-plzbinary to run, and the error message is not clear about itSo anyway, it wasn't a problem of woodpecker after all :)