Commit Graph

1987 Commits

Author SHA1 Message Date
Matej Vašek aae2683231
Make build binds more similar to runtime binds (#2768)
* Make build binds more similar to runtime binds

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Added comments on struct

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-03 10:19:05 +00:00
Matej Vašek fc750a283a
S2I (source-to-image) host binds (#2766)
* Added tests for s2i build with private Go module

The test is for now skipped since host binds are not yet implemented for s2i.

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* User "host" network mode for s2i build on Linux

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Implement host binds for local s2i build

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-03 09:13:05 +00:00
Matej Vašek 2d3962401d
Improvements for Go s2i assembler (#2765)
* Return error code when compilation was not done
* Run `go mod tidy` on scaffoded code

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-02 17:17:05 +00:00
Luke Kingland 9f6a135702
Python Middleware v2 Scaffolding (#2685)
* refactor python http template

* python http scaffolding

* add python to make update-runtimes

* integrate python scaffolding with func run

* python http template

* reorganize python scaffolding

* cancellation stopgap

* documentation and logging cleanup

* Python Middleware v2 - Scaffolding

* base layer cache

* remove wsgi and flask templates

Inbuilt templates should be limited to a base http and cloudevent
integration, with anything beyond this falling to the officially
supported functions samples repository.

* update python cloudevents runtime in makefile

* python cloudevents middleware

* add python .venvs to gitignore

* clean up venvs on make

* add missing dependencies to python http tempklate

* set python cloudevents manifest

* further cleanup of repository impl

* cleanup

* ignore venv when building runtime container

* set listen address on python container

* remove unnecessary python runtime update from makefile

* remove debug statements and improved comments

* enable scaffolding python funcs in s2i builder

* set listen address on all containers built by s2i

* python s2i integration

* regen fs

* cleanup

* enable host builder

* fix manifest inheritance

* regen fs

* bug fixes

* regen docs

* cleanup and linter error fixes

* conditional python host builder test

* misspellings

* disable python E2E

Until the Python middleware is supported by the Pack builder, the E2E
tests will need to be disabled.

* install python for presubmit tests

* use linux for test builder runs

The target platform for a test needs to be a platform which is available
in all test base images.  That's usually linux.  Using current OS would
fail, for example, building python containers on MacOS because the
official Python base image has no darwin layer.

* fix ineffasign

* set python ce template to python 3.9

* regen fs

* windows python tests

* python templates README
2025-04-02 10:44:05 +00:00
Matej Vašek 36803160d5
Use s2i in standard mode, not "as-dockerfile" (#2764)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-02 06:15:03 +00:00
Matej Vašek b6bfb2d960
Allow host mounts for build phahse (#2753)
* Allow host mounts for build pahse.

This is in particular useful for using paket bindings,
e.g. to inject git credentials into build process.

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* Mark test as a integration test

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* fixup: style

Signed-off-by: Matej Vašek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-04-01 15:37:03 +00:00
Knative Automation c7a95dd81b
Update community files (#2763)
Signed-off-by: Knative Automation <automation@knative.team>
2025-03-31 02:07:06 +00:00
github-actions[bot] d8f6ceba07
chore: update Quarkus platform version to 3.21.0 (#2761)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-26 18:33:44 +00:00
github-actions[bot] d4506e32dd
update components (#2760)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-25 12:45:45 +00:00
Kapil Sareen 335b6c29fa
removes redundant default labels and annotations (#2746)
Signed-off-by: KapilSareen <kapilsareen584@gmail.com>
2025-03-24 11:42:57 +00:00
github-actions[bot] 234c442421
chore: update Springboot platform version to 3.4.4 (#2758)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-21 06:52:16 +00:00
Shubham Rasal e9dfba995c
Update CONTRIBUTING.md (#2755)
Typo fixes.
2025-03-20 11:45:16 +00:00
github-actions[bot] 7216de194d
chore: update Quarkus platform version to 3.19.4 (#2754)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-20 11:19:16 +00:00
Matej Vašek 77e43bc8c6
Test adjustments (#2751)
* Use tiny instead of base BP builder.
* Decrease minimal required Go version.
* Make the self-signed certificate CA==true so it works with update-ca-trust utility.

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-03-19 14:05:15 +00:00
Jefferson Ramos 598c5e237f
test: adding workflow to test against podman nightly build (#2743) 2025-03-19 12:17:14 +00:00
David Fridrich 817c77bbec
fix flaky unit test (#2749)
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
2025-03-18 14:56:14 +00:00
Matej Vašek 525761a199
Trust loopback builders (#2750)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-03-18 12:46:17 +00:00
Matej Vašek 24a7fedadd
Add testcase for Go private repositories (#2748)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-03-17 03:49:36 +00:00
Matej Vašek 90624a8725
Add git BP to our Go detection group (#2747)
* Add git BP to our Go detection group

Signed-off-by: Matej Vašek <mvasek@redhat.com>

* make git bp optional

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-03-17 03:03:36 +00:00
Matej Vašek a351afdc9b
Fix http port 433 => 443 (#2742) 2025-03-14 06:30:38 +00:00
github-actions[bot] a051e829e2
chore: update Quarkus platform version to 3.19.3 (#2744)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-13 06:55:38 +00:00
David Fridrich 180b1eea0e
golangci bump (#2741)
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
2025-03-11 15:55:37 +00:00
David Fridrich f66b67aa8f
Add a retry functionality to workflows (#2739)
* retry functionality for lifestyle e2e test

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* attempt multiple cluster allocs

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* delete cluster before retry

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* fix

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* better output

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* retry allocate in all workflows

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* add a timer

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* add timers to ci

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

---------

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
2025-03-11 12:32:37 +00:00
Knative Automation e0e79957f1
upgrade to latest dependencies (#2740)
bumping knative.dev/serving 636392e...c09ff6c:
  > c09ff6c Update net-gateway-api nightly (# 15806)
bumping knative.dev/eventing eb3dd80...ec8a208:
  > ec8a208 [Automated] Update eventing-eventing-integrations nightly (# 8516)

Signed-off-by: Knative Automation <automation@knative.team>
2025-03-11 06:16:35 +00:00
Matej Vašek 2b831f9b2e
Remove direct dep on golang.org/x/exp (#2695)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-03-10 18:14:36 +00:00
github-actions[bot] fa79d313e0
update components (#2738)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-10 11:37:04 +00:00
Knative Automation 7e357eb574
upgrade to latest dependencies (#2737)
bumping knative.dev/eventing fe83e25...eb3dd80:
  > eb3dd80 Enable Cert Manager (# 8509)
  > 615a071 Allow storage-version-migration job to successfully run when optional CRDs are not installed (inmemorychannels, etc) (# 8510)

Signed-off-by: Knative Automation <automation@knative.team>
2025-03-06 14:06:07 +00:00
github-actions[bot] 0bb27b7bcc
chore: update Quarkus platform version to 3.19.2 (#2735)
Co-authored-by: Knative Automation <automation@knative.team>
2025-03-06 14:06:00 +00:00
Kapil Sareen 4ade4ab3d9
refactor data member of the InvokeMessage to be []byte (#2733)
Signed-off-by: KapilSareen <kapilsareen584@gmail.com>
2025-03-06 13:45:00 +00:00
David Fridrich 51a14ccf23
fix action version (#2736)
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
2025-03-06 12:24:01 +00:00
Knative Automation 7ce6373fd0
upgrade to latest dependencies (#2734)
bumping knative.dev/serving e067066...636392e:
  > 636392e Update net-kourier nightly (# 15804)
  > ee523c0 Update net-istio nightly (# 15805)

Signed-off-by: Knative Automation <automation@knative.team>
2025-03-06 07:27:00 +00:00
Knative Automation fd43db95a6
upgrade to latest dependencies (#2730)
bumping knative.dev/serving 0210658...e067066:
  > e067066 Update net-gateway-api nightly (# 15803)
  > f2aa6e3 Update net-kourier nightly (# 15796)
  > b06a773 Bump the github-actions group with 3 updates (# 15800)

Signed-off-by: Knative Automation <automation@knative.team>
2025-03-04 06:52:57 +00:00
Kapil Sareen 04100c8dd8
Adds Inline JSON schema reference in func.yaml (#2729)
Signed-off-by: KapilSareen <kapilsareen584@gmail.com>
2025-03-03 05:06:14 +00:00
Knative Automation c14ff995c6
upgrade to latest dependencies (#2728)
bumping knative.dev/eventing 3153b47...fe83e25:
  > fe83e25 EventTransform: add reconciler unit tests (# 8513)
  > 1e889be SinkBinding: Set specific conditions for reconciler steps (# 8508)
  > 6073039 [main] Upgrade to latest dependencies (# 8512)
bumping knative.dev/serving 87c07ee...0210658:
  > 0210658 upgrade to latest dependencies (# 15793)
bumping knative.dev/networking 2cde432...863b7af:
  > 863b7af fix linter config (# 1049)
  > 1aaade7 upgrade to latest dependencies (# 1047)
  > d23278a Update community files (# 1048)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-28 06:10:32 +00:00
Knative Automation d4cfaa93e0
upgrade to latest dependencies (#2726)
bumping github.com/google/go-cmp c3ad843...9b12f36:
  > 9b12f36 Detect proto.Message types when failing to export a field (# 370)
  > 4dd3d63 fix: type 'aribica' => 'arabica' (# 368)
  > 391980c Support compare functions with SortSlices and SortMaps (# 367)
bumping knative.dev/pkg 9e26561...0372c08:
  > 0372c08 Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (# 3152)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-27 06:20:28 +00:00
github-actions[bot] e81df11734
chore: update Quarkus platform version to 3.19.1 (#2725)
Co-authored-by: Knative Automation <automation@knative.team>
2025-02-26 20:22:30 +00:00
Kapil Sareen 91daa09682
Bug: Fixes Incorrect Implementation of --file Option (#2715)
Signed-off-by: KapilSareen <kapilsareen584@gmail.com>
2025-02-26 19:23:29 +00:00
Knative Automation 0f0b53630b
upgrade to latest dependencies (#2723)
bumping knative.dev/eventing adaafa2...3153b47:
  > 3153b47 EventTransform: Inject tracing configurations (# 8479)
  > db0cf43 Update to the correct file (# 8507)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-26 16:09:29 +00:00
Matej Vašek 809ccc6db6
Update pack dep (#2696)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-02-26 13:39:29 +00:00
Knative Automation 98fd887cac
upgrade to latest dependencies (#2722)
bumping knative.dev/eventing 714deeb...adaafa2:
  > adaafa2 [Automated] Update eventing-eventing-integrations nightly (# 8506)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-26 13:06:29 +00:00
Kapil Sareen a1589c9130
updates node templates to ignore node_modules in .gitignore (#2713)
Signed-off-by: KapilSareen <kapilsareen584@gmail.com>
2025-02-26 12:48:28 +00:00
Knative Automation cad00d7a16
upgrade to latest dependencies (#2718)
bumping knative.dev/eventing ae049c8...714deeb:
  > 714deeb Update k8s version in e2e tests (# 8503)
  > 54a2402 Fix golangci exclude config (# 8502)
  > 80dd84e Guard reserved access with lock and create vpods in tests (# 8457)
  > 5bcee30 Inject integration images from ConfigMap (# 8500)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-25 15:35:21 +00:00
Knative Automation 8ab6083972
upgrade to latest dependencies (#2714)
bumping knative.dev/eventing 51637df...ae049c8:
  > ae049c8 Jsonata Event transform e2e tests (# 8499)
  > c828898 Generic code for Certificates (# 8489)
  > 351898d fix: verify trigger is not ready before pingsource dependency exists (# 8494)
  > c651616 Add initial iteration of eventing-integration resources (# 8493)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-25 09:36:21 +00:00
github-actions[bot] 9ef6c337f7
chore: update CA bundle (#2716)
Co-authored-by: Knative Automation <automation@knative.team>
2025-02-25 08:27:21 +00:00
github-actions[bot] c4e4cc7119
chore: update Springboot platform version to 3.4.3 (#2712)
Co-authored-by: Knative Automation <automation@knative.team>
2025-02-24 10:46:19 +00:00
Knative Automation 3239d06c9b
upgrade to latest dependencies (#2711)
bumping knative.dev/eventing 732ec62...51637df:
  > 51637df IntegrationSink prefactors (# 8486)
  > c429fc5 Remove unused code (# 8485)
bumping knative.dev/serving 09ec3f5...87c07ee:
  > 87c07ee Update net-istio nightly (# 15789)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-21 15:03:16 +00:00
github-actions[bot] 8d056d0ece
chore: update Quarkus platform version to 3.18.4 (#2708)
Co-authored-by: Knative Automation <automation@knative.team>
2025-02-20 06:26:47 +00:00
Knative Automation 65e3812a45
upgrade to latest dependencies (#2709)
bumping knative.dev/serving 99a8b20...09ec3f5:
  > 09ec3f5 Update net-gateway-api nightly (# 15788)
  > 1124aff Update net-contour nightly (# 15787)
bumping knative.dev/eventing 5998cfe...732ec62:
  > 732ec62 Partial implementation of certmanager for integration sink (# 8481)

Signed-off-by: Knative Automation <automation@knative.team>
2025-02-20 06:16:48 +00:00
David Fridrich d649adaf56
fix: update comment of knative-component auto PR (#2707)
* comment

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

* fix format

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>

---------

Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
2025-02-19 15:22:48 +00:00
David Fridrich 104e90ce5c
codecov v5 (#2705)
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
2025-02-19 14:43:48 +00:00