-
-
Notifications
You must be signed in to change notification settings - Fork 477
Open
Labels
Description
Component
cli
Describe the bug
The woodpecker-cli exec command fails when a repository uses an external configuration service instead of local configuration files. The error returned is
FTL error running cli error="could not detect pipeline config"
Steps to reproduce
- Configure an external configuration service for the server (https://woodpecker-ci.org/docs/administration/configuration/server#configuration)
- Register a repository in Woodpecker
- Run a Pipeline
- Download the build
metadata.json - Login to the Server using the
woodpecker-cli - Run
woodpecker-cli exec --metadata-file metadata.json
Expected behavior
The CLI makes a call to the external configuration API to fetch the Workflow configuration or the Workflow configuration is stored in the build metadata, allowing debug builds to execute the exact same logic.
System Info
Woodpecker: 3.11.0
Kubernetes: v1.33.5Additional context
No response
Validations
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Checked that the bug isn't fixed in the
nextversion already [https://woodpecker-ci.org/versions]