func/.github/workflows
Matej Vasek cc049952bb
Generate templates zip unconditionally (#879)
* Improve formant performance in template generation

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

* Improve memory footprint of template generation

Use streamlined generation which is limiting need for in memory buffers.
Might be imprtant if we had big files in templates.

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

* Generate templates unconditionally

Rationale:
The way we create prerequisites (the find command) we cannot detect deleted files.
The generation is fast (around 500ms) so we can afford that.

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

* Test embbeded templates content on push to main

This has to run prior to `make test` because the `test` recipe
enforces generation of the templates zip.
This would prevent test from being run against git commited templates
zip.

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

* Optimization don't use unnecessary io.Pipe

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2022-03-06 14:28:35 -08:00
..
build.yaml Update Knative to 0.25 + cherry-pick E2E refactor (#617) 2021-11-02 09:38:41 -07:00
check.yaml Update Knative to 0.25 + cherry-pick E2E refactor (#617) 2021-11-02 09:38:41 -07:00
ci.yaml Generate templates zip unconditionally (#879) 2022-03-06 14:28:35 -08:00
knative-boilerplate.yaml Update actions (#588) 2021-11-23 19:07:26 -08:00
knative-donotsubmit.yaml Update actions (#517) 2021-09-17 08:14:31 -07:00
knative-go-build.yaml Update actions (#588) 2021-11-23 19:07:26 -08:00
knative-go-test.yaml Update actions (#588) 2021-11-23 19:07:26 -08:00
knative-releasability.yaml Update actions (#871) 2022-03-01 18:01:42 -08:00
knative-release-notes.yaml Update actions (#762) 2022-02-16 07:21:40 -08:00
knative-security.yaml Update actions (#762) 2022-02-16 07:21:40 -08:00
knative-stale.yaml Update actions (#509) 2021-09-08 11:49:45 -07:00
knative-style.yaml Update actions (#843) 2022-02-22 09:48:03 -08:00
knative-verify.yaml Update actions (#588) 2021-11-23 19:07:26 -08:00
schema.yaml Update Knative to 0.25 + cherry-pick E2E refactor (#617) 2021-11-02 09:38:41 -07:00
test-e2e.yaml Update Knative to 0.25 + cherry-pick E2E refactor (#617) 2021-11-02 09:38:41 -07:00
test-integration.yaml Update Knative to 0.25 + cherry-pick E2E refactor (#617) 2021-11-02 09:38:41 -07:00
test-podman.yaml Update Knative to 0.25 + cherry-pick E2E refactor (#617) 2021-11-02 09:38:41 -07:00
test-unit.yaml Use custom zip embedding not pkger (#835) 2022-03-02 06:41:43 -08:00