-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
This template provides workspaces for both Linux (cargo-home, cypress-cache) and Darwin (mac-ssh-credentials) platforms unconditionally. This will cause pipeline runs to fail. When os=linux, the pingcap-build-package-linux pipeline will be used, which does not define the mac-ssh-credentials workspace. Similarly, when os=darwin, the pingcap-build-package-darwin pipeline will be used, which does not define cargo-home or cypress-cache. Providing a workspace to a PipelineRun that is not declared in the Pipeline is a fatal error in Tekton.
To fix this, you could:
- Split this into two separate templates, one for Linux and one for Darwin, each with the correct workspaces.
- Modify the underlying
pingcap-build-package-linuxandpingcap-build-package-darwinpipelines to declare all these workspaces as optional. However, this might make the pipelines less clear.
Originally posted by @gemini-code-assist[bot] in #3768 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
📋 Backlog