Skip to content

Commit a3ca814

Browse files
authored
Merge pull request #207 from devsapp/gwh/dipper
fix:build.yaml不兼容
2 parents 1b6bcdb + 23fa3dd commit a3ca814

File tree

36 files changed

+165
-31
lines changed

36 files changed

+165
-31
lines changed

web-framework/go/beego/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-beego-cap
4-
Version: 0.0.4
4+
Version: 0.0.5
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Beego —— 一款高效的Go语言Web框架,无缝部署至云原生应用开发平台,实现快速构建云原生应用的实践。Beego以其对Go特性的深度整合、简洁的MVC设计模式以及高性能著称,广泛应用于各类Web开发场景中。

web-framework/go/beego/src/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
start_beego:
2+
default:
3+
languages:
4+
- go1.8
5+
steps:
6+
- run: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main main.go
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- go1.8

web-framework/go/gin/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-gin-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 Gin,Go 语言社区中倍受追捧的轻量级 Web 框架,迅速构建并部署至云原生应用开发平台(CAP)。Gin 凭借其高效的处理能力、极简设计及高度灵活性,赢得了众多 Go 开发者的芳心,成为快速开发高质量 Web 应用和服务的首选武器。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/go/gin
99
Organization: 阿里云函数计算(FC)

web-framework/go/gin/src/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
start_gin:
2+
default:
3+
languages:
4+
- go1.8
5+
steps:
6+
- run: GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o target/main
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- go1.8

web-framework/java/springboot-database/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-springboot-database
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例是Springboot-Database模板,帮助用户拉起Springboot Web的函数服务和MySQL数据库服务,快速搭建一个基于RDS和Springboot的Java Web脚手架应用,并基于此进行二次开发。
88
HomePage: https://github.com/devsapp/start-web-framework
99
Organization: 阿里云函数计算(FC)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
start_springboot:
2+
default:
3+
languages:
4+
- java8
5+
steps:
6+
- run: mvn package -DskipTests
7+
path: ./code
8+
defaultBuilder:
9+
languages:
10+
- java8
11+
steps:
12+
- run: mvn package -DskipTests
13+
path: ./code

web-framework/nodejs/egg/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-egg-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 Egg.js,一款被开发者广泛使用的企业级 Node.js 框架,快速创建并部署到云原生应用开发平台 CAP。Egg.js其约定优于配置的设计哲学、高度扩展性和完善的文档。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/nodejs/egg
99
Organization: 阿里云函数计算(FC)
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
start_egg:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- nodejs20
511
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install --production
12+
- run: npm install --production
713
path: ./code

web-framework/nodejs/excalidraw/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: website-excalidraw-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 Excalidraw,一款功能强大、易于使用的绘图工具,快速创建并部署到云原生应用开发平台 CAP。Excalidraw 其简单直观的在线界面、手绘风格的图表和草图创作功能,广泛应用于在线会议、教育、软件设计等多种场景。
88
Organization: 阿里云函数计算(FC)
99
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/nodejs/excalidraw

web-framework/nodejs/excalidraw/src/build.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
website_excalidraw:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
# todo 之后改成不使用这个插件的形式
7+
- plugin: website-plugin-v3
8+
args:
9+
port: 80
10+
dist: /code/examples/excalidraw/with-script-in-browser/dist
211
defaultBuilder:
312
languages:
413
- nodejs20

web-framework/nodejs/express/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-express-cap
4-
Version: 0.0.3
4+
Version: 0.0.4
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Express,一款基于 Node.js 平台的极简且灵活的 Web 应用开发框架,快速创建并部署到云原生应用开发平台 CAP。Express 框架其强大的特性、路由管理、中间件支持和模板引擎,广泛应用于 Web 和移动应用开发。

web-framework/nodejs/express/src/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
start_express:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- nodejs20

web-framework/nodejs/fastify/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-fastify-cap
4-
Version: 0.0.3
4+
Version: 0.0.4
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Fastify,一款基于 Node.js 平台的极简且灵活的 Web 应用开发框架,快速创建并部署到云原生应用开发平台 CAP。Fastify其高效的性能、最少的开销和强大的插件结构,是速度最快的 Web 框架之一。
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
start_fastify:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- nodejs20
511
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install --production
12+
- run: npm install --production
713
path: ./code

web-framework/nodejs/hapi/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-hapi-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 hapi.js,一款功能齐全的 Node.js 框架,快速创建并部署到云原生应用开发平台 CAP。hapi.js其内置的输入验证、缓存、身份验证、错误处理和强大的插件系统,广泛应用于构建可扩展和健壮的服务器端应用程序和服务。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/nodejs/hapi
99
Organization: 阿里云函数计算(FC)
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
start_hapi:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- nodejs20
511
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install --production
12+
- run: npm install --production
713
path: ./code

web-framework/nodejs/koa/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-koa-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 Koa.js,一款现代化的 Node.js Web 框架,快速创建并部署到云原生应用开发平台 CAP。Koa.js 通过利用 async 函数,提供了一种更有效的方式来处理和响应 HTTP 请求,其精简的中间件层和流式执行模式使得代码编写更加高效和可维护。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/nodejs/koa
99
Organization: 阿里云函数计算(FC)
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
start_koa:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- nodejs20
511
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install --production
12+
- run: npm install --production
713
path: ./code

