Update sample functions

- the path was converted to lowercase which meant the samples
would not build, this fixes that error.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware) 2018-09-19 21:20:15 +01:00
parent 4d73e21906
commit f6230e9e83

View File

@ -1,11 +1,10 @@
provider: provider:
name: faas name: faas
gateway: http://localhost:8080
functions: functions:
alpinefunction: alpinefunction:
lang: dockerfile lang: dockerfile
handler: ./alpinefunction handler: ./AlpineFunction
image: functions/alpine:latest image: functions/alpine:latest
apikey-secret: apikey-secret:
lang: go lang: go
@ -13,19 +12,19 @@ functions:
image: functions/apikey-secret:0.1 image: functions/apikey-secret:0.1
captainsintent: captainsintent:
lang: dockerfile lang: dockerfile
handler: ./captainsintent handler: ./CaptainsIntent
image: functions/captainsintent:latest image: functions/captainsintent:latest
changecolorintent: changecolorintent:
lang: dockerfile lang: dockerfile
handler: ./changecolorintent handler: ./ChangeColorIntent
image: functions/alexa-leds:latest image: functions/alexa-leds:latest
chelloworld: chelloworld:
lang: dockerfile lang: dockerfile
handler: ./chelloworld handler: ./CHelloWorld/src
image: functions/helloc:latest image: functions/helloc:latest
dockerhubstats: dockerhubstats:
lang: dockerfile lang: dockerfile
handler: ./dockerhubstats handler: ./DockerHubStats
image: functions/hubstats:latest image: functions/hubstats:latest
echo: echo:
lang: dockerfile lang: dockerfile
@ -35,29 +34,33 @@ functions:
lang: dockerfile lang: dockerfile
handler: ./gif-maker handler: ./gif-maker
image: functions/gif-maker:latest image: functions/gif-maker:latest
environment:
write_timeout: 60s
read_timeout: 60s
haveibeenpwned: haveibeenpwned:
lang: go lang: go
handler: ./haveibeenpwned handler: ./haveibeenpwned
image: functions/haveibeenpwned:0.1 image: functions/haveibeenpwned:0.1
hostnameintent: hostnameintent:
lang: dockerfile lang: dockerfile
handler: ./hostnameintent handler: ./HostnameIntent
image: functions/hostname-intent:latest image: functions/hostname-intent:latest
markdownrender: markdownrender:
lang: dockerfile lang: dockerfile
handler: ./markdownrender handler: ./MarkdownRender
image: functions/markdown-render:latest image: functions/markdown-render:latest
nmap: nmap:
lang: dockerfile lang: dockerfile
handler: ./nmap handler: ./Nmap
image: functions/nmap:0.1 image: functions/nmap:0.1
nodeinfo: nodeinfo:
lang: dockerfile lang: dockerfile
handler: ./nodeinfo handler: ./NodeInfo
image: functions/nodeinfo:latest image: functions/nodeinfo:latest
phantomjs: phantomjs:
lang: dockerfile lang: dockerfile
handler: ./phantomjs handler: ./Phantomjs
image: functions/phantomjs:latest image: functions/phantomjs:latest
pwgen: pwgen:
lang: dockerfile lang: dockerfile
@ -65,17 +68,18 @@ functions:
image: functions/pwgen-sample:latest image: functions/pwgen-sample:latest
resizeimagemagick: resizeimagemagick:
lang: dockerfile lang: dockerfile
handler: ./resizeimagemagick handler: ./ResizeImageMagick
image: functions/resizer:latest image: functions/resizer:latest
sentimentanalysis: sentimentanalysis:
lang: dockerfile lang: dockerfile
handler: ./sentimentanalysis handler: ./SentimentAnalysis
image: functions/sentimentanalysis:latest image: functions/sentimentanalysis:latest
webhookstash: webhookstash:
lang: dockerfile lang: dockerfile
handler: ./webhookstash handler: ./WebhookStash
image: functions/webhookstash:latest image: functions/webhookstash:latest
wordcountfunction: wordcountfunction:
lang: dockerfile lang: dockerfile
handler: ./wordcountfunction handler: ./WordCountFunction
image: functions/wordcount:latest image: functions/wordcount:latest