Commit Graph

5 Commits

Author SHA1 Message Date
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
Matej Vašek 527b917f07
Remove dependency on docker hub (#2654)
Signed-off-by: Matej Vašek <mvasek@redhat.com>
2025-01-19 11:04:07 +00:00
Matej Vašek 6b78b7f5c5
Improve utility image (#2246)
* The socat/tar image is now build in GH Actions.
* We use new tiny deploy binary for deployment instead of whole func.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2024-03-26 11:30:56 +00:00
Matej Vasek 6c6730f324
test: optimise disk usage (#2012)
* test: optimise disk usage

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: change tag

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: use create to build testing buildah image

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fixup: install crane

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-10-20 17:48:59 +00:00
Matej Vasek 452ff50418
chore: use local registry in test (#1976)
* test: use custom buildah image in tests

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* refactor: rename

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* test: use internal registry in on cluster tests

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* chore: more verbose output

Signed-off-by: Matej Vasek <mvasek@redhat.com>

* fix: use fake ctx until fixing termination properly

Signed-off-by: Matej Vasek <mvasek@redhat.com>

---------

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2023-09-18 19:18:33 +00:00