Alex Ellis (VMware)
942119bbf1
Move from localhost to 127.0.0.1 as a default for IPv6 clashes, add env-var OPENFAAS_URL as override for gateway URL for Kubernetes users
...
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com >
2018-03-12 19:39:48 +01:00
Vivek Singh
c8bdaba114
added --method flag for HTTP request method
...
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in >
changed method to httpMethod, and uppercase to camelCase
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in >
2018-03-10 00:16:22 +01:00
John McCabe
7997a467e0
Revert to individual tests and correct async response code
...
This commit reverts to using individual tests rather than t.Run subtests
as requested.
It also corrects the statuscode returned when submitting an invoke
request asynchronously (Accepted - 202).
Signed-off-by: John McCabe <john@johnmccabe.net >
0.6.3
2018-03-02 10:58:28 +00:00
John McCabe
017665c963
Handle StatusAccepted in invoke proxy, print message and fix example
...
This commit adds handling for the StatusAccepted response in the invoke
proxy, on receipt of a StatusAccepted reponse a message indicating
succesful submission is printed to stderr.
It also fixes the header in the callback invoke example.
Signed-off-by: John McCabe <john@johnmccabe.net >
2018-03-02 10:58:28 +00:00
John McCabe
5db060edd6
Add example invocation with callback to invoke cmd
...
Signed-off-by: John McCabe <john@johnmccabe.net >
2018-03-02 10:58:28 +00:00
John McCabe
8cc7a25e2a
Add proxy and command tests for async invoke
...
Signed-off-by: John McCabe <john@johnmccabe.net >
2018-03-02 10:58:28 +00:00
John McCabe
ead78903c5
Add --async flag to invoke subcommand
...
This commit adds the `--async` flag to the invoke subcommand which will
cause the function invocation to use the async endpoint.
Signed-off-by: John McCabe <john@johnmccabe.net >
2018-03-02 10:58:28 +00:00
Vivek Singh
85f0597923
added viveksyngh as maintainer
...
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in >
2018-03-01 18:40:28 +00:00
Ken Fukuyama
70a75bcaef
Added trimming of prefix in order to not create invalid image name
...
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com >
2018-03-01 18:33:16 +00:00
Ken Fukuyama
3126a30a5e
Added a prefix parameter when creating a new function.
...
This adds prefix to the default function image name.
(related issue #338 )
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com >
2018-03-01 18:33:16 +00:00
Alex Ellis
9b04597bda
Update message for missing template directory and sync templates
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-02-28 15:19:46 +00:00
Alex Ellis (VMware)
e813623633
Update license
...
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com >
2018-02-28 15:19:34 +00:00
Alex Ellis (VMware)
80e3bd34b0
Add tests for push image validation
...
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com >
2018-02-28 15:19:34 +00:00
Vivek Singh
998ac1dfd7
added --header or -H Flag for invoke command
...
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in >
updated help message
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in >
2018-02-28 14:31:38 +00:00
Minh-Quan TRAN
d256c40ad3
move functions to their respective files
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-27 21:07:04 +00:00
Minh-Quan TRAN
f6fd77555c
use client.Get instead of client.Do
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-27 21:07:04 +00:00
Minh-Quan TRAN
7616b4f289
rewording
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-27 21:07:04 +00:00
Minh-Quan TRAN
465d1e22ff
prefix store-related functions with 'store'
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-27 21:07:04 +00:00
Minh-Quan TRAN
5ac16c2cbd
store must not use the default yaml file when deploying
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-27 21:07:04 +00:00
Minh-Quan TRAN
53a3849edd
re-factor store commands
...
copyright year update for new files
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-27 21:07:04 +00:00
Burton Rheutan
ee8c8ac3f5
cleaned up skip build check
...
Signed-off-by: Burton Rheutan <rheutan7@gmail.com >
2018-02-22 15:14:49 +00:00
Burton Rheutan
2f58108dca
updated push error to use string literal. updated error message to be more succinct
...
Signed-off-by: Burton Rheutan <rheutan7@gmail.com >
2018-02-22 15:14:49 +00:00
Burton Rheutan
9102ef0f42
Updated push to block on failed image check. Added skip push on skip_build
...
Signed-off-by: Burton Rheutan <rheutan7@gmail.com >
2018-02-22 15:14:49 +00:00
Burton Rheutan
fac8305157
added check for username, ip, or registry on faas push
...
Signed-off-by: Burton Rheutan <rheutan7@gmail.com >
2018-02-22 15:14:49 +00:00
Ivana Yovcheva
87a29487dd
Add iyovcheva to list of maintainers
...
Signed-off-by: Ivana Yovcheva <iyovcheva@vmware.com >
2018-02-22 09:33:55 +00:00
Minh-Quan TRAN
f15e981497
extract common code to common.go
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-17 19:02:05 +00:00
Minh-Quan TRAN
ff7a14ccda
convert Dockerfile to dockerfile internally
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
convert Dockerfile to dockerfile internally - testing files
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-17 19:02:05 +00:00
Minh-Quan TRAN
ca25c72ebf
update help
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-17 19:02:05 +00:00
Alex Ellis
bfb47f7df5
Add FAQ
2018-02-17 09:19:22 +00:00
Minh-Quan TRAN
27476ee362
Fix parse env vars & add labels for store deploy command
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-08 18:49:48 +00:00
Minh-Quan TRAN
9aea0ce235
ensure that the handler path is valid before building
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-08 18:49:48 +00:00
Minh-Quan TRAN
223de4fc38
remove submodule
...
add testdata
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-08 18:48:17 +00:00
Eric Stoekl
17a3f70e30
fix uppercase bug for Dockerfile template
...
Signed-off-by: Eric Stoekl <ems5311@gmail.com >
2018-02-08 14:57:55 +00:00
Minh-Quan TRAN
c903f71b54
add --gateway to store deploy command & rename -g to -u & remove unused flags in usage
...
add --network to store deploy
make --url flag persistent to `store` command
fix usage & remove unnecessary var assign
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-07 19:11:33 +00:00
Alex Ellis
f0a1749d8d
Update sample
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-02-06 22:05:45 +00:00
Alex Ellis
f2e8061d65
Move samples.yml to stack.yml (default) and update references in shell scripts
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-02-06 22:04:13 +00:00
Alex Ellis
9389b4cabe
Update Dockerfile -> dockerfile
2018-02-06 21:40:10 +00:00
Minh-Quan TRAN
fabe085362
Fix parse env vars & add labels for store deploy command
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-02-02 10:03:15 +00:00
Alex Ellis
a81705b7f5
Add default repository to template pull
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
0.6.2
2018-02-02 09:46:25 +00:00
Burton Rheutan
52303013ea
Updated the csharp template root.csproj
...
Signed-off-by: Burton Rheutan <rheutan7@gmail.com >
2018-02-01 08:22:12 +00:00
Alex Ellis
2a790b4a67
Remove unused parameters
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
0.6.1
2018-01-31 21:18:13 +00:00
Alex Ellis
9abc0880aa
Rename --store to --url and shortvar -g to -u
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-01-31 21:11:53 +00:00
Alex Ellis
78d94c04be
Update .DEREK.yml
2018-01-30 14:58:39 +00:00
Alex Ellis
f60910aea0
Simple append to stack file
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-01-28 18:19:22 +00:00
Minh-Quan TRAN
fef9b35f2d
Match number of ending message < with starting message > & color these messages yellow
...
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
2018-01-25 18:20:00 +00:00
Umesh Yadav
eabb663652
Removed unused function.
...
Signed-off-by: Umesh Yadav <umesh4257@gmail.com >
2018-01-24 18:59:31 +00:00
Lucas Roesler
9d58860f25
Fix bug to allow plain urls for git repos
...
**What**
- Update the git url regex to allow repo urls that do not have a `.git`
suffix
**Why**
- This was previously supported and should work
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com >
2018-01-24 18:57:05 +00:00
Alex Ellis
ae72525226
Add Umesh to curators file
2018-01-24 10:47:42 +00:00
Alex Ellis
986f21f038
Add dockerfile type for legacy installations
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2018-01-24 09:15:07 +00:00
Minh-Quan TRAN
28019a2de5
Make dockerfile a language with a file in the repo
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
mocked local template repository for test
update TEMPLATE.md to reflect that docker is a language
rename stack variable to stackYaml to avoid conflict with imported package
Signed-off-by: Minh-Quan TRAN <account@itscaro.me >
0.6.0
2018-01-24 08:21:01 +00:00