Comments (1)
Serverless Devs CI/CD解决方案
🍀 Serverless Devs CI/CD 主要是Serverless devs针对CI/CD场景的解决方案建设。这部分可能没有想象中的复杂,但是也不会非常简单。
目前的主要思路:
通过工具侧,为函数计算的CI/CD能力做一些铺垫,目前的想法,或者说整体思路是包括两个部分的
- 模板部分
- 行为部分
模板部分
模板部分是说,我们要针对主流的CI/CD平台,提供相对应的模板。例如Github Action,Gitee Go等。期待的使用方法是,用户在当前项目下:
s cli cicd -p/--platform github
即可在当前项目下创建一个.github/serverless-devs.yaml的模板文档,同时创建之后,给用户在控制台返回对应的最佳实践案例:
Github Action Template created successfully.
You can refer to the following documents for more operations:
- 如何通过Serverless Devs做CI: https://www.serverless-devs.com/blog/cicd/*****
- 如何通过Serverless Devs做CD: https://www.serverless-devs.com/blog/cicd/*****
- ***********相关文章和链接地址
其他平台操作行为等类似。这种模板行为其实更多来说是辅助用户做一些CI/CD的操作。
核心组成:
- 模板
- 案例
行为部分
这一部分是比较复杂的高阶操作。目前的想法是不是可以让用户直接在函数计算上做一些cicd的行为,例如:
s cli cicd -p/--platform fc
此时系统会帮助用户创建两个函数资源,一个是CI函数,一个是CD函数(有待讨论),并且返回一个触发地址(http触发器地址,可以配置到webhooks中),并且返回使用方法,例如:
Github Action Template created successfully.
Webhook Url: http://devsapp.net/**********
You can refer to the following documents for more operations:
- 如何通过Serverless Devs做CI: https://www.serverless-devs.com/blog/cicd/*****
- 如何通过Serverless Devs做CD: https://www.serverless-devs.com/blog/cicd/*****
- ***********相关文章和链接地址
用户的使用方法很简单,只需要在当前项目下,增加一个CI/CD的模版即可(例如我们指定是.s/ci.yaml, .s/cd.yaml)
from serverless-devs.
Related Issues (20)
- 不同云厂商帮助渠道 / 需要帮助的小伙伴点击了解详情 HOT 1
- Mac & Windows 用户安装常见问题汇总
- yaml schema 不支持自定义变量 HOT 1
- 发布自定义容器时,docker login --password-stdin 疑似在 windows command propmt 中失效 HOT 6
- A potential risk in the start-word2pdf can be used to attack the OSS bucktes. HOT 2
- A potential risk in the fc-llm-api can be used to escalate permission. HOT 2
- A potential risk in the fc-stable-diffuson can be used to escalate permission. HOT 5
- SyntaxError: missing ) after argument list HOT 1
- Support random string generation during template initialization HOT 1
- s init 阶段,在模板中的变量多处依赖 ${default-suffix},但是生成后每个 default-suffix 的值都不同 HOT 4
- 组件开发,执行npm run pub报“Error Message: 权限异常” HOT 4
- s xx --help提供的文档网站域名已过期 HOT 2
- Not found access: undefined
- s init failed with message: Request failed with status code 400 HOT 1
- 阿里云函数 Node.js内置模块未找到 Cannot find module 'raw-body' HOT 4
- fail to create vpc binding without any warning HOT 1
- 是否可在 CI/CD 流程中接入 s registry publish 发布 HOT 1
- MacOS 运行s如果不用sudo则一直卡着,没输出 HOT 2
- 'export' is not recognized as an internal or external command, operable program or batch file. HOT 1
- 建议为s local start 增加透传给docker的启动参数. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-devs.