Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #47 from andresmgot/runtimes
Browse files Browse the repository at this point in the history
Add nodejs8 and python3.4 runtimes
  • Loading branch information
sebgoa committed Nov 25, 2017
2 parents 63581b7 + 3858e68 commit c78dbdf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/utils/runtimes.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def <<HANDLER>>():
const rubyFunction = `
class Kubelessfunction
def self.run(request)
puts "Hello Wordl"
puts "Hello World"
end
end
`
Expand All @@ -26,6 +26,12 @@ export default [
language: 'javascript',
depsFilename: 'package.json',
defaultFunction: nodeFunction
}, {
value: 'nodejs8',
label: 'NodeJS (8)',
language: 'javascript',
depsFilename: 'package.json',
defaultFunction: nodeFunction
},
{ value: 'ruby2.4',
label: 'Ruby (2.4)',
Expand All @@ -38,5 +44,11 @@ export default [
language: 'python',
depsFilename: 'requirements.txt',
defaultFunction: pythonFunction
},
{ value: 'python3.4',
label: 'Python (3.4)',
language: 'python',
depsFilename: 'requirements.txt',
defaultFunction: pythonFunction
}
]

0 comments on commit c78dbdf

Please sign in to comment.