Skip to content
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

tkn version reflects pipeline version #503

Closed
wants to merge 1 commit into from

Conversation

waveywaves
Copy link
Member

fixes #463

Changes

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Includes docs (if user facing)
  • Regenerate the manpages and docs with make docs and make man if needed.
  • Run the code checkers with make check
  • Commit messages follow commit message best practices

See the contribution guide
for more details.

Release Notes

release-note

@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign danielhelfand
You can assign the PR to them by writing /assign @danielhelfand in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Dec 6, 2019
@tekton-robot
Copy link
Contributor

Hi @waveywaves. Thanks for your PR.

I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 6, 2019
@piyush-garg
Copy link
Contributor

/ok-to-test
/hold

@tekton-robot tekton-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Dec 6, 2019
@tekton-robot
Copy link
Contributor

@waveywaves: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-tekton-cli-build-cross-tests 3fd3feb link /test pull-tekton-cli-build-cross-tests
pull-tekton-cli-unit-tests 3fd3feb link /test pull-tekton-cli-unit-tests
pull-tekton-cli-integration-tests 3fd3feb link /test pull-tekton-cli-integration-tests

Full PR test history. Your PR dashboard.

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. I understand the commands that are listed here.

Copy link
Member

@chmouel chmouel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit misleading , this refer to the library dependency version not the running pipeline version , interesting for tkn cli devs but not really for our users (and mislead the user)

@vdemeester
Copy link
Member

As @chmouel said, it's gonna be misleading and will always be -dev as this is using it as library. To get the version from the server, we need to query it 👼

@waveywaves
Copy link
Member Author

@vdemeester @chmouel Yeah that makes sense. It would make more sense to have the version to be exposed via the API or on a label in a namespace becuase it will pick up dev :/ I will try that out instead.

@chmouel
Copy link
Member

chmouel commented Dec 9, 2019

maybe i am wrong but i don't think there is a way to do with CRDs?

@vdemeester
Copy link
Member

maybe i am wrong but i don't think there is a way to do with CRDs?

So far, nope 😓

@hrishin
Copy link
Member

hrishin commented Dec 11, 2019

@waveywaves @chmouel @vdemeester how about adding one more end point in pipelines /version, just like it has /metrics end point?

@vdemeester
Copy link
Member

@waveywaves @chmouel @vdemeester how about adding one more end point in pipelines /version, just like it has /metrics end point?

It could work indeed 👼 might required some changes in knative/pkg 👼

@chmouel
Copy link
Member

chmouel commented Jan 15, 2020

Are you updating this @waveywaves ?

@waveywaves
Copy link
Member Author

@chmouel Yes I will be updating it right away !

@waveywaves waveywaves closed this Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: tkn pipeline version
7 participants