From 6769f29a7878668e630a0f58acb218ef23c481b8 Mon Sep 17 00:00:00 2001 From: Jerome Ju Date: Thu, 25 Aug 2022 20:32:40 +0000 Subject: [PATCH] V1: Add conversion for TaskRef.Bundle This commit adds support for TaskRef.Bundle when converting between v1beta1 and v1 versions of TaskRef. This allows us to release v1 TaskRun and PipelineRun in a backwards compatible way by ensuring that v1beta1 TaskRuns and PipelineRuns with Bundle serialized into annotations on the v1 TaskRuns and PipelineRuns on conversion. --- 1 | 36 ++++++++++++++++++ .../pipeline/v1beta1/taskref_conversion.go | 37 ++++++++++++++++++- .../v1beta1/taskrun_conversion_test.go | 34 +++++++++++++++++ 3 files changed, 105 insertions(+), 2 deletions(-) create mode 100644 1 diff --git a/1 b/1 new file mode 100644 index 00000000000..44bd74ee9ac --- /dev/null +++ b/1 @@ -0,0 +1,36 @@ +pick 62d14a3cf V1: Add conversion for TaskRef.Bundle +squash 8c0fde8d7 WIp +squash 475a5bf4a WIP +squash 6cf0a36fc WIP +squash fa576b3ca wip + +# Rebase 64984fcca..fa576b3ca onto 64984fcca (5 commands) +# +# Commands: +# p, pick = use commit +# r, reword = use commit, but edit the commit message +# e, edit = use commit, but stop for amending +# s, squash = use commit, but meld into previous commit +# f, fixup [-C | -c] = like "squash" but keep only the previous +# commit's log message, unless -C is used, in which case +# keep only this commit's message; -c is same as -C but +# opens the editor +# x, exec = run command (the rest of the line) using shell +# b, break = stop here (continue rebase later with 'git rebase --continue') +# d, drop = remove commit +# l, label