Tags: yelongyu/pipeline
Tags
Add variable substitution for PVC name There may be use cases when a Task should initiate a PipelineRun or TaskRun. It can be beneficial to use the **same PVC** in the PipelineRun or TaskRun that is initiated, e.g. populated with cached data or a cloned git repository. When using a workspace with a PersistentVolumeClaim as volume source, the name of the PVC is known, and can be passed as a _param_ in the PipelineRun or TaskRun. But when a VolumeClaimTemplate is used as a volume source, the name is generated. In such use cases, it is useful to be able to "look up" the PVC name using variable substitution. Fixes tektoncd#2505
Fix PipelineTask timeout not correctly set 💦 Those were missing during in the conversion code. This means any Pipeline that defines timeout per tasks ends up with the default one instead of the one set by the user. Signed-off-by: Vincent Demeester <vdemeest@redhat.com> (cherry picked from commit 44656a9)
Fix default-timeout from config not correctly set 😓 Make sure we always read from the config-default map to set the timeout on PipelineRun and TaskRun. Remove the pre 0.5.0 behavior, it has been 6 release since then. Signed-off-by: Vincent Demeester <vdemeest@redhat.com> (cherry picked from commit 44ccf4d)
Invalid Sink URI CloudEvent test sometimes includes quotes In the logs for the latest pipeline nightly we saw a failed unit test for CloudEvents with the following message: ``` TestSendCloudEvent/send_a_cloud_event_with_invalid_sink_URI: cloudevent_test.go:106: I expected an error like invalid_URI: unsupported protocol scheme, but I got Post "invalid_URI": unsupported protocol scheme "" ``` It appears that sometimes the "invalid_URI" part of the error message will include quotes, and sometimes (like when running locally) it won't. This PR updates the regex to allow for these quotes in the error message.
Spelling fixes in our doc Found using `mdspell -a -n --en-us "**/*.md"`. At some point we might want to have a built in ignore dictionary to avoid false positives. (cherry picked from commit 7b87070)
PreviousNext