ResultFAILURE
Tests 0 failed / 0 succeeded
Started2025-08-07 07:11
Elapsed4m0s
Revision4f8871318aad71bf65ae3050c3b58ec76f5442ba
Refs 1774

No Test Failures!


Error lines from build-log.txt

... skipping 372 lines ...
vendor/github.com/google/cel-go/common/debug/debug.go
vendor/github.com/google/cel-go/common/decls/BUILD.bazel
vendor/github.com/google/cel-go/common/decls/decls.go
vendor/github.com/google/cel-go/common/doc.go
vendor/github.com/google/cel-go/common/env/BUILD.bazel
vendor/github.com/google/cel-go/common/env/env.go
vendor/github.com/google/cel-go/common/error.go
vendor/github.com/google/cel-go/common/errors.go
vendor/github.com/google/cel-go/common/runes/buffer.go
vendor/github.com/google/cel-go/common/source.go
vendor/github.com/google/cel-go/common/stdlib/BUILD.bazel
vendor/github.com/google/cel-go/common/stdlib/standard.go
vendor/github.com/google/cel-go/common/types/BUILD.bazel
... skipping 4865 lines ...
+}
+
+var scheduledtemplatesResource = v1alpha1.SchemeGroupVersion.WithResource("scheduledtemplates")
+
+var scheduledtemplatesKind = v1alpha1.SchemeGroupVersion.WithKind("ScheduledTemplate")
+
+// Get takes name of the scheduledTemplate, and returns the corresponding scheduledTemplate object, and an error if there is any.
+func (c *FakeScheduledTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	obj, err := c.Fake.
+		Invokes(testing.NewGetAction(scheduledtemplatesResource, c.ns, name), &v1alpha1.ScheduledTemplate{})
+
+	if obj == nil {
+		return nil, err
+	}
+	return obj.(*v1alpha1.ScheduledTemplate), err
+}
+
+// List takes label and field selectors, and returns the list of ScheduledTemplates that match those selectors.
+func (c *FakeScheduledTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScheduledTemplateList, err error) {
+	obj, err := c.Fake.
+		Invokes(testing.NewListAction(scheduledtemplatesResource, scheduledtemplatesKind, c.ns, opts), &v1alpha1.ScheduledTemplateList{})
+
+	if obj == nil {
+		return nil, err
+	}
... skipping 9 lines ...
+		}
+	}
+	return list, err
+}
+
+// Watch returns a watch.Interface that watches the requested scheduledTemplates.
+func (c *FakeScheduledTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
+	return c.Fake.
+		InvokesWatch(testing.NewWatchAction(scheduledtemplatesResource, c.ns, opts))
+
+}
+
+// Create takes the representation of a scheduledTemplate and creates it.  Returns the server's representation of the scheduledTemplate, and an error, if there is any.
+func (c *FakeScheduledTemplates) Create(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.CreateOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	obj, err := c.Fake.
+		Invokes(testing.NewCreateAction(scheduledtemplatesResource, c.ns, scheduledTemplate), &v1alpha1.ScheduledTemplate{})
+
+	if obj == nil {
+		return nil, err
+	}
+	return obj.(*v1alpha1.ScheduledTemplate), err
+}
+
+// Update takes the representation of a scheduledTemplate and updates it. Returns the server's representation of the scheduledTemplate, and an error, if there is any.
+func (c *FakeScheduledTemplates) Update(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	obj, err := c.Fake.
+		Invokes(testing.NewUpdateAction(scheduledtemplatesResource, c.ns, scheduledTemplate), &v1alpha1.ScheduledTemplate{})
+
+	if obj == nil {
+		return nil, err
+	}
+	return obj.(*v1alpha1.ScheduledTemplate), err
+}
+
+// UpdateStatus was generated because the type contains a Status member.
+// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
+func (c *FakeScheduledTemplates) UpdateStatus(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (*v1alpha1.ScheduledTemplate, error) {
+	obj, err := c.Fake.
+		Invokes(testing.NewUpdateSubresourceAction(scheduledtemplatesResource, "status", c.ns, scheduledTemplate), &v1alpha1.ScheduledTemplate{})
+
+	if obj == nil {
+		return nil, err
+	}
+	return obj.(*v1alpha1.ScheduledTemplate), err
+}
+
+// Delete takes name of the scheduledTemplate and deletes it. Returns an error if one occurs.
+func (c *FakeScheduledTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {
+	_, err := c.Fake.
+		Invokes(testing.NewDeleteActionWithOptions(scheduledtemplatesResource, c.ns, name, opts), &v1alpha1.ScheduledTemplate{})
+
+	return err
 }
 
... skipping 13 lines ...
-			func(list *v1alpha1.ScheduledTemplateList, items []*v1alpha1.ScheduledTemplate) {
-				list.Items = gentype.FromPointerSlice(items)
-			},
-		),
-		fake,
+// DeleteCollection deletes a collection of objects.
+func (c *FakeScheduledTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
+	action := testing.NewDeleteCollectionAction(scheduledtemplatesResource, c.ns, listOpts)
+
+	_, err := c.Fake.Invokes(action, &v1alpha1.ScheduledTemplateList{})
+	return err
+}
+
+// Patch applies the patch and returns the patched scheduledTemplate.
+func (c *FakeScheduledTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScheduledTemplate, err error) {
+	obj, err := c.Fake.
+		Invokes(testing.NewPatchSubresourceAction(scheduledtemplatesResource, c.ns, name, pt, data, subresources...), &v1alpha1.ScheduledTemplate{})
+
+	if obj == nil {
+		return nil, err
 	}
... skipping 34 lines ...
 
 // ScheduledTemplatesGetter has a method to return a ScheduledTemplateInterface.
@@ -37,34 +38,158 @@ type ScheduledTemplatesGetter interface
 
 // ScheduledTemplateInterface has methods to work with ScheduledTemplate resources.
 type ScheduledTemplateInterface interface {
-	Create(ctx context.Context, scheduledTemplate *triggersv1alpha1.ScheduledTemplate, opts v1.CreateOptions) (*triggersv1alpha1.ScheduledTemplate, error)
-	Update(ctx context.Context, scheduledTemplate *triggersv1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (*triggersv1alpha1.ScheduledTemplate, error)
-	// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
-	UpdateStatus(ctx context.Context, scheduledTemplate *triggersv1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (*triggersv1alpha1.ScheduledTemplate, error)
+	Create(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.CreateOptions) (*v1alpha1.ScheduledTemplate, error)
+	Update(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (*v1alpha1.ScheduledTemplate, error)
+	UpdateStatus(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (*v1alpha1.ScheduledTemplate, error)
 	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
 	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
-	Get(ctx context.Context, name string, opts v1.GetOptions) (*triggersv1alpha1.ScheduledTemplate, error)
-	List(ctx context.Context, opts v1.ListOptions) (*triggersv1alpha1.ScheduledTemplateList, error)
+	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.ScheduledTemplate, error)
+	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ScheduledTemplateList, error)
 	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
-	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *triggersv1alpha1.ScheduledTemplate, err error)
+	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScheduledTemplate, err error)
 	ScheduledTemplateExpansion
 }
 
 // scheduledTemplates implements ScheduledTemplateInterface
 type scheduledTemplates struct {
-	*gentype.ClientWithList[*triggersv1alpha1.ScheduledTemplate, *triggersv1alpha1.ScheduledTemplateList]
... skipping 14 lines ...
-		),
+		client: c.RESTClient(),
+		ns:     namespace,
 	}
 }
