* 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>
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>
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>
* 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>
* 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>
* 💄 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>