func/cmd
Matej Vašek 9c0c216193
Optimise func-utils image (#2686)
* Use command instad of script in some tkn tasks

The "script" requires /bin/sh present in the image.

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

* Add s2i-generate command to func-util image

The command encompasses some logic previously implemented as shell
script defined in tekton task. This allows us to remove sh/shell from
the func-util image.

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

* Make func-util image "FROM scratch"

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

* Change func-utils image tag latest->v2

Since there are backward incompatible changes we must not change how
'latest' tag work (at least for some time).

For this reason we change tag to v2, so newer versions of func use that
and older use 'latest' that is compatible with them.

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

---------

Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-02-06 07:02:13 +00:00
..
func allow go install knative.dev/func@{version} (#2220) 2024-03-13 02:27:10 +00:00
func-util Optimise func-utils image (#2686) 2025-02-06 07:02:13 +00:00
prompt add repository to the credentials prompt (#2596) 2024-12-02 16:22:45 +00:00
templates migrate client-pkg to client/pkg (#2477) 2024-09-04 10:08:32 +00:00
testdata fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
build.go Add Validation check to see if func is already initialized (#2574) 2024-11-15 13:07:43 +00:00
build_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
client.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
client_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
completion.go cli help text updates and flags cleanup (#1564) 2023-03-01 09:35:54 +00:00
completion_util.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config.go src: errors cleanup (#1783) 2023-06-06 20:15:26 +00:00
config_envs.go docs: standardize env flag help suffix (#1689) 2023-04-25 13:56:45 +00:00
config_git.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
config_git_remove.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config_git_set.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
config_labels.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
config_labels_test.go chore: align dependencies with Knative (#1942) 2023-08-29 18:32:31 +00:00
config_test.go feat: Pipelines as Code - initial support (pack) (#1594) 2023-03-07 15:41:20 +00:00
config_volumes.go Fixed PersistentVolumeClaim spelling error (#2069) 2023-11-07 21:28:46 +00:00
create.go Cleanup orphaned func, new image-name calculation (#1962) 2024-02-27 10:44:20 +00:00
create_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
delete_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
deploy.go fix: make image digest check more permissive (#2510) 2024-09-24 07:14:48 +00:00
deploy_test.go Remove gauron image references in code (#2647) 2025-01-10 19:03:17 +00:00
describe.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
describe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
environment.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
format.go chore: use dot as path default rather than absolute path (#1184) 2022-08-24 11:02:18 +00:00
invoke.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
invoke_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
languages.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
languages_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
list.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
list_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
repository.go cleanup unused args (#2240) 2024-03-25 08:02:00 +00:00
repository_test.go Fix test failures in OCP prow CI (#2503) 2024-09-16 06:57:35 +00:00
root.go Update golangci-lint (#2606) 2024-12-02 14:40:48 +00:00
root_test.go migrate client-pkg to client/pkg (#2477) 2024-09-04 10:08:32 +00:00
run.go allow digested images to be 'run' (#2445) 2024-08-28 06:13:02 +00:00
run_test.go test for func run with digested image override (#2650) 2025-01-21 18:48:09 +00:00
subscribe.go 💄 make array when filters is nil (#2569) 2024-11-05 14:05:39 +00:00
subscribe_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
templates.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00
templates_test.go fix: test and namespace isolation (#2187) 2024-05-17 08:25:46 +00:00
tkn_tasks.go feat: embed tkn tasks in func binary (#2396) 2024-06-26 17:48:06 +00:00
version.go Fix linter issues (#2420) 2024-07-09 13:48:22 +00:00