-
Notifications
You must be signed in to change notification settings - Fork 4.7k
add option to reverse buildchains #8460
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
Conversation
how does the output handle forking? |
edgeFn := osgraph.EdgesOfKind(edgeKinds...) | ||
sub := g.Subgraph(nodeFn, edgeFn) | ||
|
||
// Filter out inbound edges to the ist of interest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list(?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
list(?)
ist. imagestreamtag
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IST then. (yeah it's nit picky, but it confused me, so....)
wouldn't mind a test case... |
Sure. When I need a break from the rebase I'll write up with some forks to deal with both comments. |
lgtm |
07016d3
to
866fa90
Compare
Test added. Output:
|
866fa90
to
c00be27
Compare
c00be27
to
8253373
Compare
8253373
to
1e65fd2
Compare
[merge] |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3279/) (Image: devenv-rhel7_4039) |
Evaluated for origin merge up to 1e65fd2 |
[Test]ing while waiting on the merge queue |
Evaluated for origin test up to 1e65fd2 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/3279/) |
This allows a user to start with an istag and find all the builds and images that lead to it.
oc process -f examples/sample-app/application-template-stibuild.json -l build=sti | oc create -f - [deads@deads-dev-01 origin]$ oadm build-chain istag/origin-ruby-sample --reverse istag/origin-ruby-sample:latest bc/ruby-sample-build istag/ruby-22-centos7:latest
@bparees @Kargakis