-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Legacy bundle syntax does not work with remote resoruces #6058
Comments
So the remote bundles syntax is:
I'm guessing this is v1 conversion stuff, and it's somehow not setting |
Ah, wait, just checked the actual
...so the |
Oh, that's stupid - |
Legacy bundles are not supported in v0.44.0. Conversion should migrate automatically to the remote resolution syntax, but due to a bug it doesn't work: - tektoncd/pipeline#6058 Migrate all bundle references to the new format to avoid the issue in the convertion. Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
Legacy bundles are not supported in v0.44.0. Conversion should migrate automatically to the remote resolution syntax, but due to a bug it doesn't work: - tektoncd/pipeline#6058 Migrate all bundle references to the new format to avoid the issue in the convertion. Signed-off-by: Andrea Frittoli <andrea.frittoli@uk.ibm.com>
…itive for kind fixes tektoncd#6058 When we finished deprecating the legacy bundle resolution syntax, we recommended users change from: ``` taskRef: name: git-batch-merge bundle: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 ``` to ``` taskRef: resolver: bundles params: - name: bundle value: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 - name: name value: git-batch-merge - name: kind value: Task ``` But that created a problem - we have been comparing the `kind` parameter to the `dev.tekton.image.kind` annotation value in the bundle, which is generally all lower-case. Since we generally use `Task`, `Pipeline`, etc for `kind` values in our syntax, we've created a situation where the "normal" way to specify a `kind`, i.e., capitalized, is not going to work for most, if not all, bundles. To fix this, we're changing the check in the remote bundles resolver to do a case-insensitive comparison. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
…itive for kind fixes tektoncd#6058 When we finished deprecating the legacy bundle resolution syntax, we recommended users change from: ``` taskRef: name: git-batch-merge bundle: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 ``` to ``` taskRef: resolver: bundles params: - name: bundle value: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 - name: name value: git-batch-merge - name: kind value: Task ``` But that created a problem - we have been comparing the `kind` parameter to the `dev.tekton.image.kind` annotation value in the bundle, which is generally all lower-case. Since we generally use `Task`, `Pipeline`, etc for `kind` values in our syntax, we've created a situation where the "normal" way to specify a `kind`, i.e., capitalized, is not going to work for most, if not all, bundles. To fix this, we're changing the check in the remote bundles resolver to do a case-insensitive comparison. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
…itive for kind fixes #6058 When we finished deprecating the legacy bundle resolution syntax, we recommended users change from: ``` taskRef: name: git-batch-merge bundle: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 ``` to ``` taskRef: resolver: bundles params: - name: bundle value: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 - name: name value: git-batch-merge - name: kind value: Task ``` But that created a problem - we have been comparing the `kind` parameter to the `dev.tekton.image.kind` annotation value in the bundle, which is generally all lower-case. Since we generally use `Task`, `Pipeline`, etc for `kind` values in our syntax, we've created a situation where the "normal" way to specify a `kind`, i.e., capitalized, is not going to work for most, if not all, bundles. To fix this, we're changing the check in the remote bundles resolver to do a case-insensitive comparison. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
…itive for kind fixes tektoncd#6058 When we finished deprecating the legacy bundle resolution syntax, we recommended users change from: ``` taskRef: name: git-batch-merge bundle: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 ``` to ``` taskRef: resolver: bundles params: - name: bundle value: gcr.io/tekton-releases/catalog/upstream/git-batch-merge:0.2 - name: name value: git-batch-merge - name: kind value: Task ``` But that created a problem - we have been comparing the `kind` parameter to the `dev.tekton.image.kind` annotation value in the bundle, which is generally all lower-case. Since we generally use `Task`, `Pipeline`, etc for `kind` values in our syntax, we've created a situation where the "normal" way to specify a `kind`, i.e., capitalized, is not going to work for most, if not all, bundles. To fix this, we're changing the check in the remote bundles resolver to do a case-insensitive comparison. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
Expected Behavior
I can use the legacy bundle syntax in Tekton v0.44:
Actual Behavior
Steps to Reproduce the Problem
Additional Info
The text was updated successfully, but these errors were encountered: