Coder Social home page Coder Social logo

Comments (5)

cppforlife avatar cppforlife commented on June 8, 2024

interesting, what does knctl build show -b xxx output?

from knctl.

drnic avatar drnic commented on June 8, 2024

@cppforlife the show output says Succeeded at the end.

This test was done with nightly build of Knative Build

kubectl apply -f https://storage.googleapis.com/knative-releases/build/latest/release.yaml --wait

from knctl.

cppforlife avatar cppforlife commented on June 8, 2024

looks like in later versions of knative, following

  conditions:
  - lastTransitionTime: 2018-11-06T01:02:26Z
    status: "True"
    type: Succeeded

cannot be parsed via

// BuildCondition defines a readiness condition for a Build.
// See: https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#typical-status-properties
type BuildCondition struct {
	Type BuildConditionType `json:"state"`

	Status corev1.ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`

	// +optional
	Reason string `json:"reason,omitempty" description:"one-word CamelCase reason for the condition's last transition"`
	// +optional
	Message string `json:"message,omitempty" description:"human-readable message indicating details about last transition"`
}

from knctl.

cppforlife avatar cppforlife commented on June 8, 2024

once knative 0.2.0 is release, knctl will be updated to use new apis. since upstream knative will not fix this issue, i m going to close this here. future version of knative will be more careful about changing apis.

from knctl.

cppforlife avatar cppforlife commented on June 8, 2024

decided to fix it as im updating knctl to knative 0.2.x: c1a73da

from knctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.