You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
start-build should optionally take resource.Builder arguments #1995
changed the title [-]start-build should take optionally take resource.Builder arguments[/-][+]start-build should optionally take resource.Builder arguments[/+]on May 18, 2015
@smarterclayton is it possible for the resource builder to work with subresources right now? I don't think so. start-build is kind of messy because the input object is never created, instead we define a BuildRequest and query the builds/clone or buildConfigs/instantiate endpoints.
I was thinking of not using the resource builder for this, instead parse the cli for type/name args. Thoughts?
Activity
0xmichalis commentedon May 13, 2015
Supporting both syntaxes will make the command more complex for both the end user and the code. How about a change to the resource builder altogether?
smarterclayton commentedon May 13, 2015
We can potentially support a default resource type in builder. It has to be opt in (someone has to explicitly support it).
0xmichalis commentedon May 13, 2015
How about making the
--from-buildflag a boolean that will dictate that default type?smarterclayton commentedon May 13, 2015
Not sure - could go either way.
----- Original Message -----
[-]start-build should take optionally take resource.Builder arguments[/-][+]start-build should optionally take resource.Builder arguments[/+]bparees commentedon Jun 29, 2015
@smarterclayton what's your xargs use case? you can always run "xargs -n 1" for things that don't cleanly handle a stream of input.
bparees commentedon Jun 29, 2015
or is this referring to the "build/my-build-name" format?
smarterclayton commentedon Jun 30, 2015
Yeah
On Jun 29, 2015, at 4:51 PM, Ben Parees [email protected] wrote:
or is this referring to the "build/my-build-name" format?
—
Reply to this email directly or view it on GitHub
#1995 (comment).
0xmichalis commentedon Jul 13, 2015
@smarterclayton is it possible for the resource builder to work with subresources right now? I don't think so.
start-buildis kind of messy because the input object is never created, instead we define a BuildRequest and query thebuilds/cloneorbuildConfigs/instantiateendpoints.I was thinking of not using the resource builder for this, instead parse the cli for type/name args. Thoughts?
smarterclayton commentedon Jul 13, 2015
It is not possible to work with sub resources. I don't think this is a
high priority item - there are other decisions that need to be made.
On Mon, Jul 13, 2015 at 10:21 AM, Michail Kargakis <[email protected]
Clayton Coleman | Lead Engineer, OpenShift