-
Notifications
You must be signed in to change notification settings - Fork 580
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
Reorganize Catalog based on Catalog Organization proposal #386
Comments
/assign |
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
**NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…osal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…y according to the new reorg proposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…ing to the new reorg proposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…proposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…proposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…roposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…ew reorg proposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…ng to the new reorg proposal **NOTE: This only modifies the content of the yaml, changing the location of the file will be done in a different commit to make review easier Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds tags for task - adds display name for task - modified description to add a summary Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…ames the yaml file and the directory Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Changes include: - moves create-gitlab-release task to the task directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
…rectroy Changes include: - moves send-to-channel-slack task to the task directory - copies and modifies readme from slackmessage to send-to-channel-slack - copies owners file from slackmessage Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
…rectroy Changes include: - moves send-to-webhook-slack task to the task directory - moves and modifies readme from slackmessage to send-to-webhook-slack - moves owners file from slackmessage Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves github-add-comment task to the task directory - moves and modifies readme from github to github-add-comment - rename the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves github-close-issue task to the task directory - moves and modifies readme from github to github-close-issue - rename the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves github-set-status task to the task directory - moves and modifies readme from github to github-close-issue - rename the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves github-add-labels task to the task directory - rename the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves create-github-release task to the task directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves the gke-deploy task to the task directory - copies and modifies readme file for gke-deploy from gke-deploy directory - copies example directory from gcs directory Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Changes include: - moves the build-push-gke-deploy task to the task directory - moves and modifies readme file from gke-deploy to build-push-gke-deploy - moves examples directory from gke-deploy Issue : tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…ectory Changes include: - moves the openshift-client task to the task directory - copies and modifies readme file for openshift-client task from openshift-client directory - copies OWNERS file from openshift-client directory - changes the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
…ient directory Changes include: - moves the openshift-client-kubecfg task to the task directory - moves and modifies readme file for openshift-client-kubecfg task from openshift-client directory - moves OWNERS file from openshift-client directory - chages the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Changes include: - moves the golang-build task to the task directory - copies and modifies readme file to golang-build task from golang directory - copies OWNERS file from golang directory - copies test directory from golang directory to golang-build task - changes the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Changes include: - moves the golang-test task to the task directory - copies and modifies readme file to golang-test task from golang directory - copies OWNERS file from golang directory - copies test directory from golang directory to golang-test task - changes the yaml filename to match the resource name Issue : tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Changes include: - moves the golangci-lint task to the task directory - moves the OWNERS to golangci-lint task - moves and modifies readme file from golang to golangci-lint task - moves test directory from golang to golangci-lint task - changes the yaml filename to match the resource name Issue: tektoncd#386 Signed-off-by: Shiv Verma <[email protected]>
Changes include: - moves git-batch-merge task to the task directory - copies and modifies readme file for git-batch-merge from git directory - copies examples and tests directory from git directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves git-clone task to the task directory - copies and modifies readme file for git-clone from git directory - copies examples and tests directory from git directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves git-rebase task to the task directory - copies and modifies readme file for git-rebase from git directory - copies examples and tests directory from git directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves git-cli task to the task directory - moves and modifies readme file for git-cli from git directory - moves examples and tests directory from git directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves helm-upgrade-from-source task to the task directory - copies and modifies readme file for helm-upgrade-from-source from helm directory - copies OWNERS,examples and tests directory from helm directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Changes include: - moves helm-upgrade-from-repo task to the task directory - copies and modifies readme file for helm-upgrade-from-repo from helm directory - moves OWNERS,examples and tests directory from helm directory Issue: tektoncd#386 Signed-off-by: Puneet Punamiya <[email protected]>
Is it possible to gain control on task versions from a pipeline? Example scenario: I have a Pipeline resource I wish to distribute. With the current proposal there are some constraints I have to face:
If I could set the task version on a pipeline level, this would not cause problems, Ideal setup would be like: ---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: pipeline
spec:
tasks:
- name: task-from-catalog
taskRef:
name: task-alpha
version: "1.0.1"
- name: task-from-another-catalog
taskRef:
name: task-beta
version: "2.1.1" Since k8s resources of the same kind should have unique names, currently this could be implemented in putting the version to the task name. ---
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: pipeline
spec:
tasks:
- name: task-from-catalog
taskRef:
name: task-alpha-1.0.1
- name: task-from-another-catalog
taskRef:
name: task-beta-2.1.1 With a similar file structure like the proposal
What do you think? Is this an issue? |
So far this is "on the user" to do that, aka including some versionning in their Tasks. So in a gist, this is still an issue — or more accurately this is something we need to work on and fix at some point. There is a bunch of possibilities to explore here:
And of course, we are definitely welcoming any feedback or ideas around this (or anything else really) 😉 |
@necccc Thank for bringing up the concerns, I will try and answer as much as I can
What you are alluding to is an issue we already have with the existing system.
metadata:
labels:
version: 1.0 -> 1.1
annotations:
tekton.dev/dependency-01: official:task:foobar:1.0
tekton.dev/dependency-02: official:task:bar:1.0
tekton.dev/dependency-02: official:condition:bar:1.0
tekton.dev/dependency-03: community:task:bar:1.0
# path: /bundle/openwhisk/1.0
apiVersion: tekton.dev/v1alpha1
kind: Bundle
metadata:
annotations:
labels:
io.kubernetes/version: "1.0"
spec:
catalogs:
- name: foobar, url: http/my/catalog
tasks:
- url: http://github.com/tektoncd/catalog/task/foobar/1.0/foobar.yaml
- catalog: community name: foobar version: 1.0
- catalog: foobar name: foobar version: 1.0
- name: bar
version: 2.0
conditions:
- name: openwhisk, version: 1.8
pipelines:
- name: openwhisk
version: 1.0
- name: openwhisk-knative
version: 2.4
If the task doesn't really change its behaviour i.e. the tests of the existing
We should dicuss this further but I think the OCI artifact (tekton bundle) ---
# ...
spec:
tasks:
- name: task-from-catalog
taskRef:
name: task-alpha
image: task-alpha:1.0.1
- name: task-from-another-catalog
taskRef:
name: task-beta
version: "2.1.1" Perhaps we should see if a
IMHO encoding version information in the name itself isn't a good idea unless
I had considered this while writing the proposal but when you also also
With every design there will be tradeoffs, if we can define the problems in the |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thx @sthaha for the great answer! |
Reorganize Catalog based on Catalog Organization proposal
Expected Behavior
Catalog Organization proposal
Each resource should follow the following structure
minimum pipeline version
supported by the resource,tags
associated with the resource anddisplayName
of the resourceActual Behavior
The text was updated successfully, but these errors were encountered: