- 🎁 Exclude certain directories form S2I build tar know to be either unnecessary or error-prone
- 🐛 Error running Node Functions which unnecessarily had node_modules sent to the build daemon
Exclude various files and cache directories from S2I builds. This list may need to be expanded in the future.
Tekton pipeline runs now use the same logic for determining default builder image as a local buildpack build.
In order to implement varying build strategies (s2i vs buildpacks), we were unable to rely on hard-coded builder images. These defaults were moved in-code, with builders defined in func.yaml being an optional manual overrdide. This PR updates the Tekton deployment process to rely on this defaulting logic, rather than require the func.yaml override (which would preclude a Function from being able to be built using other strategies).
* Remove unnecesary files from Quarkus template
The jar will be automatically downloaded first time maven wrapper is used.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* Remove unnecesary files from Sprint Boot templates
The jar will be automatically downloaded first time maven wrapper is used.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
All runtimes were actually using paketo builders already, but the
builders were still being explicitly set in manifest.yaml instead of
existing as a default in builder.go like all of the others.
Signed-off-by: Lance Ball <lball@redhat.com>
* Allow empty credentials registry
Useful when using local unsecured registry.
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* Added tests for empty credentials registries
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* chore(deps): bump faas-js-runtime version
There were a couple of bug fixes in the latest release. This commit
picks those up for functions projects in JavaScript and TypeScript.
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: update package-lock.json for node/typescript tmpls
Signed-off-by: Lance Ball <lball@redhat.com>
* fix: update various doc links
There were a few links in the documentation that did not get updated in
the most recent docs restructuring. This addresses those issues that I
could find.
Signed-off-by: Lance Ball <lball@redhat.com>
* fixup: whitespace
Signed-off-by: Lance Ball <lball@redhat.com>
This commit changes the Python functions to use the open source Paketo
builders. The Paketo builders allow the use of a Procfile to indicate
the desired default start process for the container, so this has been
added to invoke Parliament at startup.
Also, there were no README.md files for Python, so I added them too.
Signed-off-by: Lance Ball <lball@redhat.com>
* Adding timeout and additional logs on e2e http test
* Better revision check on e2e http update test
* ci: Adding workflow to run e2e for all runtimes
* fix: server error 500 for Go cloudevents template
* Refactor: clean Repository and Runtimes structs
Signed-off-by: Matej Vasek <mvasek@redhat.com>
* Refactor: rename struct member
Signed-off-by: Matej Vasek <mvasek@redhat.com>