web-framework/nodejs/nest/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-nest-cap
4-
Version: 0.0.3
4+
Version: 0.0.4
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Nest.js,一款灵活的 Node.js 框架,快速创建并部署到云原生应用开发平台 CAP。Nest.js 使用 TypeScript 作为主要语言,提供了严格的类型检查,采用模块化和面向切面编程的概念,使得代码组织结构清晰且易于测试。
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
start_nest:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install
7+
path: ./code
8+
- run: npm run build
9+
path: ./code
210
defaultBuilder:
311
languages:
412
- nodejs20
513
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install
14+
- run: npm install
715
path: ./code
8-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm run build
16+
- run: npm run build
917
path: ./code

web-framework/nodejs/next/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-next-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示如何将 Next.js,一款功能强大的 React 框架,快速创建并部署到云原生应用开发平台 CAP。Next.js 专为开发高性能页面和应用而设计,提供流畅的浏览体验和高度优化的解决方案。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/nodejs/next
99
Organization: 阿里云函数计算(FC)

web-framework/nodejs/next/src/build.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
start_next:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install
7+
path: ./code
8+
- run: npm run build
9+
path: ./code
10+
- run: cp -r public .next/standalone/public
11+
path: ./code
12+
- run: cp -r static standalone/.next/static
13+
path: ./code/.next
214
defaultBuilder:
315
languages:
416
- nodejs20
517
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install
18+
- run: npm install
719
path: ./code
8-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm run build
20+
- run: npm run build
921
path: ./code
1022
- run: cp -r public .next/standalone/public
1123
path: ./code

web-framework/nodejs/nuxt/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Edition: 3.0.0
22
Type: Project
33
Name: start-nuxt-cap
4-
Version: 0.0.3
4+
Version: 0.0.4
55
Provider:
66
- 阿里云
77
Description: 本案例展示了如何将 Nuxt.js,一款在前端开发者社区中非常流行的 Vue.js 框架,快速创建并部署到云原生应用开发平台 CAP。Nuxt.js 通过提供自动化的流程和强大的默认设置,使得构建快速和优化的 Web 应用程序变得简单。
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
start_nuxt:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
8+
- run: npm run build
9+
path: ./code
210
defaultBuilder:
311
languages:
412
- nodejs20
513
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install --production
14+
- run: npm install --production
715
path: ./code
8-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm run build
16+
- run: npm run build
917
path: ./code

web-framework/nodejs/thinkjs/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-thinkjs-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 ThinkJS,一款高效的 Node.js 框架,快速创建并部署到阿里云函数计算 FC。ThinkJS 采用了全新的 ES6/7 语法,提供了更优雅的异步代码编写方式,显著提高了开发效率。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/nodejs/thinkjs
99
Organization: 阿里云函数计算(FC)
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
start_thinkjs:
2+
default:
3+
languages:
4+
- nodejs20
5+
steps:
6+
- run: npm install --production
7+
path: ./code
28
defaultBuilder:
39
languages:
410
- nodejs20
511
steps:
6-
- run: PATH=/usr/local/versions/node/v20.8.1/bin:$PATH && npm install --production
12+
- run: npm install --production
713
path: ./code

web-framework/python/django/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-django-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 Django,一款非常受欢迎的 Web 框架,快速创建并部署到云原生应用开发平台 CAP。Django 以其强大的功能、易用性、完善的生态系统和长期的社区支持,广泛应用于 Web 应用开发、API 以及后台管理系统等多种场景。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/python/django
99
Organization: 阿里云函数计算(FC)

web-framework/python/django/src/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
start_django:
2+
default:
3+
languages:
4+
- python3.10
5+
steps:
6+
- run: mkdir -p python
7+
path: ./code
8+
- run: pip install -r requirements.txt -t ./python
9+
path: ./code
210
defaultBuilder:
311
languages:
412
- python3.10

web-framework/python/fastapi/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-fastapi-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 FastAPI,一款快速且高效的 Web 框架,快速创建并部署到云原生应用开发平台 CAP。FastAPI 以其出色性能、自动文档生成、数据验证和转换、类型注解支持等特点。
88
Organization: 阿里云函数计算(FC)
99
Effective: Public

web-framework/python/fastapi/src/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
start_fastapi:
2+
default:
3+
languages:
4+
- python3.10
5+
steps:
6+
- run: mkdir -p python
7+
path: ./code
8+
- run: pip install -r requirements.txt -t ./python
9+
path: ./code
210
defaultBuilder:
311
languages:
412
- python3.10

web-framework/python/flask/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Type: Project
33
Name: start-flask-cap
44
Provider:
55
- 阿里云
6-
Version: 0.0.3
6+
Version: 0.0.4
77
Description: 本案例展示了如何将 Flask,一款非常受欢迎的 Web 框架,快捷创建并部署到云原生应用开发平台 CAP。Flask 以其轻量级、简洁性和易用性著称,特别适用于小型、简单的 Web 应用或 API 开发。
88
HomePage: https://github.com/devsapp/start-web-framework/tree/dipper/web-framework/python/flask
99
Organization: 阿里云函数计算(FC)

web-framework/python/flask/src/build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
start_flask:
2+
default:
3+
languages:
4+
- python3.10
5+
steps:
6+
- run: mkdir -p python
7+
path: ./code
8+
- run: pip install -r requirements.txt -t ./python
9+
path: ./code
210
defaultBuilder:
311
languages:
412
- python3.10

0 commit comments

Comments
 (0)