+
+// Get takes name of the scheduledTemplate, and returns the corresponding scheduledTemplate object, and an error if there is any.
+func (c *scheduledTemplates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	result = &v1alpha1.ScheduledTemplate{}
+	err = c.client.Get().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		Name(name).
+		VersionedParams(&options, scheme.ParameterCodec).
+		Do(ctx).
+		Into(result)
+	return
+}
+
+// List takes label and field selectors, and returns the list of ScheduledTemplates that match those selectors.
+func (c *scheduledTemplates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ScheduledTemplateList, err error) {
+	var timeout time.Duration
+	if opts.TimeoutSeconds != nil {
+		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
+	}
+	result = &v1alpha1.ScheduledTemplateList{}
+	err = c.client.Get().
... skipping 4 lines ...
+		Do(ctx).
+		Into(result)
+	return
+}
+
+// Watch returns a watch.Interface that watches the requested scheduledTemplates.
+func (c *scheduledTemplates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
+	var timeout time.Duration
+	if opts.TimeoutSeconds != nil {
+		timeout = time.Duration(*opts.TimeoutSeconds) * time.Second
+	}
+	opts.Watch = true
+	return c.client.Get().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		VersionedParams(&opts, scheme.ParameterCodec).
+		Timeout(timeout).
+		Watch(ctx)
+}
+
+// Create takes the representation of a scheduledTemplate and creates it.  Returns the server's representation of the scheduledTemplate, and an error, if there is any.
+func (c *scheduledTemplates) Create(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.CreateOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	result = &v1alpha1.ScheduledTemplate{}
+	err = c.client.Post().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		VersionedParams(&opts, scheme.ParameterCodec).
+		Body(scheduledTemplate).
+		Do(ctx).
+		Into(result)
+	return
+}
+
+// Update takes the representation of a scheduledTemplate and updates it. Returns the server's representation of the scheduledTemplate, and an error, if there is any.
+func (c *scheduledTemplates) Update(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	result = &v1alpha1.ScheduledTemplate{}
+	err = c.client.Put().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		Name(scheduledTemplate.Name).
+		VersionedParams(&opts, scheme.ParameterCodec).
... skipping 2 lines ...
+		Into(result)
+	return
+}
+
+// UpdateStatus was generated because the type contains a Status member.
+// Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
+func (c *scheduledTemplates) UpdateStatus(ctx context.Context, scheduledTemplate *v1alpha1.ScheduledTemplate, opts v1.UpdateOptions) (result *v1alpha1.ScheduledTemplate, err error) {
+	result = &v1alpha1.ScheduledTemplate{}
+	err = c.client.Put().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		Name(scheduledTemplate.Name).
+		SubResource("status").
+		VersionedParams(&opts, scheme.ParameterCodec).
+		Body(scheduledTemplate).
+		Do(ctx).
+		Into(result)
+	return
+}
+
+// Delete takes name of the scheduledTemplate and deletes it. Returns an error if one occurs.
+func (c *scheduledTemplates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {
+	return c.client.Delete().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		Name(name).
+		Body(&opts).
+		Do(ctx).
+		Error()
+}
+
+// DeleteCollection deletes a collection of objects.
+func (c *scheduledTemplates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error {
+	var timeout time.Duration
+	if listOpts.TimeoutSeconds != nil {
+		timeout = time.Duration(*listOpts.TimeoutSeconds) * time.Second
+	}
+	return c.client.Delete().
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		VersionedParams(&listOpts, scheme.ParameterCodec).
+		Timeout(timeout).
+		Body(&opts).
+		Do(ctx).
+		Error()
+}
+
+// Patch applies the patch and returns the patched scheduledTemplate.
+func (c *scheduledTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ScheduledTemplate, err error) {
+	result = &v1alpha1.ScheduledTemplate{}
+	err = c.client.Patch(pt).
+		Namespace(c.ns).
+		Resource("scheduledtemplates").
+		Name(name).
+		SubResource(subresources...).
... skipping 73 lines ...
 
 // ScheduledTemplateLister helps list ScheduledTemplates.
@@ -30,7 +30,7 @@ import (
 type ScheduledTemplateLister interface {
 	// List lists all ScheduledTemplates in the indexer.
 	// Objects returned here must be treated as read-only.
-	List(selector labels.Selector) (ret []*triggersv1alpha1.ScheduledTemplate, err error)
+	List(selector labels.Selector) (ret []*v1alpha1.ScheduledTemplate, err error)
 	// ScheduledTemplates returns an object that can list and get ScheduledTemplates.
 	ScheduledTemplates(namespace string) ScheduledTemplateNamespaceLister
 	ScheduledTemplateListerExpansion
@@ -38,17 +38,25 @@ type ScheduledTemplateLister interface {
 
 // scheduledTemplateLister implements the ScheduledTemplateLister interface.
... skipping 6 lines ...
 func NewScheduledTemplateLister(indexer cache.Indexer) ScheduledTemplateLister {
-	return &scheduledTemplateLister{listers.New[*triggersv1alpha1.ScheduledTemplate](indexer, triggersv1alpha1.Resource("scheduledtemplate"))}
+	return &scheduledTemplateLister{indexer: indexer}
+}
+
+// List lists all ScheduledTemplates in the indexer.
+func (s *scheduledTemplateLister) List(selector labels.Selector) (ret []*v1alpha1.ScheduledTemplate, err error) {
+	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
+		ret = append(ret, m.(*v1alpha1.ScheduledTemplate))
+	})
+	return ret, err
 }
 
... skipping 5 lines ...
 
 // ScheduledTemplateNamespaceLister helps list and get ScheduledTemplates.
@@ -56,15 +64,36 @@ func (s *scheduledTemplateLister) Schedu
 type ScheduledTemplateNamespaceLister interface {
 	// List lists all ScheduledTemplates in the indexer for a given namespace.
 	// Objects returned here must be treated as read-only.
-	List(selector labels.Selector) (ret []*triggersv1alpha1.ScheduledTemplate, err error)
+	List(selector labels.Selector) (ret []*v1alpha1.ScheduledTemplate, err error)
 	// Get retrieves the ScheduledTemplate from the indexer for a given namespace and name.
 	// Objects returned here must be treated as read-only.
-	Get(name string) (*triggersv1alpha1.ScheduledTemplate, error)
+	Get(name string) (*v1alpha1.ScheduledTemplate, error)
 	ScheduledTemplateNamespaceListerExpansion
 }
 
 // scheduledTemplateNamespaceLister implements the ScheduledTemplateNamespaceLister
 // interface.
 type scheduledTemplateNamespaceLister struct {
-	listers.ResourceIndexer[*triggersv1alpha1.ScheduledTemplate]
+	indexer   cache.Indexer
+	namespace string
+}
+
+// List lists all ScheduledTemplates in the indexer for a given namespace.
+func (s scheduledTemplateNamespaceLister) List(selector labels.Selector) (ret []*v1alpha1.ScheduledTemplate, err error) {
+	err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
+		ret = append(ret, m.(*v1alpha1.ScheduledTemplate))
+	})
+	return ret, err
+}
+
+// Get retrieves the ScheduledTemplate from the indexer for a given namespace and name.
+func (s scheduledTemplateNamespaceLister) Get(name string) (*v1alpha1.ScheduledTemplate, error) {
+	obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name)
+	if err != nil {
+		return nil, err
+	}
+	if !exists {
+		return nil, errors.NewNotFound(v1alpha1.Resource("scheduledtemplate"), name)
... skipping 2 lines ...
 }
/home/prow/go/src/github.com/tektoncd/triggers is out of date. Please run hack/update-codegen.sh
-----------------------------------------
---- Checking for forbidden licenses ----
-----------------------------------------
============================
==== BUILD TESTS FAILED ====
============================
+ EXIT_VALUE=1
+ set +o xtrace