Commit Graph

116 Commits

Author SHA1 Message Date
Matej Vašek 858a0e84b9
[release-1.15] Release 1.15.1 (#2480)
* test: adding GO s2i to e2e test suite (#2401)

* Remove superfluous equals sign from envvar (#2446)

* Remove superfluous equals sign from envvar

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* Update rust templates Cargo.lock

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

---------

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* allow digested images to be 'run' (#2445)

* init fix

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

* dont override direct deploy tag, more tests

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

* fix

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

* dont validate with tagged image, fix comment

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

* init run fix for --image

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

* init

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

* int test, add valid untdigested images to run

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

* check images passed to runner for func run command

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

* fix build/deploy image passing bug add test

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

* fix

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

* remove extra printing

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

* merge functions to digested

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

* misspell

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

* simplify

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

* quick fix

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

* remove prints, comment

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

---------

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

* On cluster s2i build for Go (alternative version) (#2471)

* Prepare util image to accomodate multiple cmds

As of now func-util image has only one command of our own -- "deploy".
This commits prepares grounds for one additional command named "scaffolding".
The commands will be implemented in one binary and dispatched over
argv[0] using symlinks. Kinda like busybox does.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* Add scaffolding for on-cluster build

Added new build step in tekton pipeline that scaffolds main() for Go
porject when using s2i builder.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* Better docker build caching

This will cache dependencies between docker builds.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* fixup: perms

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* fixup: remove broken check

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* fixup: remove test because of 'no space left on device'

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* Make func-util rootfull

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

---------

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* Incorporate s2i CLI into func-utils image. (#2473)

Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* chore: update Quarkus platform version to 3.14.1 (#2474)

Co-authored-by: Knative Automation <automation@knative.team>
Signed-off-by: Matej Vašek <matejvasek@gmail.com>

* chore: update Springboot platform version to 3.3.3 (#2465)

Co-authored-by: Knative Automation <automation@knative.team>
Signed-off-by: Matej Vašek <matejvasek@gmail.com>

---------

Signed-off-by: Matej Vašek <matejvasek@gmail.com>
Signed-off-by: gauron99 <fridrich.david19@gmail.com>
Signed-off-by: David Fridrich <fridrich.david19@gmail.com>
Co-authored-by: Jefferson Ramos <jeramos@redhat.com>
Co-authored-by: David Fridrich <49119790+gauron99@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Knative Automation <automation@knative.team>
2024-09-05 09:12:33 +00:00
Matej Vašek 2fdca6cc0f
Include go.sum in the Go CloudEvent template (#2441)
The go.sum must be in place otherwise "go list -f {{.Incomplete}}"
returns true which breaks s2i build.

Signed-off-by: Matej Vašek <matejvasek@gmail.com>
2024-07-23 20:13:25 +00:00
github-actions[bot] 531af8fd72
chore: update Springboot platform version to 3.3.2 (#2436)
Co-authored-by: Knative Automation <automation@knative.team>
2024-07-22 17:02:01 +00:00
github-actions[bot] c093c38239
chore: update Quarkus platform version to 3.12.3 (#2427)
Co-authored-by: Knative Automation <automation@knative.team>
2024-07-18 07:05:46 +00:00
github-actions[bot] 4d96d7d3b0
chore: update Quarkus platform version to 3.12.2 (#2424)
Co-authored-by: Knative Automation <automation@knative.team>
2024-07-10 21:26:15 +00:00
github-actions[bot] 03a2e24d85
chore: update Quarkus platform version to 3.12.1 (#2419)
Co-authored-by: Knative Automation <automation@knative.team>
2024-07-09 08:50:55 +00:00
Matej Vašek f8c54a5698
chore: update CA bundle (#2415)
* chore: update CA bundle

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

* style: add EoLs

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

* style: removed trailing whitespace

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

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2024-07-09 07:45:09 +00:00
Giurgiu Razvan f004ce031b
update typescript template dependencies (#2406) 2024-07-01 05:57:47 +00:00
github-actions[bot] a24a8e3d03
chore: update Quarkus platform version to 3.12.0 (#2399)
Co-authored-by: Knative Automation <automation@knative.team>
2024-06-26 09:11:30 +00:00
github-actions[bot] ff97fe2a7c
chore: update Springboot platform version to 3.3.1 (#2384)
Co-authored-by: Knative Automation <automation@knative.team>
2024-06-20 12:34:18 +00:00
github-actions[bot] c1c7fa5e19
chore: update Quarkus platform version to 3.11.3 (#2377)
Co-authored-by: Knative Automation <automation@knative.team>
2024-06-19 16:45:17 +00:00
github-actions[bot] 6bb9a3eafe
chore: update Quarkus platform version to 3.11.2 (#2365)
Co-authored-by: Knative Automation <automation@knative.team>
2024-06-13 17:14:06 +00:00
github-actions[bot] 698a1d0806
chore: update Quarkus platform version to 3.11.1 (#2339)
Co-authored-by: Knative Automation <automation@knative.team>
2024-06-05 18:41:30 +00:00
github-actions[bot] 05a6534c46
chore: update Quarkus platform version to 3.11.0 (#2332)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-29 11:47:23 +00:00
github-actions[bot] 1997a232dc
chore: update Springboot platform version to 3.3.0 (#2322)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-23 16:39:51 +00:00
github-actions[bot] 619be59d86
chore: update Springboot platform version to 3.2.6 (#2319)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-23 13:20:25 +00:00
github-actions[bot] aed0f9c247
chore: update Quarkus platform version to 3.10.2 (#2318)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-23 08:57:33 +00:00
github-actions[bot] 9d766ee8b2
chore: update Quarkus platform version to 3.10.1 (#2309)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-16 06:36:52 +00:00
github-actions[bot] 98af389ce3
chore: update Springboot platform version to 3.2.5 (#2302)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-15 06:03:03 +00:00
github-actions[bot] eebea9fcb0
chore: update Quarkus platform version to 3.10.0 (#2283)
Co-authored-by: Knative Automation <automation@knative.team>
2024-05-02 11:32:58 +00:00
github-actions[bot] d72233b458
chore: update Quarkus platform version to 3.9.5 (#2282)
Co-authored-by: Knative Automation <automation@knative.team>
2024-04-29 05:49:54 +00:00
github-actions[bot] acae72d7fd
chore: update Quarkus platform version to 3.9.4 (#2276)
Co-authored-by: Knative Automation <automation@knative.team>
2024-04-22 22:52:41 +00:00
github-actions[bot] 6292fb7c71
chore: update Quarkus platform version to 3.9.3 (#2269)
Co-authored-by: Knative Automation <automation@knative.team>
2024-04-10 19:12:40 +00:00
github-actions[bot] 27c1744d62
chore: update Quarkus platform version to 3.9.2 (#2263)
Co-authored-by: Knative Automation <automation@knative.team>
2024-04-08 16:39:49 +00:00
github-actions[bot] 617e95b6e1
chore: update Quarkus platform version to 3.9.1 (#2255)
Co-authored-by: Knative Automation <automation@knative.team>
2024-03-27 16:18:55 +00:00
Matej Vašek ff2757d63d
Fixing Rust version to 1.76.0 (#2254)
The version 1.77.0 is not compatible with paketo buildpack.

* Updated version of Rust buildpack 0.35.0 => 0.45.0,
  version 0.45.0 includes Rust 1.76.0.

* Disabling rustup buildpack so latest Rust (1.77.0) is not used,
  instead Rust 1.76.0 from rust-dist buildpack is used.

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2024-03-27 15:01:22 +00:00
github-actions[bot] 6abc5e6527
chore: update Springboot platform version to 3.2.4 (#2243)
Co-authored-by: Knative Automation <automation@knative.team>
2024-03-25 16:32:28 +00:00
github-actions[bot] ba8733e3fd
chore: update Quarkus platform version to 3.8.3 (#2238)
Co-authored-by: Knative Automation <automation@knative.team>
2024-03-19 17:36:30 +00:00
Dave Protasowski 4f48549c8a
update templates to work with func-go (#2230) 2024-03-14 16:03:46 +00:00
Dave Protasowski 4d73d8d055
func-go v1.21.3 - idiomatic handler signatures (#2227)
* update go-http templates to match new idiomatic handler

* update embedded templates

* bump func-go dependency

* regenerate templates

* update template deps again

* run embed again

* update test fixtures

* use go1.22 in CI

* setup metallb right after creating k8s cluster

* func-go v1.21.2

* revert static http handler signature update

Since the Pack and S2I builders do not yet use the new func-go
middleware, we are not yet able update the static static handler template.

* func-go v0.21.3

* revert static handler template test

* update embedded template fs

* try go 1.21 throughout

---------

Co-authored-by: Luke Kingland <luke@lukekingland.com>
2024-03-14 14:40:36 +00:00
github-actions[bot] 1d4dc68aba
chore: update Quarkus platform version to 3.8.2 (#2221)
Co-authored-by: Knative Automation <automation@knative.team>
2024-03-13 09:39:46 +00:00
Matej Vašek 9bfefd5dba
chore: update CA bundle (#2219)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2024-03-13 01:59:39 +00:00
Luke Kingland a2d55b0a07
chore: func-go v0.20.1 (#2210)
Updates all dependencies, including CloudEvents which fixes a CVE
reported today.
2024-03-08 08:30:38 +00:00
github-actions[bot] 7bf3e1008b
chore: update Quarkus platform version to 3.8.1 (#2190)
Co-authored-by: Knative Automation <automation@knative.team>
2024-02-29 07:32:06 +00:00
github-actions[bot] 51f7a70b9a
chore: update Springboot platform version to 3.2.3 (#2180)
Co-authored-by: Knative Automation <automation@knative.team>
2024-02-25 15:34:56 +00:00
github-actions[bot] 267a03c8c8
chore: update Quarkus platform version to 3.7.4 (#2176)
Co-authored-by: Knative Automation <automation@knative.team>
2024-02-22 11:00:59 +01:00
github-actions[bot] 0adbbfbf9b
chore: update Quarkus platform version to 3.7.3 (#2173)
Co-authored-by: Knative Automation <automation@knative.team>
2024-02-21 02:15:12 +00:00
Matthias Wessendorf b97d841b34
💫 Bump to v0.20.0 (#2170)
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2024-02-19 20:51:12 +00:00
github-actions[bot] fe9e0577a9
chore: update Quarkus platform version to 3.7.2 (#2152)
Co-authored-by: Knative Automation <automation@knative.team>
2024-02-08 17:17:57 +00:00
github-actions[bot] 6b7708f19e
chore: update Quarkus platform version to 3.7.1 (#2142)
Co-authored-by: Knative Automation <automation@knative.team>
2024-02-01 18:47:53 +00:00
github-actions[bot] df0c0c6fc6
chore: update Quarkus platform version to 3.6.8 (#2137)
Co-authored-by: Knative Automation <automation@knative.team>
2024-01-30 18:08:53 +00:00
github-actions[bot] 5caabf2087
chore: update Quarkus platform version to 3.6.7 (#2131)
Co-authored-by: Knative Automation <automation@knative.team>
2024-01-24 16:24:30 +00:00
github-actions[bot] 73c08a9f11
chore: update Springboot platform version to 3.2.2 (#2134)
Co-authored-by: Knative Automation <automation@knative.team>
2024-01-24 16:11:36 +00:00
Matthias Wessendorf c252c4f537
Springboot bumps (#2126)
* Making updates to Spring boot templates, as suggested by @trisberg

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* 🤖 We touched the samples, so adding the generated thing

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Bump JDK Builder to 21

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Some more java 21 setters

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

---------

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2024-01-22 18:45:03 +00:00
github-actions[bot] 8107d7167f
chore: update Quarkus platform version to 3.6.6 (#2124)
Co-authored-by: Knative Automation <automation@knative.team>
2024-01-18 20:17:38 +00:00
Matthias Wessendorf e4430de1f2
Invoke instanced CE function's handle withNew() (#2119)
* 💄 Adding New() to make the file compile

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Checkin stuff to make test in IDE pass

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

---------

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2024-01-16 15:00:37 +00:00
Matej Vasek 8ecf77d4c4
chore: use Quarkus BP instead of expicit envvars (#2117)
The envvars do not have to be set manually anymore since Quarkus BP will
set them for us.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2024-01-16 13:51:10 +00:00
Luke Kingland 32f6d8de7d
func-go v0.19.0 (#2103) 2023-12-18 09:51:37 +00:00
Matej Vasek 76fde174de
fix: update Quarkus template readme (#2101)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-12-07 15:35:08 +00:00
github-actions[bot] a8bbec33e7
chore: update Quarkus platform version to 3.5.3 (#2092)
Co-authored-by: Knative Automation <automation@knative.team>
2023-11-21 18:41:47 +00:00