Repository navigation
logs: View logs from older deployments/builds with --version - #5393
Conversation
|
Docs here: openshift/openshift-docs#879 |
There was a problem hiding this comment.
This is currently an int, I'd like to see it as an int until we have a reason to loosen it.
There was a problem hiding this comment.
Since you're here and builds also have numbers, can you wire that up as well?
There was a problem hiding this comment.
Since you're here and builds also have numbers, can you wire that up as well?
Currently in deployments the object gets resolved in the server while in builds we do this in the client. What you are asking for can only be achieved by adding a version field in BuildLogOptions and doing the same thing that already happens in deployments (or we could continue to resolve the object in the client but that would still be incosistent). Is this fine?
There was a problem hiding this comment.
Also what should happen if someone hit oc logs build/ruby-1 --version=2? I guess we should error out?
There was a problem hiding this comment.
Also what should happen if someone hit oc logs build/ruby-1 --version=2? I guess we should error out?
yes
There was a problem hiding this comment.
Currently in deployments the object gets resolved in the server while in builds we do this in the client. What you are asking for can only be achieved by adding a version field in BuildLogOptions and doing the same thing that already happens in deployments (or we could continue to resolve the object in the client but that would still be incosistent). Is this fine?
Adding to BuildLogOptions and using to resolve client side would work. Seems like we might want a bc/logs endpoint, but that's out of scope for this.
|
[test] |
There was a problem hiding this comment.
We don't really need to serialize this... But for the sake of completion.
There was a problem hiding this comment.
why the explicit dereference?
There was a problem hiding this comment.
nm. i see the field is a ptr.
|
Docs for build logs: openshift/openshift-docs#1112 |
There was a problem hiding this comment.
This shouldn't work. test-cmd only starts a master, no nodes, so the pod shouldn't ever be in a running state.
There was a problem hiding this comment.
It indeed didn't. Will move to e2e
|
Comment on a test that I don't think will work. lgtm otherwise. |
|
new-app flake re[test] |
|
bunch of questions but basically lgtm. |
|
Merge removed, this doesn't have API approval. |
|
@openshift/api-review needs to [test] at least |
There was a problem hiding this comment.
Should this be consistent with DeploymentLogOptions.Version?
origin/pkg/deploy/api/types.go
Line 379 in d92321d
There was a problem hiding this comment.
updated both LogOptions objects to use int64
|
[merge] |
|
|
And from the test tag, again the UI failure |
|
[merge] |
|
[merge] no 12 |
|
btw the last merge didn't even run:( |
|
🙏 🙏 🙏 🙏 🙏 |
|
have you had a clean test run? are we sure nothing in this PR is causing failures (sprinkled among other actual flakes)? |
His latest test made it to the UI e2e and flaked there: |
|
I'm merging #5396 and then will rebase this and try again Maybe the 13th will be the lucky one:) |
|
A note - if you see flakes, make sure there is an issue open for each one. On Fri, Oct 30, 2015 at 11:33 AM, David Eads [email protected]
|
|
[test] |
|
re[test] |
It's impossible to get past this failure... |
|
[test] On Oct 30, 2015, at 5:41 PM, OpenShift Bot [email protected] wrote: continuous-integration/openshift-jenkins/test FAILURE ( — |
|
Are you sure you didn't break the UI test by kicking off a second build in the e2e? This is the error: And this is what the UI is looking for: |
|
I think it is likely your second build made the currently shown deployment use build |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/3884/) (Image: devenv-rhel7_2616) |
|
Evaluated for origin merge up to f5305c5 |
|
registry flake re[test] |
|
[test] |
2 similar comments
|
[test] |
|
[test] |
|
Evaluated for origin test up to f5305c5 |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/6553/) |
Merged by openshift-bot
|
🌞 |
Fixes #5163
Fixes #5512
@smarterclayton @ironcladlou @deads2k
Docs: openshift/openshift-docs#879 + openshift/openshift-docs#1112