Commit Graph

319 Commits

Author SHA1 Message Date
Zbynek Roubalik 36926acfb7
docs: tutorial references to /latest/ for binary download (#318)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-04-23 16:51:19 -04:00
Matej Vasek 7f8e5954a9
feat: usage of local evnvvar in func cfg file
User now can use syntax like:
envVars:
  SOME_SECRET: {{env.API_KEY}}

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-04-23 17:51:02 +02:00
Zbynek Roubalik f1ba8c8bd9
chore: adding references to guides (#313)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-04-23 11:45:26 -04:00
Lance Ball 0d21f62731
docs: add func.yaml field documentation (#312)
This adds a simple explanation of each of the fields in the `func.yaml`
configuration file.

Signed-off-by: Lance Ball <lball@redhat.com>
2021-04-23 11:29:59 -04:00
Matej Vasek 06455f4bac
fix: default for `--builder` flag
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-04-22 15:44:15 +02:00
Matej Vasek 12b28f966b
docs: add template reference docs for Quarkus
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-04-19 16:24:48 +02:00
github-actions[bot] dd2061c3af
chore: release 0.12.1 (#295)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-04-14 14:53:41 -04:00
Zbynek Roubalik 2309dd3a53
docs: Golang function developer's guide (#297)
* docs: Golang function developer's guide

Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-04-14 14:39:15 -04:00
Matej Vasek 4f60504708
src: Quarkus events template uses CloudEvent<> (#303)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-04-14 14:28:08 -04:00
Zbynek Roubalik c86fdbc5e7
src: use go 1.14 in the templates (#299)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-04-14 19:47:32 +02:00
Lance Ball 5da927808e
chore: update Node.js faas-js-runtime dependency to 0.6.0 (#302)
* chore: update Node.js faas-js-runtime dependency to 0.6.0
* fixup: remove erroneous console.error statement

Signed-off-by: Lance Ball <lball@redhat.com>
2021-04-14 13:27:35 -04:00
Zbynek Roubalik ff4892f171
docs: minor chores and fixes (#298)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-04-14 13:00:55 -04:00
Zbynek Roubalik 4957b7c6bf
chore: bump CE version in Go templates (#300)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-04-14 12:59:42 -04:00
Lance Ball ad335d217e
chore: update python templates to use parliament context/event (#301)
* chore: update python templates to use parliament context/event

Signed-off-by: Lance Ball <lball@redhat.com>

* fixup: fix tests

Signed-off-by: Lance Ball <lball@redhat.com>
2021-04-14 12:50:52 -04:00
Lance Ball e8b2c1411a
docs: add template reference docs for Python (#292)
* docs: add template reference docs for Python
2021-04-14 10:00:59 -04:00
Matej Vasek 129dc5a834
fix: build needs to use legacy jar
this should be reverted once our buildpack supports fast-jar

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-04-12 16:52:49 +02:00
Shashankft9 436c5f8b3f
docs: integrators guide update (#293)
* doc update for function creation using client

* root changed to func name
2021-04-12 16:39:07 +02:00
Matej Vasek f2c7b764c2
chore: update Quarkus version (#291)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-04-01 09:28:36 -04:00
Lance Ball ce47370654
chore: fix versioning in CI builds (#290)
* chore: fix versioning in CI builds

For unknown reasons, the git tag for a release CI build via release-please
seems to happen after the build completes. It's a bit uncleear, but the
result is that we get v0.0.0 versions for released builds.

This commit modifies the Makefile to allow for an environment override of
the $VERS variable. Since the release-please-action documents `tag_name`
as output from the action, we can use this in CI to set the environment
variable.

Signed-off-by: Lance Ball <lball@redhat.com>
2021-04-01 09:28:08 -04:00
github-actions[bot] 4332480afe
chore: release 0.12.0 (#271)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-03-30 17:11:36 -04:00
Lance Ball 08f4fc7bd9
feat: add python templates (#286)
Signed-off-by: Lance Ball <lball@redhat.com>
2021-03-30 17:08:42 -04:00
lkingland 62a71c3b82
ci: run release action prior to checkout (#289) 2021-03-30 09:38:14 -04:00
Matej Vasek 7ed2e86d96
fix: exposed port
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-29 23:53:00 +02:00
Matej Vasek e1a7af50d2
Update pack dependency
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-29 16:47:16 +02:00
Matej Vasek 923c788f4a
src: better ctx propagation (#283)
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-24 11:05:52 -04:00
Lance Ball 76717ee7d9
docs: major overhaul of docs (#284)
This commit makes a fairly substantial change to the docs directory.
My intent was to simplify it as much as possible, in order to make
finding relevant content easier. In almost all cases where there was
a stub document with little to no content, that document has been
removed. I have grouped the developer, cli, language and integration
docs under docs/guides and moved the provisioning documents to their
own directory.

I have also added the Node.js language/template/api reference that was
originally written for boson-project/functions. This repo may be a better
place for this and maybe all documentation.

Signed-off-by: Lance Ball <lball@redhat.com>
2021-03-24 14:07:09 +01:00
Matej Vasek dc2fbee67f
fix: `func deploy` uses Docker API, not binary
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-22 15:18:03 +01:00
Luke Kingland 8a91cac6cc
feat: add --build (default: true) flag to func deploy 2021-03-16 15:29:36 +09:00
Luke Kingland f115a7a871
client: remove implicit call to Build on Deploy 2021-03-16 15:24:39 +09:00
Matej Vasek db0945ed3e
fix: `func run` now uses Docker API, not binary
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-15 18:24:57 +01:00
David Simansky 8daa725779
chore: Update Knative dependencies to 0.20 (#273) 2021-03-10 15:10:03 +01:00
Luke Kingland d915554d71
src: add makefile target 2021-03-10 19:35:27 +09:00
Luke Kingland 1551d69b5d
fix: compare service names in integraiton tests 2021-03-10 19:35:27 +09:00
Luke Kingland 8edd0df836
feat: basic lifecycle integraiton tests 2021-03-10 19:35:27 +09:00
Luke Kingland 4f2f577a82
ci: run integration tests with on-demand cluster 2021-03-10 19:35:27 +09:00
Luke Kingland ddf4ab86c4
feat: integration tests target 2021-03-10 19:35:27 +09:00
Luke Kingland f1a6561543
src: also package templates on 'go generate' 2021-03-10 19:35:27 +09:00
Luke Kingland 9c499b69c4
feat: local cluster allocation, configuration and teardown 2021-03-10 19:35:26 +09:00
Luke Kingland 80e366b142
fix: increase remove timeout to 120s 2021-03-10 19:35:26 +09:00
Zbynek Roubalik 8143ea1056
server-side generated Revision name during the update (#274)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-03-08 09:31:39 +01:00
Matej Vasek 38fd673fdb
fix: sprint-boot template
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-02 04:33:27 +01:00
Matej Vasek 6d2d8c63b0
feat: using custom docker daemon (e.g podman)
The `func` binary is now aware of DOCKER_HOST environment variable.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-03-02 04:04:01 +01:00
Matej Vasek 2f63fae705
Fix digest regex
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-02-12 19:51:19 +01:00
Matej Vasek b4ba7f694b
Improve digest parsing
Improve digest parsing from docker output using regex.

Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-02-10 18:17:41 +01:00
Zbynek Roubalik 401e1163e5
chore: introduce Codeowner file (#259)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-02-03 15:11:43 +01:00
Zbynek Roubalik a9daa6a1ff
src: remove logrus dependency (#258)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-02-02 15:20:31 +01:00
Matej Vasek c3c21657b2
fix: update pack dependency
Signed-off-by: Matej Vasek <mvasek@redhat.com>
2021-02-01 17:03:33 +01:00
github-actions[bot] e700252963
chore: release 0.11.0 (#244)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-01-21 17:58:42 +01:00
David Simansky 6584b0ab9b
chore: Update Knative Client dependencies to 0.19 release (#254) 2021-01-21 17:40:52 +01:00
Zbynek Roubalik a5cbe3061b
src: rename from faas to func (#253)
Signed-off-by: Zbynek Roubalik <zroubali@redhat.com>
2021-01-21 17:10:39 +01:00