Fabian Lopez
b190b52754
feat: allow build to be triggered from run when fn.Image is missing ( #644 )
...
* allow build to be triggered from run when fn.Image is missing
* add build check when run by the run command
* added unit test for run command
* remove log output
* rename run test
* change build trigger to be managed by a flag and not a prompt
* tlet users know about the --build flag in the error message
* fix code check issue
* add some debug info to the run_test
* Update cmd/run.go
Co-authored-by: Luke Kingland <58986931+lkingland@users.noreply.github.com>
* add build field to runConfig
* fix issue with cmd args for testing
* refactor run tests to use mocks
* update imageless function run error message
* add check for build error test case
* run unit test cleanup
* empty commit
Co-authored-by: Luke Kingland <58986931+lkingland@users.noreply.github.com>
2021-12-13 09:25:22 -08:00
knative-automation
cd45b6c007
Format go code ( #589 )
...
Signed-off-by: Knative Automation <automation@knative.team>
2021-10-18 10:08:22 +02:00
Luke Kingland
ae638c349c
feat: repository management cli ( #514 )
...
* feat: repository management cli
* src: cleanup imports, newlines, spelling and trailing whitespace
2021-09-09 08:09:00 -07:00
Markus Thömmes
892558bf2a
Rename module to knative.dev/kn-plugin-func ( #423 )
...
Co-authored-by: Lance Ball <lball@redhat.com>
2021-07-15 11:33:32 -07:00
Luke Kingland
5ded87368b
src: rename bosonFunc fn
2021-06-22 23:08:11 +09:00
Lance Ball
2b025df199
src!: revert bump to go 1.16 and template changes ( #340 )
...
* Revert "src: rename boson import 'fn'"
This reverts commit c0a6f561c0
.
* Revert "src: all test dirs set to 0700"
This reverts commit 99f01220c2
.
* Revert "src: better error when custom template not found"
This reverts commit 6673395834
.
* Revert "src: better errors when custom runtime not found"
This reverts commit a31a6f67a1
.
* Revert "build: create separate target for templates.tgz"
This reverts commit 11164bf8d9
.
* Revert "src: use consistent separators for fs.FS instances"
This reverts commit 4db07b412f
.
* Revert "src: update go event template dependencies"
This reverts commit 3bfc13380f
.
* Revert "src: tarfs assumes forward slashes internally"
This reverts commit 6cc0e67b1c
.
* Revert "feat: support windows paths in embedded templates FS"
This reverts commit c2b216857b
.
* Revert "feat: positive error when runtimme or template unrecognized"
This reverts commit acc56b0900
.
* Revert "fix: lint issues"
This reverts commit 895872aee7
.
* Revert "ci: go 1.16 compatiblity updates"
This reverts commit 1e3959c045
.
* Revert "feat: preserve file modes using in-memory tar FS"
This reverts commit 7dc772ec62
.
* Revert "feat: create templates archive on go generate"
This reverts commit 63b7f11471
.
* Revert "ci: remove pkger from ci"
This reverts commit 876b0dd0f7
.
* Revert "src: remove pkger dependency and tidy"
This reverts commit f006ab1e32
.
* Revert "src: remove packaging artifact"
This reverts commit 4d9d0a7b4e
.
* Revert "src: remove pkger from make targets"
This reverts commit e44c1ad74c
.
* Revert "src: replace pkger with embed.FS"
This reverts commit 38874a4afd
.
* Revert "src: update references to deprecated ioutil"
This reverts commit 4025460f73
.
* Revert "src: require go 1.16"
This reverts commit 512d4c2580
.
* chore: update pkged.go
Signed-off-by: Lance Ball <lball@redhat.com>
2021-05-12 14:37:21 -04:00
Luke Kingland
c0a6f561c0
src: rename boson import 'fn'
2021-05-07 14:17:14 +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
Luke Kingland
ddf4ab86c4
feat: integration tests target
2021-03-10 19:35:27 +09: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
Luke K
ce48083a10
fix: remove references to unused binaries appsody, kn, kubectl
2020-09-04 23:08:03 +09:00