-
-
Notifications
You must be signed in to change notification settings - Fork 457
Closed
Labels
Description
Component
agent
Describe the bug
Service.spec.ports
is required and not being passed.
Same environment and pipeline of #1232. This time using agent version next-3130a1c5
. The error is:
default/woodpecker-woodpecker-agent-56df456494-b62fg[woodpecker-agent]: {
"level": "error",
"error": "rpc error: code = Unknown desc = Proc finished with exitcode 1, Service \"wp-0-3996753301819885534-services-0\" is invalid: spec.ports: Required value",
"time": "2022-10-07T21:27:22Z",
"message": "grpc error: wait(): code: Unknown: rpc error: code = Unknown desc = Proc finished with exitcode 1, Service \"wp-0-3996753301819885534-services-0\" is invalid: spec.ports: Required value"
}
I see that kubernetes.Service
has a ports
parameter but all calls are done with an empty array as its value.
System Info
{"source":"https://github.com/woodpecker-ci/woodpecker","version":"next-3130a1c5"}
Additional context
No response
Validations
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.