Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
anycodes committed May 7, 2022
1 parent 118d1fe commit b2fdd89
Show file tree
Hide file tree
Showing 102 changed files with 55 additions and 720 deletions.
14 changes: 0 additions & 14 deletions async-task/python3/hook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
2 changes: 1 addition & 1 deletion async-task/python3/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Type: Application
Name: start-async-task-python3
Version: 0.1.12
Version: 0.1.13
Provider:
- 阿里云
Description: 快速部署一个 Python 3.6 的 async task 函数到阿里云函数计算。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-event-cpp
Provider:
- 阿里云
Version: 1.3.19
Version: 1.3.20
Description: 快速部署一个基于 Custom Container Runtime 的 C++ Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-event-nodejs14
Provider:
- 阿里云
Version: 1.2.11
Version: 1.2.12
Description: 快速部署一个基于custom container runtime 的 nodejs14 Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-event-python3.9
Provider:
- 阿里云
Version: 1.2.11
Version: 1.2.12
Description: 快速部署一个基于custom container runtime 的 python3.9 Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-http-aspdotnetcore
Provider:
- 阿里云
Version: 1.2.11
Version: 1.2.12
Description: 快速部署一个基于custom container runtime 的 asp .netcore HTTP 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-http-cpp
Provider:
- 阿里云
Version: 1.2.11
Version: 1.2.12
Description: 快速部署一个基于custom container runtime 的 C++ HTTP 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-http-springboot
Provider:
- 阿里云
Version: 1.2.11
Version: 1.2.12
Description: 快速部署一个基于custom container runtime 的 springboot HTTP 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-websocket-golang
Provider:
- 阿里云
Version: 0.1.11
Version: 0.1.12
Description: 快速部署一个基于custom container runtime 的 Golang Wensocket 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-websocket-nodejs14
Provider:
- 阿里云
Version: 0.1.11
Version: 0.1.12
Description: 快速部署一个基于custom container runtime 的 nodejs14 WebSocket 类型的 Echo 函数到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: start-fc-custom-container-websocket-python3.9
Provider:
- 阿里云
Version: 0.1.11
Version: 0.1.12
Description: 快速部署一个基于custom container runtime 的 python3.9 Wensocket 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
13 changes: 0 additions & 13 deletions custom-function/cpp/fc-custom-cpp-event/hook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
2 changes: 1 addition & 1 deletion custom-function/cpp/fc-custom-cpp-event/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-cpp-event
Provider:
- 阿里云
Version: 1.2.11
Version: 1.2.12
Description: 快速部署一个基于custom runtime的 C++ Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
13 changes: 0 additions & 13 deletions custom-function/cpp/fc-custom-cpp-http/hook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
2 changes: 1 addition & 1 deletion custom-function/cpp/fc-custom-cpp-http/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-cpp-http
Provider:
- 阿里云
Version: 1.1.20
Version: 1.1.21
Description: 快速部署一个基于custom runtime 的 C++ HTTP 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
13 changes: 0 additions & 13 deletions custom-function/dart/fc-custom-dart-event/hook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
2 changes: 1 addition & 1 deletion custom-function/dart/fc-custom-dart-event/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Application
Name: fc-custom-dart-event
Provider:
- 阿里云
Version: 1.1.20
Version: 1.1.21
Description: 快速部署一个基于custom runtime 的 Dart Event 类型的 Hello World 到阿里云函数计算
HomePage: https://github.com/devsapp/start-fc
Tags:
Expand Down
13 changes: 0 additions & 13 deletions custom-function/f#/fc-custom-fsharp-http/hook/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@ async function preInit(inputObj) {
Tips:
- FC Component: https://www.serverless-devs.com/fc/readme`)

try {
var process = require('child_process')
const version = (await process.execSync('s -v')).toString()
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
if (Number(versionNumber) < 103) {
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
}
} catch (e) {
console.log(e)
console.log(` - Serverless Devs Version >= v2.0.103
`)
}
}

async function postInit(inputObj) {
Expand Down
Loading

0 comments on commit b2fdd89

Please sign in to comment.