Giter Club home page Giter Club logo

ui's Introduction

serverless-cd 帮助文档

快速部署一个基于 Serverless 架构上的轻量级、易拓展、前端友好的 CI/CD 框架

前期准备

需要开通的产品:

推荐您拥有以下的产品权限 / 策略:

服务/业务 权限/策略
函数计算 FC AliyunFCFullAccess
日志服务 SLS AliyunLogFullAccess
对象存储 OSS AliyunOTSFullAccess
表格存储 Tablestore AliyunOSSFullAccess

代码 & 预览

部署 & 体验

应用详情

Serverless-cd 是一款基于 Serverless Devs 开发者工具打造,运行在 Serverless 架构上的轻量级、易拓展、前端友好的 CI/CD 框架。通过 Serverless-cd,开发者可以快速打造高性能、低成本的 Serverless CI/CD 能力,并对建设私有化的 Serverless 应用管理平台提供帮助。

部署完成后会生成一个对应的测试域名,格式为auto.serverless-cd.${uid}.{region}.fc.devsapp.net

快速体验

访问控制台:

auto.serverless-cd.${uid}.{region}.fc.devsapp.net

创建应用:

  • 添加授权
    image.png

image.png

  • 获取 Token
    在对应GitHub setting页面,添加个人 Token,并填入

s_token.gif

s_demo.gif

  • 创建应用

image.png

  1. 查看应用详情

可以看到刚创建的应用已经触发部署
image.png
并且可以看到详细的部署日志信息
image.png

webhook 触发部署

修改代码并且提交,查看自动化执行部署构建流程
s_redeploy.gif

开发者社区

您如果有关于错误的反馈或者未来的期待,您可以在 Serverless Devs repo Issues 中进行反馈和交流。如果您想要加入我们的讨论组或者了解 FC 组件的最新动态,您可以通过以下渠道进行:

微信公众号:serverless 微信小助手:xiaojiangwh 钉钉交流群:33947367

ui's People

Contributors

abuexclusive avatar g-fengchen avatar heimanba avatar kwtboom avatar lhxcccccccccc avatar loganhz avatar mahuipengf avatar mozhou52 avatar ohyee avatar rsonghuster avatar skywingozora avatar wss-git avatar xsahxl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ui's Issues

【auth-ui】Auth组件

UI页面

  1. serverless-cd现状
    image

  2. 设计图
    image

  3. 参考1
    https://tailwindui.com/components/application-ui/forms/sign-in-forms

  4. 参考2
    https://identity.netlify.com/

接口设计(初稿)

<Auth title={} 
	value={
       // 传统登录
		credentialProvider={
				credentials: {
					username: {label: "username", type: "username"},
					email: {label: "Email", type: "email"},
	                password: {label: "Password", type: "password"}
				},
				//  登录
				async signIn(credentials, req) {
	                return result;
	            },
				// 注册
				async signUp(credentials, req) {
	                //  校验
	                return result;
	            },
		},
		githubProvider: {
			url: 'https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo'
		},
		giteeProvider: {
			url: 'https://github.com/login/oauth/authorize?client_id=86059a1b2bb20d3e5fc3&scope=repo,repo:status,delete_repo'
		}
	}
	onChange=() => {}
>
</Auth>

技术推荐

  1. console-conponent
  2. react

【creating-ui】 创建中UI

UI交互

image

接口设计

const dataSource = [{
	title:'同步仓库',
	child: [{
		title: '远程仓库创建成功',
		syncTask: () => {},
	},{
		title: '正在同步远程仓库,请稍后,
		syncTask: () => {},
	}]
},{
	title:'创建',
	child: [{
		title: '创建应用',
		syncTask: () => {},
	},{
		title: '创建流水线,
		syncTask: () => {},
	}]
},{
	title:'创建完成,3s跳转到指定页面',
}];

<CreateApp dataSource={dataSource} onComplete={} onSuccess={} onError={} >
</CreateApp>

【app-architecture-ui】应用架构

image

case1:

<AppArchitecture label="环境部署">
	<AppArchitecture.Item label="域名" icon="xxx"></AppArchitecture.Item>
	<AppArchitecture.Sub label="网络" icon="xxx">
		<AppArchitecture.Item label="SLB" icon="xxx"> 	
		</AppArchitecture.Item>	
	</AppArchitecture.Sub>
</AppArchitecture>

case2:
json => form

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.