Skip to content

Commit b2fdd89

Browse files
committed
update
1 parent 118d1fe commit b2fdd89

File tree

102 files changed

+55
-720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+55
-720
lines changed

async-task/python3/hook/index.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@ async function preInit(inputObj) {
77
88
Tips:
99
- FC Component: https://www.serverless-devs.com/fc/readme`)
10-
11-
try {
12-
var process = require('child_process')
13-
const version = (await process.execSync('s -v')).toString()
14-
const versionNumber = version.match(/s: 2\.0\.(.*?),/)[1]
15-
if (Number(versionNumber) < 103) {
16-
console.log('\x1B[31m%s\x1B[0m', ' * The application requires that the version of Serverless Devs is at least 2.0.103')
17-
console.log('\x1B[31m%s\x1B[0m', ' * Plaese upgraded through [npm install -g @serverless-devs/s]\n\n')
18-
}
19-
} catch (e) {
20-
console.log(e)
21-
console.log(` - Serverless Devs Version >= v2.0.103
22-
`)
23-
}
2410
}
2511

2612
async function postInit(inputObj) {

async-task/python3/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Type: Application
22
Name: start-async-task-python3
3-
Version: 0.1.12
3+
Version: 0.1.13
44
Provider:
55
- 阿里云
66
Description: 快速部署一个 Python 3.6 的 async task 函数到阿里云函数计算。

custom-container-function/fc-custom-container-event-cpp/hook/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ async function preInit(inputObj) {
99
Tips:
1010
- FC Component: https://www.serverless-devs.com/fc/readme`)
1111

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

2714
async function postInit(inputObj) {

custom-container-function/fc-custom-container-event-cpp/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Application
22
Name: start-fc-custom-container-event-cpp
33
Provider:
44
- 阿里云
5-
Version: 1.3.19
5+
Version: 1.3.20
66
Description: 快速部署一个基于 Custom Container Runtime 的 C++ Event 类型的 Hello World 到阿里云函数计算
77
HomePage: https://github.com/devsapp/start-fc
88
Tags:

custom-container-function/fc-custom-container-event-nodejs14/hook/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ async function preInit(inputObj) {
99
Tips:
1010
- FC Component: https://www.serverless-devs.com/fc/readme`)
1111

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

2714
async function postInit(inputObj) {

custom-container-function/fc-custom-container-event-nodejs14/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Application
22
Name: start-fc-custom-container-event-nodejs14
33
Provider:
44
- 阿里云
5-
Version: 1.2.11
5+
Version: 1.2.12
66
Description: 快速部署一个基于custom container runtime 的 nodejs14 Event 类型的 Hello World 到阿里云函数计算
77
HomePage: https://github.com/devsapp/start-fc
88
Tags:

custom-container-function/fc-custom-container-event-python3.9/hook/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ async function preInit(inputObj) {
99
Tips:
1010
- FC Component: https://www.serverless-devs.com/fc/readme`)
1111

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

2714
async function postInit(inputObj) {

custom-container-function/fc-custom-container-event-python3.9/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Application
22
Name: start-fc-custom-container-event-python3.9
33
Provider:
44
- 阿里云
5-
Version: 1.2.11
5+
Version: 1.2.12
66
Description: 快速部署一个基于custom container runtime 的 python3.9 Event 类型的 Hello World 到阿里云函数计算
77
HomePage: https://github.com/devsapp/start-fc
88
Tags:

custom-container-function/fc-custom-container-http-aspdotnetcore/hook/index.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ async function preInit(inputObj) {
99
Tips:
1010
- FC Component: https://www.serverless-devs.com/fc/readme`)
1111

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

2714
async function postInit(inputObj) {

custom-container-function/fc-custom-container-http-aspdotnetcore/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Type: Application
22
Name: start-fc-custom-container-http-aspdotnetcore
33
Provider:
44
- 阿里云
5-
Version: 1.2.11
5+
Version: 1.2.12
66
Description: 快速部署一个基于custom container runtime 的 asp .netcore HTTP 类型的 Hello World 到阿里云函数计算
77
HomePage: https://github.com/devsapp/start-fc
88
Tags:

0 commit comments

Comments
 (0)